Thanks everyone i tried the suggestion posted by Piero and it worked.

Thiago H. de Paula Figueiredo wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Differentiate-the-Actionlink-with-in-a-loop-tp27217181p27219593.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to