Re: wicket 8 / RootRequestMapper vs CompoundRequestMapper

2018-06-11 Thread Korbinian Bachl
e urls for the > links/redirect, and finally CryptoMapper encrypts those. > > >> >> Best, >> >> KB >> >> - Ursprüngliche Mail - >> > Von: "Bas Gooren" >> > An: users@wicket.apache.org, "Korbinian Bachl" < >>

Re: wicket 8 / RootRequestMapper vs CompoundRequestMapper

2018-06-11 Thread Martin Grigorov
gt; Von: "Bas Gooren" > > An: users@wicket.apache.org, "Korbinian Bachl" < > korbinian.ba...@whiskyworld.de> > > Gesendet: Montag, 11. Juni 2018 12:06:12 > > Betreff: Re: wicket 8 / RootRequestMapper vs CompoundRequestMapper > > > Hi! > > >

Re: wicket 8 / RootRequestMapper vs CompoundRequestMapper

2018-06-11 Thread Korbinian Bachl
Thanks for pointing me to this! - Ursprüngliche Mail - > Von: "Martin Grigorov" > An: users@wicket.apache.org > Gesendet: Montag, 11. Juni 2018 12:11:32 > Betreff: Re: wicket 8 / RootRequestMapper vs CompoundRequestMapper > Hi, > > The main method for m

Re: wicket 8 / RootRequestMapper vs CompoundRequestMapper

2018-06-11 Thread Korbinian Bachl
ed to make sure I'm the first one in the hierarchy. But where would I then rewrite the generated URLs? Best, KB - Ursprüngliche Mail - > Von: "Bas Gooren" > An: users@wicket.apache.org, "Korbinian Bachl" > > Gesendet: Montag, 11. Juni 2018 12:06:12

Re: wicket 8 / RootRequestMapper vs CompoundRequestMapper

2018-06-11 Thread Martin Grigorov
Hi, The main method for mounting is WebApplication#mount(IRequestMapper). It uses getRootRequestMapperAsCompound().add(mapper);, i.e. no matter whether your root mapper is already compound or not, Wicket will make it compound by wrapping it in SystemMapper https://github.com/apache/wicket/blob/9

Re: wicket 8 / RootRequestMapper vs CompoundRequestMapper

2018-06-11 Thread Bas Gooren
Hi! The Compound mapper is merely a wrapper which can have many child mappers. The Root mapper is the mapper that wicket calls to do mapping and reverse mapping. For wicket itself it’s not important whether it is a mapper or compound mapper. The higher up in the mapper hierarchy (root -> compound

wicket 8 / RootRequestMapper vs CompoundRequestMapper

2018-06-11 Thread Korbinian Bachl
Hi, situation: I need to add some "special" URL handling for certain URLs to have product pages and catalog pages on root. As we also use brix we already have at least one compoundRequestMapper already in use. Now, wicket seems to have 2 places for that. A new RootRequestMapper e.g.: YourAppli