Howdy:

I'm trying to use a WicketMessageTagHandler to alter an attribute on a
non-Wicket-id html A tag, but with Wicket Image components nested inside it. 
Wicket throws the standard "referenced in markup, but not in code" hierarchy
exception.  Is there a way around this?

My markup:
<a href="javascript:toggle()"
wicket:message="title:toggle.edit.mode.text">
   <img wicket:id="toggleEditOnGif" style="display:none;" />
   <img wicket:id="toggleEditOffGif" />
</a>

I guess I could just make the link a Wicket ajax link and return the
Javascript I want to be run, but it's kind of an unnecessary trip to the
server...  thanks for any suggestions.

NBB
-- 
View this message in context: 
http://www.nabble.com/WicketMessageTagHandler-on-non-Wicket-component-tf4963355.html#a14216825
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to