Re: Have root URL render some page other than the "index" page

Pratik Patel <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAGva5M1+cfRHsja5vwW74O=NR8=2qqvcnfBB=mxf4fPvaMC83A@mail.gmail.com>
Thanks. I am using version 5.3.8 which does not have class SymbolConstants.
I tried passing following context-param through web.xml but that is not
working either.

        <context-param>
<param-name>tapestry.start-page-name</param-name>
<param-value>foo</param-value>
</context-param>



On Thu, Jan 11, 2018 at 6:07 PM, Cezary Biernacki <[email protected]>
wrote:

> You can use contribute symbol "tapestry.start-page-name" (see
> org.apache.tapestry5.SymbolConstants#START_PAGE_NAME), e.g. by adding such
> method in your AppModule class:
>
>     public static void
> contributeApplicationDefaults(MappedConfiguration<String, Object>
> configuration) {
>         configuration.add(SymbolConstants.START_PAGE_NAME, "foo");
>    }
>
>
> On Thu, Jan 11, 2018 at 11:27 PM, Pratik Patel <[email protected]>
> wrote:
>
> > I am using tapestry version 5.3.8.
> >
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.