Hi,

I did have put some message in setuprender and onactivate.
i did show me the System.out.println("test1");
but, how come it didn't render the <div> ?
Thankk you.

On Tue, Jun 24, 2008 at 9:39 PM, Tan [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:

> hi marcelo,
>
> thanks for your reply.  yes. i did put
> src/main/resources/<your_app_pkg>/components
> src/main/resources/<your_app_pkg>/pages
> is there any possibility?
>
> Thank you.
>
> Regards,
> Cyber
>
>
>
>
>
> On Tue, Jun 24, 2008 at 8:40 PM, Marcelo Lotif <[EMAIL PROTECTED]>
> wrote:
>
>> Hi,
>> Did you put the Layout.tml on the right package? It should be under
>> src/main/resources/<your_app_pkg>/components. I recommend you to
>> create a directory called src/main/resources/<your_app_pkg>/pages and
>> put your pages inside it too.
>>
>> 2008/6/24 Tan [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>> > hi all,
>> >
>> > i 'm testing tutorial in
>> > http://tapestry.apache.org/tapestry5/tapestry-core/guide/layout.html
>> >
>> > in start.tml
>> >
>> _________________________________________________________________________
>> >
>> > <html t:type="layout" xmlns:t="
>> > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>> >
>> >   <h1>Welcome to the Nifty Web Application!</h1>
>> >
>> >   <p>
>> >        Would you like to <t:pagelink page="login">Log In</t:pagelink>?
>> >   </p>
>> > </html>
>> >
>> _________________________________________________________________________
>> >
>> > after rendered.
>> >
>> > it should be
>> > ________________________________________________________________________
>> > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>> >    <head>
>> >        <title>My Nifty Web Application</title>
>> >    </head>
>> >    <body>
>> >        <div class="nav-top">
>> >            Nifty Web Application
>> >        </div>
>> >   <h1>Welcome to the Nifty Web Application!</h1>
>> >
>> >   <p>
>> >        Would you like to <t:pagelink page="login">Log In</t:pagelink>?
>> >   </p>
>> >        <div class="nav-bottom">
>> >            (C) 2008 NiftyWebCo, Inc.
>> >        </div>
>> >    </body>
>> > </html>
>> > ________________________________________________________________________
>> >
>> > but, how come. after render. it become
>> > ________________________________________________________________________
>> > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>> >    <head>
>> >        <title>My Nifty Web Application</title>
>> >    </head>
>> >    <body>
>> >
>> >   <h1>Welcome to the Nifty Web Application!</h1>
>> >
>> >   <p>
>> >        Would you like to <t:pagelink page="login">Log In</t:pagelink>?
>> >   </p>
>> >
>> >    </body>
>> > </html>
>> > ________________________________________________________________________
>> >
>> >
>> > can some one help me?
>> > Thank you.
>> >
>> > Cyber
>> >
>>
>>
>>
>> --
>> Atenciosamente,
>>
>> Marcelo Lotif
>> Programador Java e Tapestry
>> FIEC - Federação das Indústrias do Estado do Ceará
>> (85) 3477-5910
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

Reply via email to