1

Is it possible to remove the pageId from the URL of a statefull wicket page? It's ok if it's not versioned in the page store because of this.

I've tried overriding the isVersioned()-method to returning false, but I still get the pageId in the URL:

http://localhost:8080/appname/s/frontpage/?11

Or - even better - is it possible to alter the presentation by assigning the pageId to a parameter like this:

http://localhost:8080/appname/s/frontpage/?pageId=11

and thus keep the page statefull?

The reason I would want to do this is because the pageId creates lots of different URLs in my google analytics dashboard which in reality is the same URL:

http://localhost:8080/appname/s/frontpage/?0 http://localhost:8080/appname/s/frontpage/?1 http://localhost:8080/appname/s/frontpage/?2 http://localhost:8080/appname/s/frontpage/?3

etc...

Thank you.

aurelius
  • 3,946
  • 7
  • 40
  • 73
denethon
  • 93
  • 1
  • 10