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));

Overriding WebRequestCodingStrategy#mount(IRequestTargetUrlCodingStrategy)
isn't an option, as that method is final.

Is there any way to achieve this?

Thanks
Jörn

Reply via email to