Jörn Zaefferer wrote:
Hi,
I have a simple search form on my homepage and would like to mount the
search parameter, eg. to have host/?term=foo instead of
host/?x=faniwfani35gfsge353 (when using
CryptedUrlWebRequestCodingStrategy).
I can't figure out a way to configure the strategy used to mount the
homepage. This throws an IllegalArgumentException("The mount path '/'
is reserved for the application home page"):
mount(new QueryStringUrlCodingStrategy("/", Homepage.class));
why not "/front" or something?
Overriding WebRequestCodingStrategy#mount(IRequestTargetUrlCodingStrategy)
isn't an option, as that method is final.
Is there any way to achieve this?
Thanks
Jörn
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]