You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andreas Bulling <sp...@phoenix.hadiko.de> on 2006/03/12 23:03:22 UTC

[Wiki] PagesAndComponentsInWEB-INF

Hi everybody,

I tried to follow the above Howto from the Tapestry Wiki but
I get the error message:

---
Could not parse template context:/WEB-INF/Border.html
---

Has anyone else tried this Howto and got it working?

Just to make clear:
I've created "pages" and "components" subdirectories below
WEB-INF and I've only put the .page and .jwc files in there.
The .html and .properties files are still below WEB-INF -
is this correct?

Thanks!
  Andreas

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


Re: [Wiki] PagesAndComponentsInWEB-INF

Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
On 15. Mär 2006 - 16:51:15, Andreas Bulling wrote:
| And the .properties files have to stay under WEB-INF?
| Well, I did that but now I get the error message:
| 
| ---
| Could not find template for component Home/border in locale de.
| ---

Perhaps, do I have to implement a custom ITemplateSourceDelegate?
Does anyone know this? And if yes, could someone be so gentle
and provide an example? Thanks!

Andreas

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


Re: [Wiki] PagesAndComponentsInWEB-INF

Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
On 15. Mär 2006 - 15:46:00, Kent Tong wrote:
| Put them in the same folder as the .page (or .jwc) files.

And the .properties files have to stay under WEB-INF?
Well, I did that but now I get the error message:

---
Could not find template for component Home/border in locale de.
---

Sincerly,
  Andreas

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


Re: [Wiki] PagesAndComponentsInWEB-INF

Posted by Kent Tong <ke...@cpttm.org.mo>.
Andreas Bulling <spam <at> phoenix.hadiko.de> writes:

> | Do you really have /WEB-INF/Border.html?
> 
> Well, that's the point: Where do I have to put the html files
> if I follow the above howto?

Put them in the same folder as the .page (or .jwc) files.

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


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


Re: [Wiki] PagesAndComponentsInWEB-INF

Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
Hi Kent,

thanks for your answer!

On 15. Mär 2006 - 12:19:53, Kent Tong wrote:
| which howto?

http://wiki.apache.org/jakarta-tapestry/PagesAndComponentsInWEB-INF

| Do you really have /WEB-INF/Border.html?

Well, that's the point: Where do I have to put the html files
if I follow the above howto?
 
| > I've created "pages" and "components" subdirectories below
| > WEB-INF and I've only put the .page and .jwc files in there.
| > The .html and .properties files are still below WEB-INF -
| > is this correct?
| 
| No good. You should put them along with the .page (or .jwc)
| file.

See above... ;)

Sincerly,
  Andreas

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


Re: [Wiki] PagesAndComponentsInWEB-INF

Posted by Kent Tong <ke...@cpttm.org.mo>.
Andreas Bulling <spam <at> phoenix.hadiko.de> writes:

> I tried to follow the above Howto from the Tapestry Wiki but
> I get the error message:

which howto?

> ---
> Could not parse template context:/WEB-INF/Border.html
> ---

Do you really have /WEB-INF/Border.html?

> I've created "pages" and "components" subdirectories below
> WEB-INF and I've only put the .page and .jwc files in there.
> The .html and .properties files are still below WEB-INF -
> is this correct?

No good. You should put them along with the .page (or .jwc)
file.

--
Author of a book for learning Tapestry (www.agileskills2.org/EWDT)


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