Re: Remove 'wicket' in URL
Or just mount all your pages. This way you won't see /wicket/bookmarkable/... or /wicket/page?3 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Apr 21, 2015 at 2:06 PM, Chris wrote: > Thanks! > > > > Am 21.04.2015 um 09:02 schrieb Martin Grigorov : > > > > Hi, > > > > It is possible only if you provide your own implementations of > > BookmarkableMapper and PageInstanceMapper. > > These mappers are installed by Wicket and used only if there are no more > > specific mappers installed by the application. > > > > It will be much easier for you to just change 'wicket' to something else. > > You need to setup custom IMapperContext for this. See > > > https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/Application.java#L1662 > > > > Martin Grigorov > > Wicket Training and Consulting > > https://twitter.com/mtgrigorov > > > > On Tue, Apr 21, 2015 at 5:01 AM, Chris wrote: > > > >> Hi all, > >> > >> I would like to delete the context ‚wicket‘ in the URL but do not like > to > >> set another one (e.g. wicket/page?2 should become /page?2. > >> How is this possible? > >> > >> Thanks, Chris > >> - > >> 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 > >
Re: Remove 'wicket' in URL
Thanks! > Am 21.04.2015 um 09:02 schrieb Martin Grigorov : > > Hi, > > It is possible only if you provide your own implementations of > BookmarkableMapper and PageInstanceMapper. > These mappers are installed by Wicket and used only if there are no more > specific mappers installed by the application. > > It will be much easier for you to just change 'wicket' to something else. > You need to setup custom IMapperContext for this. See > https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/Application.java#L1662 > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Apr 21, 2015 at 5:01 AM, Chris wrote: > >> Hi all, >> >> I would like to delete the context ‚wicket‘ in the URL but do not like to >> set another one (e.g. wicket/page?2 should become /page?2. >> How is this possible? >> >> Thanks, Chris >> - >> 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
Re: Remove 'wicket' in URL
Hi, It is possible only if you provide your own implementations of BookmarkableMapper and PageInstanceMapper. These mappers are installed by Wicket and used only if there are no more specific mappers installed by the application. It will be much easier for you to just change 'wicket' to something else. You need to setup custom IMapperContext for this. See https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/Application.java#L1662 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Apr 21, 2015 at 5:01 AM, Chris wrote: > Hi all, > > I would like to delete the context ‚wicket‘ in the URL but do not like to > set another one (e.g. wicket/page?2 should become /page?2. > How is this possible? > > Thanks, Chris > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >