You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ryan Slack <ry...@evine.ca> on 2005/12/23 22:46:49 UTC

cleaner WEB-INF

I'd like to place all my .page files under WEB-INF/pages, and all my 
.jwc .html files under WEB-INF/componets. Is there a way to do this 
without having to add a page or compnent-type element for every page or 
component? Perhaps there is there a meta property to set the base path 
to search for page and component files? Or more likely a HM 
configuration-point to contribute to?

--Ryan


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


Re: cleaner WEB-INF

Posted by Tim Sawyer <li...@calidris.co.uk>.
On Friday 23 Dec 2005 21:46, Ryan Slack wrote:
> I'd like to place all my .page files under WEB-INF/pages, and all my
> .jwc .html files under WEB-INF/componets. Is there a way to do this
> without having to add a page or compnent-type element for every page or
> component? Perhaps there is there a meta property to set the base path
> to search for page and component files? Or more likely a HM
> configuration-point to contribute to?

Probably not the solution you're looking for, but I have used sub-folders of 
WEB-INF in development and then flattened them at build time using an ant 
build script.

Of course, you need to deploy the WAR each time to test if you're doing it 
this way...

Tim.

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


Re: cleaner WEB-INF

Posted by Massimo Lusetti <ml...@gmail.com>.
On 12/23/05, Ryan Slack <ry...@evine.ca> wrote:

> I'd like to place all my .page files under WEB-INF/pages, and all my
> .jwc .html files under WEB-INF/componets. Is there a way to do this

Isn't that forbidden due to the bug Geoff discovered and which is
large discussed on jira and on dev list?

--
Massimo
http://meridio.blogspot.com

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


Re: cleaner WEB-INF

Posted by Cosmin Bucur <co...@gmail.com>.
Someone is working on a XDoclet plugin for tapestry , which will allow
you to define your page stuff in the java file i belive .

The person was talking about releasing this plugin at the same time
tapestry 4 gets a production release .

I think this would be by far the cleanest aproach if you can wait a
bit ( he might update us on his efforts , as i belive he watches
theese mlists ) .


On 12/23/05, Ryan Slack <ry...@evine.ca> wrote:
> I'd like to place all my .page files under WEB-INF/pages, and all my
> .jwc .html files under WEB-INF/componets. Is there a way to do this
> without having to add a page or compnent-type element for every page or
> component? Perhaps there is there a meta property to set the base path
> to search for page and component files? Or more likely a HM
> configuration-point to contribute to?
>
> --Ryan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>

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