You don't have to map it.
HomePageMapper is pre-installed for you and it will handle '/'.
Now it is possible to register custom mapper to handle '/' and use whichever
Page you want.

Before the commit I mentioned in my previous email it wasn't possible to
mount anything at '/'.

On Wed, Oct 20, 2010 at 1:41 PM, James Carman <ja...@carmanconsulting.com>wrote:

> Shouldn't "/" always go to the home page?  Why should we have to map that?
>
> On Wed, Oct 20, 2010 at 3:05 AM, Martin Grigorov <mgrigo...@apache.org>
> wrote:
> > Since 2 days it is possible to do: MyApp#init() { mountPage("/",
> > MyPage.class)}
> >
> > As I said you need latest trunk for that.
> >
> > Otherwise, you'll need to create your own custom mapper for that. Note:
> It
> > needs to have higher compatibilityScore than the default.
> >
> > On Wed, Oct 20, 2010 at 8:47 AM, Alex Objelean <alex.objel...@gmail.com
> >wrote:
> >
> >>
> >> So you suggest to create something like CustomHomeMapper in order to be
> >> able
> >> to mount a page to root?
> >> If it is true, shouldn't it be possible to have this feature out of the
> >> box?
> >> --
> >> View this message in context:
> >>
> http://apache-wicket.1842946.n4.nabble.com/Mount-a-page-to-root-path-in-wicket-1-5-tp3003270p3003344.html
> >> Sent from the Users forum mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to