Reputation: 10288
I'm writing an application in JSF 1.2 that has a session in a backing bean. The biggest stability issue happens when the user refreshes the page (by pressing F5) or uses the backward arrow in the browser to go back.
I would like some 'smart' (knowledgeable) way to overcome this.
The most common exception I get is that after a refresh, the user will try to continue using the application and would get a:
java.lang.IllegalStateException - duplicate Id for a component
in the browser.
Thanks!
Upvotes: 1
Views: 630
Reputation: 24499
If you want a smart (knowledgeable)
way to overcome this, add seam to your jsf application. They have solved the backbutton problems in JSF
Upvotes: 0
Reputation: 1108632
Don't bind physically different components by binding
to one and same bean property.
Upvotes: 2