>   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..

You could do:

void onActionFromShowDetails(long id) {
     this.myidproperty = id;
}

public boolean isLinkSelected() {
 return currentApplication.id == myidproperty;
}

Inside the loop you can test:

<t:if test="linkSelected">
</t:if>


Hope this helps.

                Piero

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

Reply via email to