You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by rs1050 <rs...@gmail.com> on 2008/09/25 05:40:14 UTC

subpackages under .pages

Hi,

I am trying to figure how how to structure my templates and pages into
dedicated sub-packages like:

pages->customer->CustomerData.java
pages->manager->Manager.java

webapp->customer->CustomerData.tml
webapp->manager->Manager.tml

is it possible? How to refer to these pages in the url?
.../customer/CustomerData did not work...

Thank you.
-- 
View this message in context: http://www.nabble.com/subpackages-under-.pages-tp19662554p19662554.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: subpackages under .pages

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Thu, 25 Sep 2008 21:08:38 -0300, rs1050 <rs...@gmail.com> escreveu:

> i was using http://localhost:8080/app/customer/CustomerData instead of
> http://localhost:8080/customer/CustomerData.

app? Tapestry 4 déjà vu? :)

Thiago

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


Re: subpackages under .pages

Posted by rs1050 <rs...@gmail.com>.
i was using http://localhost:8080/app/customer/CustomerData instead of
http://localhost:8080/customer/CustomerData.

Thank you very much for your help!


Onno Scheffers-3 wrote:
> 
>>
>> pages->customer->CustomerData.java
>> pages->manager->Manager.java
>>
>> webapp->customer->CustomerData.tml
>> webapp->manager->Manager.tml
>>
>> is it possible? How to refer to these pages in the url?
>> .../customer/CustomerData did not work...
> 
> 
> 
> That's pretty much how I do it and it works just fine.
> 
> Have you tried accessing the url /customer/Data in your browser? Tapestry
> might just try and clean the duplication away to keep your urls tidy and
> short.
> 
> 
> regards,
> 
> Onno Scheffers
> 
> 

-- 
View this message in context: http://www.nabble.com/subpackages-under-.pages-tp19662554p19680437.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: subpackages under .pages

Posted by Onno Scheffers <on...@piraya.nl>.
>
> pages->customer->CustomerData.java
> pages->manager->Manager.java
>
> webapp->customer->CustomerData.tml
> webapp->manager->Manager.tml
>
> is it possible? How to refer to these pages in the url?
> .../customer/CustomerData did not work...



That's pretty much how I do it and it works just fine.

Have you tried accessing the url /customer/Data in your browser? Tapestry
might just try and clean the duplication away to keep your urls tidy and
short.


regards,

Onno Scheffers