Re: Tapestry5 body problem

2008-09-08 Thread Otho
Try

http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

  Welcome to the Nifty Web Application!

  
   Would you like to Log In?
  



Furthermore Layout.tml should be in components and not in pages package.

2008/9/7 <[EMAIL PROTECTED]>

> Hi there!
>
> I was following this example to get used to the new Tapestry5 way to do
> stuff:
>
> http://tapestry.apache.org/tapestry5/guide/layout.html
>
>
> The Layout.tml looks like that:
>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>
>My Nifty Web Application
>
>
>
>Nifty Web Application
>
>
>
>
>
>(C) 2008 NiftyWebCo, Inc.
>
>
> 
>
> The Index.tml like that:
>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> 
>   Welcome to the Nifty Web Application!
>
>   
>Would you like to Log In?
>   
> 
>
> 
>
> Two things are a big strange:
>
> 1. The output leaves out the html from the Layout.tml - it only shows the
> Index.tml content
> 2. If the outer DIV in the Index.tml is missing, only the last  is
> shown - without any warning or error message.
>
> Any ideas?
>
> Thanks!
>
> Toby
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Tapestry5 body problem

2008-09-07 Thread superoverdrive
Hi there!

I was following this example to get used to the new Tapestry5 way to do stuff:

http://tapestry.apache.org/tapestry5/guide/layout.html


The Layout.tml looks like that:

http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

My Nifty Web Application



Nifty Web Application





(C) 2008 NiftyWebCo, Inc.




The Index.tml like that:

http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

   Welcome to the Nifty Web Application!

   
Would you like to Log In?
   




Two things are a big strange:

1. The output leaves out the html from the Layout.tml - it only shows the 
Index.tml content
2. If the outer DIV in the Index.tml is missing, only the last  is shown 
- without any warning or error message.

Any ideas?

Thanks!

Toby

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]