On Mon, 18 Jan 2010 19:36:25 -0200, asm_saf <ms...@eveo.com> wrote:

Hi

Hi!

I have an actionlink with in a loop as given below, and the action link
refreshes the same page with some additonal data in it, everything works
fine, Now i wanted to differenciate the link that was clicked (by changing the color or so) how do i do that with in the loop, to check which link was selected in last action and now display that link with different color.

Store the link id in the activation context. More details at http://tapestry.apache.org/tapestry5.1/guide/pagenav.html, section Page activation.

Note: Values for the loop is loaded dynamically from database, so i cannot
have one property to check for If condition like <t:if t:test="">.

Why not?

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to