[
https://jira.jboss.org/browse/JBSEAM-4667?page=com.atlassian.jira.plugin....
]
varun shaji commented on JBSEAM-4667:
-------------------------------------
I found out the issue..In JSF2 the attributeMap used to store the attributes across
rerquest has been now moved to StateHolder..So the OageContext.java in Seam which used
this attributemap to do its work does'nt work. Instea the ViewRoot in JSF2 now
provides viewMap to which could be used by pagecontext to keep attributes across
requests. i hae changed the PageContext and uploaded..Now Seam2 works fine in JSF2....
Using JSF 2 And Seam - conversation Id
--------------------------------------
Key: JBSEAM-4667
URL:
https://jira.jboss.org/browse/JBSEAM-4667
Project: Seam
Issue Type: Bug
Affects Versions: 2.2.1.CR1
Environment: JBoss-6.0 M2 , Seam 2.2.0 & Seam 2.2.1 CR1, JSF 2(Mojarro -
2.0.2)
Reporter: varun shaji
During Postback from a JSF page , the conversation cannot be retored.
The debug logs that i obtained for JSF 1.2 and JSF 2.0 are as shown for the same postback
in a pageflow are as shown
JSF 1.2
********************************************************************************************************************
06-15@23:18:50 (JbpmContextInfo.java:145) DEBUG - creating jbpm context with service
factories '[]'
06-15@23:18:50 (JbpmContext.java:124) DEBUG - creating org.jbpm.JbpmContext@7b3555
06-15@23:18:50 (Pageflow.java:470) DEBUG - new pageflow instance for definition: hello
06-15@23:18:50 (GraphElement.java:170) DEBUG - event 'process-start' on
'ProcessDefinition(hello)' for 'Token(/)'
06-15@23:18:50 (JbpmContext.java:133) DEBUG - closing jbpmContext
org.jbpm.JbpmContext@7b3555
*******************************************************************************************************
JSF 2.0
**********************************************************************************************
06-15@22:38:27 (Pageflow.java:470) DEBUG - new pageflow instance for definition: hello
**********************************************************************************************
I debuged and found the FacesPage from which the conversation Id is returning..Is
returning null in JSF2 ..ConversationId is returning null in FacesPage returned by Seam
when Using JSF2
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira