If you don't mind the extra work, I use the following manual-method:
I place my page .html templates in the root folder: /WEB-ROOT
Then I separate my component and page specifications like so:
/WEB-ROOT/WEB-INF/config/tapestry/components (.jwc and their
corresponding template .html files -- in theory components shouldn't be
application-specific, of course, so I like to keep everything together
and separate from the rest of the application)
/WEB-ROOT/WEB-INF/config/tapestry/pages (.page files)
Then I explicitly declare my page/component specifications in my
.application file -- in both cases the templates are automatically
found:
...
<page name="NewApplicant"
specification-path="config/tapestry/pages/ApplicantNew.page" />
...
<component-type type="Border"
specification-path="config/tapestry/components/Border.jwc"/>
...
Jim Steinberger
-----Original Message-----
From: Mohammad Hassan Shamsi [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 27, 2005 4:44 AM
To: [email protected]
Subject: can i put htmt templates to deferent folders ?
Hi All
can i put tapester html template (.html and .page) in deferent folders ?
or i have to place all in same place at root folder of web module ? how
about components ? (.jwc and .html)
im looking for a simple example about these problem.
please help me.
thanks all.
M. H. Shams
---------------------------------------------------------------------
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]