Top "View-scope" questions

The View Scope means that you can keep the object alive as long as you are staying on the view (page).

ViewExpiredException: No saved view state could be found: on submitting a form in JSF

I get the below exception while trying to submit a form. javax.faces.application.ViewExpiredException: /page1.xhtml No saved view …

jsf-2 primefaces view-scope viewexpiredexception notserializableexception
How to replace @ManagedBean / @ViewScope by CDI in JSF 2.0/2.1

I'm currently evaluating Java EE 6 / JSF 2.1 with RichFaces. A bean which is declared as @ManagedBean @ViewScoped Gets an ID set (…

jsf jsf-2 cdi view-scope
Why does @PostConstruct callback fire every time even though bean is @ViewScoped? JSF

I am using datatable on page and using binding attribute to bind it to my backing bean. This is my …

jsf facelets view-scope postconstruct
JSF View scope in Spring

Is there any scope like JSF @ViewScoped in Spring 3.0? I have an application using JSF+Spring where backing beans are …

spring jsf jsf-2 view-scope
How and when is a @ViewScoped bean destroyed in JSF?

The lifecycle of the @RequestScoped and @SessionScopedBean managed beans are managed by the Servlet container itself since they are basically …

jsf jsf-2 managed-bean destroy view-scope
@ViewScoped calls @PostConstruct on every postback request

This doesn't seem right. I was doing some cleanup of my code and I just noticed this. Every ajax request …

jsf jsf-2 constructor view-scope postconstruct
Pass an object between @ViewScoped beans without using GET params

I have a browse.xhtml where I browse a list of cars and I want to view the details of …

jsf parameter-passing jsf-2.2 omnifaces view-scope
PrimeFaces p:media not working with StreamedContent in a @ViewScoped bean

I have an issue related to Primefaces4 meida type rendering pdf file in browser. I have successfully tried the example …

pdf jsf primefaces media view-scope
@ViewScoped bean recreated on every postback request when using JSF 2.2

I'm having an issue similar to this post and the answer from @BalusC with 3 solutions but: I'm not using of …

jsf primefaces postback jsf-2.2 view-scope
ViewExpiredException when i use @ViewScoped

I have problem with my h:commandButton "Login": when I use @ViewScoped and push this button there is ViewExpiredException, but …

jsf jsf-2 myfaces view-scope viewexpiredexception