Hi All,

I have an t:actionlink in a t:loop that triggers a zone update. This
zone is a page overlay and is initially hidden, that is style =
visibility: hidden.

On user-click, the zone updates, and then I want it to be rendered
visible. Ideally I'd like just to change the style to visibility:
visible using my own .js function. However if I define an onclick method
tapestry clobbers this, rather than adding to it.

I realise I can achieve this functionality with a Mixin, but this seems
overkill for such a simple need. As I workaround I have a <script> at
the bottom of the zone - this is executed on update, and renders the
zone visible.

However, I don't know which link in my results loop triggered the zone
update, which would be very handy. (If I could add my own function to
onlick i could do myFunction(this)). Again I can work around, but was
wondering if anyone had a simple/elegant solution to adding user
functions to onclick?

Thanks Richard.





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to