You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Julian Wood <wo...@ucalgary.ca> on 2008/04/02 00:11:00 UTC

Re: [FAQ] common design

No, it doesn't work with pages.

Please see https://issues.apache.org/jira/browse/TAPESTRY-2309

J

On Mar 14, 2008, at 1:38 PM, Jesper Zedlitz wrote:

> Christian Koeberl wrote:
>> The replacement of $content$ is the t:container construct (see
>> https://issues.apache.org/jira/browse/TAPESTRY-1469).
>>
> This does not work with pages, does it?
>
> I hoped that
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
> <head><title>tapestry5-quickstart Start Page</title></head>
> <body>
>    <h1>tapestry5-quickstart Start Page</h1>
>    <t:container>
>      <p>This is the start page for this application, a good place to  
> start
> your modifications. Just to prove this is live:</p>
>      <p>The current time is: ${currentTime}.</p>
>    </t:container>
>    <p>[
>    <t:pagelink t:page="Start">refresh</t:pagelink>]</p>
>  </body>
> </html>
>
> would be become
>
> <p>This is the start page for this application, a good place to  
> start your
> modifications. Just to prove this is live:</p>
> <p>The current time is: ${currentTime}.</p>
>
> but the output contains the complete html-element (without  
> <t:container> and
> </t:container>)
>
> Jesper
>
> -- 
> Jesper Zedlitz                   Dept. for Computer Science, CAU of  
> Kiel
> Room 1108                        Communication Systems Research Group
>                                 Phone:    +49-(0)431-880-7279
> Christian-Albrechts-Platz 4      Fax:      +49-(0)431-880-7615
> 24098 Kiel - Germany             jze@informatik.uni-kiel.de
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


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