> You can use prop prefix to get your zone id.


<t:loop ... value="entity">
<t:actionlink t:id="refreshData"  context="some parameter"
zone="prop:zoneId">refresh data</t:actionlink>
<t:zone id="prop:zoneId">
</zone>
</t:loop>

In page class:
public String getZoneId(){
   return "zone_"+entity.getId();
}

-- 
regards,
Jun Tsai

Thank you for quick reply. I'm not sure if I understand properly your code.
I have used prop prefix as you have mentioned. And I generated zone ID
similar to your way.
But I need to obtain Zone according its ID so I can return Zone in handler
of "refresh" action link.

Libor

-- 
View this message in context: 
http://old.nabble.com/get-component-according-to-ID-tp27144243p27144886.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