Hi Everyone,
i was playing a little bit with prime faces 2m1;
No matter with jsf2 scopes i've found @ViewScoped a great improve but going deeper i've found an old issue: "the navigation / keep alive bean handling" between page requests.
I've tried Flash scopes (part of jsf2 spec), but still requires some glue code (not particulary attractive).
For example in jboss-RichFaces i used to either use the keep alive tag in the xhtml page or use the @KeepAlive annotation within the controller;
Now im trying to move from RichFaces to Primefaces, wondering if there is something like keepAlive stuff ? how does primefaces users deal with this kind of things ?
Thks in advance!
Regards !
How to keep alive a ManagedBean between pages ?
If you've navigated between views, you're ViewScoped beans will reset.
Read about the different scopes here:
http://www.scribd.com/doc/16360312/DZon ... r-Faces-20
Sounds like you need SessionScoped
Read about the different scopes here:
http://www.scribd.com/doc/16360312/DZon ... r-Faces-20
Sounds like you need SessionScoped
-
- Information
-
Who is online
Users browsing this forum: No registered users and 41 guests