Hensley, Richard wrote:
You need a file called HomePage.html in either WEB-INF/ or in the web
application root directory.
I wish that was true.
Unfortunately: Spindle doesn't complain and (maybe even worse :-( ) it just used to work. The files are where they are suppossed to be (and always have been).


As a practice we name the html template the same root name as .page
specification, this is expected by Tapestry. We also locate the .html file
with the .page specification.
No worries there at all.

I'm afraid it has to be something that changed. I just can't figure out what! That's why i'm looking for the origin.

Thx,

Fermin DCG


Richard

-----Original Message-----
From: Fermin Da Costa Gomez [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 11:06 AM
To: [email protected]
Subject: Could not find template for page XYZ in locale en_US??


Hi,

Following my Scripts.page.
<page-specification class="org.apache.tapestry.html.BasePage" />

This is just a page that has been loading some js code into an empty frame
on the client to serve a sort of a library.
So language is not really an issue (as it hasn't been for approx a year).


Now i get the following error, which has got me rather surprised.

Could not find template for page Scripts in locale en_US
location: context:/WEB-INF/HomePage.page, line 120, column 71
component: [EMAIL PROTECTED]/creditRatingDropD
own]
Stack Trace:


* org.apache.tapestry.engine.DefaultTemplateSource.getTemplate(DefaultTemplate
Source.java:154)
* org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:95)
* org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:135)
* org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:5
19)
* org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:5
03)
* org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:764)
* org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:152)
*
org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:195)
* org.apache.tapestry.engine.PageService.service(PageService.java:73)
*
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:889)



Actually its throwing this error on other non-interested (as in language)
pages as well.


I know what is says (letter wise) but where do i start looking for the
origin?

tia,

Fermin DCG


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


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




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



Reply via email to