I think your problem that How to update a zone content.
.tml

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

<t:block id="myBlock">
<t:loop>
</t:loop>

</t:block>

.java
@Inject
private Block myBlock;
Object  onActionFromRefreshData(some parameter){
 //do something
return myBlock;
}


Then T5 can use the myBlock content to update the zone with prop:zoneId;

Good luck.



2010/1/14 LiborGMC <l.pre...@gmc.net>

>
> Thanks for the reply.
>  Sorry but I still don't understand. I think my problem is not to obtain id
> of Zone but get Zone as an object according to this ID. A can obtain from
> actionLink only zoneID not the Zone as instance, right?
> I have handler for handle action when user click "Refresh table" link. This
> method must return zone.getBody() to refresh table. I have zoneID but I
> don't know how to obtain the instance of Zone. I'm using construct "zone =
> (Zone)
> componentSource.getComponent(resources.getPageName()+":table.zone");"
> so far. But this construct is using name of elemnts not IDs of elements.
> This prevent me to put more my Grid components on same page.
>
> I'm really greening in Tapestry. Maybe I'm still missing something.
>
> Libor
> --
> View this message in context:
> http://old.nabble.com/get-component-according-to-ID-tp27144243p27157158.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
>
>


-- 
regards,
Jun Tsai

Reply via email to