I noticed something strange, I have a search panel on all pages that contains a single form like so:
final Form<SearchParams> searchForm = new StatelessForm<SearchParams>("searchForm", model) { @Override protected void onSubmit() { String query = getModelObject().getQuery(); setResponsePage(SearchResultsPage.class, new PageParameters( SearchResultsPage.PARAM_QUERY + "=" + query)); setRedirect(true); } }; My SearchResultsPage is mapped to /search, so after a query i get redirected to /search/query/some+query. After the first submit everything works (the submit is happening from a different page), I get the redirect and see the results. But then if I try to use the form from that page, I get redirected with the previous search params in the url, like so: /search/query/search/query/second+query. Im not sure how this is happening since I am passing a class and new page parameters. The String query inside the onSubmit has the correct value, its not appending any of the previous parameters, and besides, this only happens with 1.4.6. I tried it on 1.4.4 and 1.4.5 and it worked fine with the same code. Any ideas? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org