You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Joshua Jackson <jo...@gmail.com> on 2008/02/22 11:24:34 UTC
T5: Put template in other directory
Dear all,
Is it possible to place the templates inside other directory other
than inside the package alongside with the Java class? Somehow this is
not convenient for our webdesigner so we want to place our templates
inside another folder just like T4.
Thnx in advance
--
Let's show the world what we've got.
Blog: http://joshuajava.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Put template in other directory
Posted by Martin Grotzke <ma...@javakaffee.de>.
Hi,
it should be possible to resolve templates as you want, see
http://www.nabble.com/T5%3A-Personalizing-page-and-component-template-td14098291.html
for example.
Cheers,
Martin
On Fri, 2008-02-22 at 09:23 -0600, Robert Zeigler wrote:
> Page templates can be placed in the context root (or appropriate
> subfolders, depending on your package structure).
> Component templates are (currently) required to be on the classpath.
>
> Robert
>
> On Feb 22, 2008, at 2/224:24 AM , Joshua Jackson wrote:
>
> > Dear all,
> >
> > Is it possible to place the templates inside other directory other
> > than inside the package alongside with the Java class? Somehow this is
> > not convenient for our webdesigner so we want to place our templates
> > inside another folder just like T4.
> >
> > Thnx in advance
> >
> > --
> > Let's show the world what we've got.
> > Blog: http://joshuajava.wordpress.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
Re: T5: Put template in other directory
Posted by Josh Canfield <jo...@thedailytube.com>.
It's strange to me that a designer would be dictating where source code
lives... if you're using perforce or svn (or others I presume) for source
control you can map those folders on their system so they don't know the
difference.
Do they have some good reason to want things in WEB-INF?
Josh
On Fri, Feb 22, 2008 at 11:50 PM, Joshua Jackson <jo...@gmail.com>
wrote:
> On Fri, Feb 22, 2008 at 10:23 PM, Robert Zeigler <ro...@scazdl.org>
> wrote:
> > Page templates can be placed in the context root (or appropriate
> > subfolders, depending on your package structure).
> > Component templates are (currently) required to be on the classpath.
> >
>
> That's exactly the problem with our webdesigner. They wanted it to be
> placed inside WEB-INF/ and our Page class must live inside the
> specified package. Perhaps the most close thing I really wanted is
> like the ones in T4
>
> --
> Let's show the world what we've got.
>
> Blog: http://joshuajava.wordpress.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.
Re: T5: Put template in other directory
Posted by Joshua Jackson <jo...@gmail.com>.
On Fri, Feb 22, 2008 at 10:23 PM, Robert Zeigler <ro...@scazdl.org> wrote:
> Page templates can be placed in the context root (or appropriate
> subfolders, depending on your package structure).
> Component templates are (currently) required to be on the classpath.
>
That's exactly the problem with our webdesigner. They wanted it to be
placed inside WEB-INF/ and our Page class must live inside the
specified package. Perhaps the most close thing I really wanted is
like the ones in T4
--
Let's show the world what we've got.
Blog: http://joshuajava.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Put template in other directory
Posted by Robert Zeigler <ro...@scazdl.org>.
Page templates can be placed in the context root (or appropriate
subfolders, depending on your package structure).
Component templates are (currently) required to be on the classpath.
Robert
On Feb 22, 2008, at 2/224:24 AM , Joshua Jackson wrote:
> Dear all,
>
> Is it possible to place the templates inside other directory other
> than inside the package alongside with the Java class? Somehow this is
> not convenient for our webdesigner so we want to place our templates
> inside another folder just like T4.
>
> Thnx in advance
>
> --
> Let's show the world what we've got.
> Blog: http://joshuajava.wordpress.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org