Re: I don't want url page count parameter: localhost:8080/context/?0

2012-03-18 Thread Pointbreak
Create a class NoVersionMount: /** * Provides a mount strategy that drops the version number from * stateful page urls. */ public class NoVersionMount extends MountedMapper { public NoVersionMount(String path, Class pageClass) { super(path, pageClass, new PageParametersEncoder());

Re: I don't want url page count parameter: localhost:8080/context/?0

2012-03-18 Thread Martin Grigorov
On Sun, Mar 18, 2012 at 4:47 AM, Dan Retzlaff wrote: > Paolo, > > If you add stateful components or behaviors to your page, Wicket introduces > the page version into the URL so that subsequent requests can be routed to > the correct component and behavior instances. To get rid of the parameter, >

Re: I don't want url page count parameter: localhost:8080/context/?0

2012-03-17 Thread Dan Retzlaff
Paolo, If you add stateful components or behaviors to your page, Wicket introduces the page version into the URL so that subsequent requests can be routed to the correct component and behavior instances. To get rid of the parameter, you should (1) make your page stateless, (2) implement your own I

I don't want url page count parameter: localhost:8080/context/?0

2012-03-17 Thread Paolo
Hi, I read this old post to solve the my same problem: --- I'm using Wicket 1.5.3, an application with a number of tabbed panels. My application's url is, lets say http://localhost:9080/context/ When I enter this URL, the browse immediately changes this to http://loca