I have been searching, but all the examples that I come across use a standalone page for editing an object.

For example, clicking this link will take the user to a PersonEdit page.
                add(new Link("editPerson") {
                    public void onClick() {
setResponsePage(new PersonEdit(person, peopleList));
                    }
                });


I also have an edit link, but instead of going to another page, I just want a form that I have already have on the page to be updated to the selected person.

Should I just still call "setResponsePage" using my current page's constructor, or is there a way that I can update the form on my page to be bound to a new person?

Right now, in my onClick handler, while I can retrieve the new person, I can get the form model to reflect the new person.


Day 2 with wicket!
Phillip



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to