I did the change as suggested, which also meant I had
to move the .page files under WEB-INF/thepath/, but it
still does not work.
To explain further, here is how I would like to
organize my deployment:
WebApp-Context-root/
WEB-INF/
Abc.page
web.xml
myapp.application
html/
Abc.html <-- template file in a folder
As per the suggestion, I tried:
Context-root/
WEB-INF/
web.xml
myapp.application
html/ <--------------------------|
Abc.page <-- moved .page file to matching folder
html/
Abc.html
...with the corresponding change in myapp.application.
Is there some way to map the actual location of the
html template to the .page specification file?
Thanks and Regards,
~ amol
--- Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:
> in your .application file:
>
> <page name="ThePageName"
>
specification-path="/WEB-INF/thepath/ThePageName.page"/>
>
> [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > I would like to know how I can organize my
> templates
> > in folders, eg. have my html as
> > $CONTEXT_ROOT/basic/Abc.html instead of
> > $CONTEXT_ROOT/Abc.html
> >
> > When I try to simply put the htmls in a folder
> inside
> > the context root, I (very obviously) get an error:
> >
> > "Could not find template for page Abc in locale
> en_US"
> >
> > (All the examples I have seen so far keep the html
> > templates in the context root, also there seemed
> to be
> > no mention of this in the user-guide)
> >
> > I imagine there should be some way to configure
> this
> > in the page specification file?
> >
> > Thanks and Regards,
> > ~ amol
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]