You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Dawn <pe...@gmail.com> on 2006/11/10 06:01:04 UTC

Combination of @ExternalLink and Img toggle

guys,

i have a page which contains an image and for the image i have a
@ExternalLink, something like this,
<span jwcid="@ExternalLink"
parameters="ognl:java.lang.string('image1')><img src="etc
etc"></span>. all this is working fine.

now i also need to toggle this image onclick. so onclick i need to
change this image to another image. and this new image also needs a
corresponding @ExternalLink (but it needs a different parameter).

so my dilemma is how do i toggle the image and at the same time send a
different parameter based on the image the user is clicking on.

has anybody done something like this before. pls help.

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