You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Mohammad Hassan Shamsi <m....@gmail.com> on 2005/09/03 10:23:54 UTC
navigate between pages in subfolders.
Hi All
my tapestry web application have this file structure
/WEB-INF/
Home.html
/WEB-INF/pages/first/
First.html
First.page
/WEB-INF/pages/second/
Second.html
Second.page
for navigate between pages : i use thie code :
....
cycle.activate("pages/second/Second");
or
cycle.activate("pages/first/First");
im looking for better way to navigate ?
please help me.
Best Regards
M. H. Shamsi
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: navigate between pages in subfolders.
Posted by Jun Tsai <ju...@gmail.com>.
You can use @InjectPage to inject a page in your page class.
Jun Tsai
On 9/3/05, Mohammad Hassan Shamsi <m....@gmail.com> wrote:
> Hi All
>
> my tapestry web application have this file structure
>
> /WEB-INF/
> Home.html
>
> /WEB-INF/pages/first/
> First.html
> First.page
>
>
> /WEB-INF/pages/second/
> Second.html
> Second.page
>
> for navigate between pages : i use thie code :
> ....
> cycle.activate("pages/second/Second");
> or
> cycle.activate("pages/first/First");
>
> im looking for better way to navigate ?
>
> please help me.
> Best Regards
> M. H. Shamsi
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org