You are right. I should not have remove the page from the constructor.
I place *getPageMap().remove(this);* after the setResponsePage in all
the pages. What is happening is
From Page 1 to Page 2 when using the back button the page expired
From Page 2 to Page 3 when using the back button the
Removing the page is throwing the following exception:
Caused by: java.lang.IllegalStateException: Cannot remove [Page class =
com.individual.registration.RegisterationPage, id = 6, version = 0] from
null parent!
at org.apache.wicket.Component.remove(Component.java:1896)
What I have is 3
PageMap.clear should work but it is a bit strange call to do. Why do you
want
to delete all pages? But what do you say nothing happens? What do you expect
to see happening?
And with Page.remove() is the wrong call, that is the default call to remove
a component from its parent
Maybe we should
Hi All,
After submitting a form the input data will be persisted in the
database and the user will be directed to another page. How can I clear
the input data from the session?!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
you go to another page so the previous page is not in the session anymore
(wicket 1.3)
On 10/24/07, Suad AlShamsi [EMAIL PROTECTED] wrote:
Hi All,
After submitting a form the input data will be persisted in the
database and the user will be directed to another page. How can I clear
the