## RichTab Problem

### Tab switch does not work when commandLink is in a tab in combination with ajax request

Tab1 Tab2

## Outcome String Test

View Scoped MangedBean: #{jsf2Test}
View Scoped ConstructCount: #{jsf2Test.constructCounter}
Should alway have the same object ID on this page! #{jsf2Test.testString}

## Component Binding - View Scope Problem

### Works with: javax.faces.PARTIAL_STATE_SAVING = false

In a nutshell: the @ViewScoped breaks when any UIComponent is bound to the bean using binding attribute or when using JSTL c:forEach or c:if tags in the view. In both cases the bean will behave like a request scoped one. The first one is in my opinion a pretty major bug, the second one is only an extra excuse to get rid of the whole JSTL stuff in Facelets.
This is a chicken/egg issue with partial state saving. The view is executed to populate the view *before* delta state is applied, so we see the behavior you've described. At this point, I don't see a clear way to resolve this use case. The workaround, if you must use view-scoped bindings would be setting javax.faces.PARTIAL_STATE_SAVING to false.

## Passing Values to Backing Bean