Create a Zone:
<t:zone t:id="myZone"/>

Create a block to update the Zone with:
<t:block id="myBlock">
    ...
</t:block>

Tell your link to update your Zone:
<t:actionlink t:id="someLink" zone="myZone">Update Zone</t:actionlink>

Inject the block and return it in the action method.

public class Start{
    ...
    @Inject
    private Block myBlock;

    Object onActionFromSomeLink(){
        .....
        return myBlock;
    }
}

That's all.

On Fri, Feb 15, 2008 at 3:57 AM, Angelo Chen <[EMAIL PROTECTED]>
wrote:

>
> Hi,
>
> Is there a simple zone sample? thanks.
>
> A.C.
> --
> View this message in context:
> http://www.nabble.com/T5%3A-zone-example-tp15494028p15494028.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Best regards,

Igor Drobiazko

Reply via email to