title: wicket url parameters with stateful pages
body: <p>on an application i develop i'm trying to keep a nice and readable url for the application's pages.
  i start with url as follows:
  <a href="http://somedomain.com/context/?param1=value&amp;param2=value" rel="nofollow noreferrer">http://somedomain.com/context/?param1=value&amp;param2=value</a>
  where context is the application mount path and param1 and param2 are some parameters passed to the application.
  the problem is that when i move to another page the url changes to be as follows:
  <a href="https://somedomain.com/?wicket:bookmarkablePage=:something&amp;Title=something&amp;group=something" rel="nofollow noreferrer">https://somedomain.com/?wicket:bookmarkablePage=:something&amp;Title=something&amp;group=something</a>
  the way i'm moving between pages is as follows:</p>
  
  <blockquote>
    <p>getRequestCycle().setResponsePage(new otherPage(obj1, obj2,
    pageParameters)</p>
  </blockquote>
  
  <p>where obj1 and obj2 are objects required for the initialization of the page.
  as i understood from <a href="https://stackoverflow.com/questions/6390953/how-can-i-create-a-wicket-url-that-hides-its-parameters">this</a> post using</p>
  
  <blockquote>
    <p><code>RequestCycle().setResponsePage(Page page)</code></p>
  </blockquote>
  
  <p>creates a stateful page which is not bookmarkable and does not display the parameters, while using</p>
  
  <blockquote>
    <p><code>RequestCycle().setResponsePage(Class&lt;C&gt; pageClass, PageParameters
    pageParameters)</code></p>
  </blockquote>
  
  <p>creates a stateless page which displays the parameters.
  the problem is that i use the first one, as i must create the page myself so i could pass the two objects to it.
  is there any way to keep the url in its original bookmarkable format and remove wicket's parameters from it?
  i tried almost every suggestion posted on this site and others but none of them fits my case, as they suggest to let wicket create the page itself (with the second option of setResponsePage).
  any help will be much appreciated.
  thanks</p>