Thanks a lot that was exactly what I needed. One drawback is that I can't inject a *PageRenderLinkSource* to generate the page's link automatically. Is there a way to overcome that ?
On Wed, Dec 12, 2012 at 12:11 AM, Dusko Jovanovski <dusk...@gmail.com>wrote: > Try overriding the SymbolConstants.START_PAGE_NAME symbol. > > > On Tue, Dec 11, 2012 at 10:55 PM, Muhammad Gelbana <m.gelb...@gmail.com > >wrote: > > > I'm not sure if that's a usual requirement but here it is. I need to have > > another page as a default homepage instead of the "Index" page. I can do > > that by returning the page I need from an "Index" page method that > handles > > @SetupRender or @OnEvent(value=EventConstants.Activate) events, I'm not > > quire sure at the moment but I'll look that up. > > > > The question is, can this be done without redirecting the user after > > visiting the Index page ? More like having the page I desire as the > default > > home page instead of Index ? > > > > Also the tricky part is that I may have this page in a module (here is an > > idea about what I > > mean< > http://tawus.wordpress.com/2011/04/20/tapestry-magic-3-plugin-blocks/ > > >). > > So when that module *isn't* in the classpath, the "Index" page will be > > displayed as usual. > > > > Thank you. > > >