For ExternalLink objects I can specify the link's text directly, and I can't
embed a span to do the same. With Link and its subclasses, I can ONLY embed
span (or other) tags. Right? That's a pretty striking functional difference
between related classes.

I see this has come up on the list once before (subject: HyperLink Text) but
wasn't resolved. It's pretty important to people learning Wicket to be able
to specify a link's text in the same way, whether it's "internal" or
external. And in unusual cases where you have a link in markup whose text
varies and whose target page is sometimes in Wicket, sometimes not, you
have to resort to some fairly ridiculous coding. (This is in the parent
page template of a half-migrated app,  if you're trying to dream up the
scenario.)

Nathan



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to