Typo correction...
class NextPage extends WebPage {
public NextPage(final Page prev) {
add(new Link("back") {
public onclick() { setResponsePage(prev); }
}
}
}
On 1/22/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
instead of doing all that redirect foo why dont you pass
instead of doing all that redirect foo why dont you pass the instance of the
current page to the new page you are redirecting to when the button is
pressed. then to go back just set response page to that passed in instance.
class NextPage extends WebPage {
public NextPage(final Page prev) {
hi all,
i got some strange behaviour here. i have a page with a compound
property model including some textfields and dropdownchoices and a
button, which redirects to another page. after coming back to the first
page by using getPage().continueToOriginalDestination() the textfields
are filled