Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Blocker
-
Resolution: Done
-
Affects Version/s: 2.3.0.ALPHA
-
Fix Version/s: 2.3.0.BETA1
-
Component/s: None
-
Labels:None
Description
Page scoped components are not active on postback during the restore view phase. We have been doing things like this in JSF 1.2 for years with no trouble.
<ui:include src="#{pageScopedComponent.viewId}" />
In JSF 2 the page will render, because the facelet isn't actually complied until the render phase on a GET. Then on postback the component is not found in the stateful page scope and then isn't created because the page scope is not active yet.
I have made many attempts to debug this but I have run out of ideas. I'm thinking this is a bug so I am posting it here. But if someone can give me some fresh ideas on where to look, I will keep digging.
Attachments
Issue Links
- blocks
-
JBSEAM-4907 ee6 ui example <s:convertEntity> No Converter was created
-
- Closed
-
- is related to
-
JBSEAM-4904 jsf2 profile integration tests broken (IllegalArgumentException during restoreConversationId )
-
- Closed
-
- relates to
-
JBSEAM-5002 Components included with ui:include src="#{pageScopedViewId} broken
-
- Resolved
-