I also like to "decide" which page the user sees when entering the application, so I do :

/* Any page I want to display */
public class MyHomepage {
 ...
}

/* Default tapestry page for "app root" : */
public class Start {
   Class onActivate() {
       return MyHomepage.class;
   }
}

This will redirect the incoming visitor to the right page, but also allows for some entry logic (if required).
HTH,

--
David

On 7-Mar-08, at 5:48 AM, Kheldar666 wrote:


See : http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html

Parameter : tapestry.start-page-name

Regards,



Angelo Chen wrote:

hi,

t5 loads start page when it is called:

http://localhost:8080/myapp

I'd like it to load home.tmp instead, any way to set it? renaming home.tml
to start.tml is one, but i like to keep it. thanks.

A.C.


--
View this message in context: 
http://www.nabble.com/t5%3A-home-page-tp15890272p15891144.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to