Thanks Piero, for the quick response yes i do have that method like
onActionFromShowDetails(long id){}
where i can set a property to boolean true /false. But my problem is as i
mentioned my application list is dynamic in that case if i have N
applications then i would need N such properties to validate against to know
which one is selected. Or how do i do this in a generic way like attaching
some selected applicationId to the property etc..
 

Piero Sartini-3 wrote:
> 
>> <t:loop source="applicationList" value="currentApplication"
>> encoder="applicationEncoder">
>>
>>        <li><t:actionlink t:id="showDetails"
>> conntext="currentApplication.id">${currentApplication.applicationName}</t:actionlink></li>
>>
>>        </t:loop>
>>
>> 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="">. Please
>> suggest.
> 
> In your page class you have a method onActionFromShowDetails(long id)
> {}, don't you?
> There you may check which link was clicked and set some properties
> that you can <t:test if=()>
> 
> But I am not sure if I completely understood your question.
> 
>             Piero
> 
> ---------------------------------------------------------------------
> 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-tp27217181p27218503.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