Re: [Wicket-user] Retaining values from one page view to the next

2006-07-21 Thread Gwyn Evans
On 21/07/06, David Leangen <[EMAIL PROTECTED]> wrote: > > Apologies for another basic Wicket question... Not a problem - It helps others, either by suggesting what we could do with adding to the docs or the wiki, quite apart from having the answers on the list. > PS - I tried searching on the arc

Re: [Wicket-user] Retaining values from one page view to the next

2006-07-20 Thread David Leangen
Of course it would have to be that simple... Thanks!! Dave On Thu, 2006-07-20 at 19:33 -0700, Igor Vaynberg wrote: > all you have to do is pass the reference of the old page to the new > page > > class ListUsersPage extends Webpage { > . > add(new Link("edit") { > onclick

Re: [Wicket-user] Retaining values from one page view to the next

2006-07-20 Thread Igor Vaynberg
all you have to do is pass the reference of the old page to the new pageclass ListUsersPage extends Webpage {    .    add(new Link("edit") {    onclick() {   setResponsePage(new EditUserPage( ListUsersPage.this, (User)getModelObject()));    }}class EditUserPage extends WebPage {

[Wicket-user] Retaining values from one page view to the next

2006-07-20 Thread David Leangen
Apologies for another basic Wicket question... I understand (mostly) how the Wicket model approach works with respect to components and such. However, how do I retain values from one page view to the next? I know that I could use PageParameters, but the object I want to retain in a complex objec