Reply To: ViewScope Problem

Splash Forums PrettyFaces Users ViewScope Problem Reply To: ViewScope Problem



Hi, thanks for the answers.

I cannot send a sample of the project, Lincoln, since we use some intern libs that can be the cause of the problem (the custom view, as an example).

Christian, when I set onPostback=false no AJAX works. I made a workaroung getting the URL parameters from the request, so I don’t suffer from NullPointerExceptions anymore, but it stills have to initialize all data again (some of it is heavy DAO operations) at every AJAX request.

It seems that my Bean is working in Request Scope, although I have it annotated with View Scope.
Maybe the problem is the scope + pretty parameters, we use the custom view scope coded in this website.


  • This reply was modified 7 years, 9 months ago by  Ryaryu.