[Rt-devel] How to improve html/Elements/ShowLink ?

Todd Chapman todd at chaka.net
Mon Nov 28 17:25:10 EST 2005


ShowLink doesn't work so well if $URI->IsLocal and
$member has a Name method _and_ $URI->Resolver->AsString
already has the name in it.

In other words for Asset Tracker the links end up with
the following text:

 asset #1895 Virtual Control Unit 1: Virtual Control Unit 1

(The asset name is repeated)

Should I just distribute an overlay for ShowLink (yuk) or
can a callback take care of this somehow?

What if ShowLink looked for a LinkText method and used that
if available?

Suggestions?

-Todd


More information about the Rt-devel mailing list