Igor,

Thanks for referring to Page#getPageReference.

Regarding the reload, I created my own error loading a page.

>On Fri, Apr 17, 2009 at 5:49 PM, Bernard <b...@actrix.gen.nz> wrote:
>> I prefer not to instantiate a page with a non-default constructor
>> because it breaks if the user reloads it. How do we pass parameters
>> between pages except via query strings which I try to avoid for
>> various reasons?
>
>can you please explain this a bit more? it is perfectly normal to do
>setresponsepage(new edituserpage(usermodel));
>
>wicket will redirect to a GET url which will always properly load that
>instance of the page, not create a new one every time.
>
>you can pass page references around using Page#getPageReference,
>formerly Page#getPageId, and constructing a url to it using
>requestcycle.urlfor() method.
>
>-igor
>
[snip]


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to