I was talking of something like this.

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
    <head>
        <title>My Nifty Web Application</title>
    </head>
    <body>
        <div class="nav-top">
            Nifty Web Application
            <t:pagelink t:page="index">Index</t:pagelink>
            <t:pagelink t:page="about">About</t:pagelink>
        </div>

        <t:alerts/>
        <t:zone t:id="hello">
        <t:body/>
        </t:zone>

        <div class="nav-bottom">
            (C) 2008 NiftyWebCo, Inc.
        </div>
    </body>
</html>

one layout two pages Index and about.If pagelinks are used then the
<t:body> is not rendered through ajax called..Most probably i have to
use eventlinks but i dont know how through the callback i will load
the appropriate <t:body> of the page (Index or about)


<t:body> element should be loaded through ajax calls.
On Tue, Aug 7, 2012 at 4:44 AM, Thiago H de Paula Figueiredo
<thiag...@gmail.com> wrote:
> On Mon, 06 Aug 2012 19:36:17 -0300, Dimitris Zenios
> <dimitris.zen...@gmail.com> wrote:
>
>> Any example or a hint please?
>
>
> Layout.tml:
>
> <t:zone t:id="zone" ...>
>
> </t:zone>
>
>
>>
>> On Tue, Aug 7, 2012 at 12:13 AM, Thiago H de Paula Figueiredo
>> <thiag...@gmail.com> wrote:
>>>
>>> On Mon, 06 Aug 2012 16:03:44 -0300, Dimitris Zenios
>>> <dimitris.zen...@gmail.com> wrote:
>>>
>>>> Is there a way to have a layout component and all its body would be
>>>> rendered using zone?
>>>
>>>
>>>
>>> Yes, why not?
>>>
>>> --
>>> Thiago H. de Paula Figueiredo
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>
>
> --
> Thiago H. de Paula Figueiredo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>

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

Reply via email to