I dont think you need to explicitly mount a home page to /. Your application has the home page reference and application mounts that page to /.
What you probably need is create a SearchPage.java, have it mounted as mixed param coding strategy and let SearchPage provide PageParameter constructor taking the search term as parameter. You can mount SearchPage with whatever string you want, form submission on the home page should setResponsePage(SearchPage.class, new PageParameter(searchterm_etc)) will do it. Jörn Zaefferer-2 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)); > > Overriding WebRequestCodingStrategy#mount(IRequestTargetUrlCodingStrategy) > isn't an option, as that method is final. > > Is there any way to achieve this? > > Thanks > Jörn > > -- View this message in context: http://www.nabble.com/Mounting-parameters-on-homepage-tp19163461p19167106.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]