Re: T5: html templates & "fragments"

2007-04-21 Thread Josh Long
Ki, I think you're kind of missing it. It's sort of inverted relative to, say, Tiles. Frankly, Tapestry's more natural :-) You create your individual pages "UserHome.html", "Preferences.html", etc. You also create a "border" or "layout" component that can wrap it's body. In the way that a div t

Re: T5: No root element has been defined

2007-04-21 Thread DigitLiao
I test it. Your html template has no problem. But where did you put this template? When I delete test.html, It shows the same error as yours. The template should be put in the same package as Java file or in WEB-INF/ that match java package from tapestry app root package. On 4/21/07, Tim Sawyer

Re: T5: No root element has been defined

2007-04-21 Thread Howard Lewis Ship
There's an existing bug: https://issues.apache.org/jira/browse/TAPESTRY-1345 On 4/21/07, DigitLiao <[EMAIL PROTECTED]> wrote: I test it. Your html template has no problem. But where did you put this template? When I delete test.html, It shows the same error as yours. The template should be put

Re: [4.1.x] minor bug: missing resource key in TapestryStrings

2007-04-21 Thread Jesse Kuhnert
Yes please do. On 4/20/07, Jon McCarty <[EMAIL PROTECTED]> wrote: Hi maintainers - The "Namespace.no-such-page" key appears to be missing from the TapestryStrings.properties file. It's used in the Namespace class. Here's what I put in my local copy: Namespace.no-such-page=Page ''{0}'' not f

Re: Specify where to find the HTML templates

2007-04-21 Thread Howard Lewis Ship
If you move your HTML templates to WEB-INF/ it will Just Work. Tapestry locates the .page file (if it exists) first, then looks for the HTML template in the same place. If not found there, then it looks in the root. There isn't a direct way to move the templates to WEB-INF/pages, but there are s

Re: Specify where to find the HTML templates

2007-04-21 Thread li li
I think it is nessesary to put all *.page file in one folder,for example: WEB-INF/pages/. It will very convinent to do this. 离人网 From: "Howard Lewis Ship" <[EMAIL PROTECTED]>Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: Specify where to find the HTML templatesDate: Sat, 21 Ap