Re: Not bookmarkable setResponsePage(new MyPage(pageParameters, extraParam1, extraParam2))

2011-03-08 Thread Martijn Dashorst
Wicket only knows how to construct bookmarkable pages when they have either a default constructor or a constructor taking *only* pageparameters. Any other constructor is outside the realm of wicket's capabilities and responsibility. In your case, how could Wicket construct the page when it is dire

Re: Not bookmarkable setResponsePage(new MyPage(pageParameters, extraParam1, extraParam2))

2011-03-08 Thread Igor Vaynberg
you cannot have a bookmarkable url for a page instance, only for a page class with parameters, so setResponsePage(MyPage.class, somePageParameters) will give you a bookmarkable url -igor On Tue, Mar 8, 2011 at 8:09 PM, Alec Swan wrote: > Hello, > > I have a form which calls the following statem

Not bookmarkable setResponsePage(new MyPage(pageParameters, extraParam1, extraParam2))

2011-03-08 Thread Alec Swan
Hello, I have a form which calls the following statement in its onSubmit() method: setResponsePage(new MyPage(pageParameters, extraParam1, extraParam2)) NOTE: The MyPage construtor calls WebPage constructor as super(pageParameters) and then adds extraParam1 and extraParam2 to WebPage.getPagePara