Re: [T4] Shell and Border ok but ...

2007-07-22 Thread Chris Lewis
imagine that! Jesse Kuhnert wrote: The answer is in the second paragraph on the page linked. On 7/22/07, Chris Lewis <[EMAIL PROTECTED]> wrote: That looks promising - I wonder, will these style elements appear in the head, or remain where there are declared in the template? Andreas Andreou w

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread Jesse Kuhnert
The answer is in the second paragraph on the page linked. On 7/22/07, Chris Lewis <[EMAIL PROTECTED]> wrote: That looks promising - I wonder, will these style elements appear in the head, or remain where there are declared in the template? Andreas Andreou wrote: > http://tapestry.apache.org/ta

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread Chris Lewis
That looks promising - I wonder, will these style elements appear in the head, or remain where there are declared in the template? Andreas Andreou wrote: http://tapestry.apache.org/tapestry4.1/components/general/style.html On 7/23/07, Chris Lewis <[EMAIL PROTECTED]> wrote: Well I'm pretty su

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread Andreas Andreou
http://tapestry.apache.org/tapestry4.1/components/general/style.html On 7/23/07, Chris Lewis <[EMAIL PROTECTED]> wrote: Well I'm pretty sure there can only be on Shell component for a rendered page, so consider this. Each page object has a Map of page assets (IAsset), and what you want to do ha

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread Chris Lewis
Well I'm pretty sure there can only be on Shell component for a rendered page, so consider this. Each page object has a Map of page assets (IAsset), and what you want to do have your layout (border component with your Shell) include whatever it wants as well as whatever the calling page/compone

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread #Cyrille37#
Thanks a lot Chris, Now how can I add a Page.html specific stylesheet ? If the border define the use of a stylesheet with the @Shell like : Border.html: ... How the Page.html could add a specific stylesheet because it's won't be used, so how to ? Thanks cyrille. Chris Lewis a écrit : Re

Re: [T4] Shell and Border ok but ...

2007-07-20 Thread Chris Lewis
Remember that by default a component's body is the whole template, unless you use the special component it $content$, in which case everything /inside/ the element with this jwcid will be used and all else ignored. So for your border component use valid html instead of the invalid bit you curre

Re: [T4] Shell and Border ok but ...

2007-07-20 Thread #Cyrille37#
Joe Trewin a écrit : Try changing the to a ... (Tapestry doesn't care what it is, and spans have inline layout meaning that they can only contain other inline tags - div is a block element, so it can). Thanks a lot. I've just try with Eclipse3.3 and it complains : Invalid location of tag

RE: [T4] Shell and Border ok but ...

2007-07-20 Thread Joe Trewin
Try changing the to a ... (Tapestry doesn't care what it is, and spans have inline layout meaning that they can only contain other inline tags - div is a block element, so it can). > -Original Message- > From: #Cyrille37# [mailto:[EMAIL PROTECTED] > Sent: 20 July 2007 17:14 > To: Tapest