[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4667) Using JSF 2 And Seam - conversation Id

varun shaji (JIRA) jira-events at lists.jboss.org
Mon Jun 21 01:18:46 EDT 2010


    [ https://jira.jboss.org/browse/JBSEAM-4667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536478#action_12536478 ] 

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 at 23:18:50 (JbpmContextInfo.java:145) DEBUG - creating jbpm context with service factories '[]'
> 06-15 at 23:18:50 (JbpmContext.java:124) DEBUG - creating org.jbpm.JbpmContext at 7b3555
> 06-15 at 23:18:50 (Pageflow.java:470) DEBUG - new pageflow instance for definition: hello
> 06-15 at 23:18:50 (GraphElement.java:170) DEBUG - event 'process-start' on 'ProcessDefinition(hello)' for 'Token(/)'
> 06-15 at 23:18:50 (JbpmContext.java:133) DEBUG - closing jbpmContext org.jbpm.JbpmContext at 7b3555
> *******************************************************************************************************
> JSF 2.0
> **********************************************************************************************
> 06-15 at 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

        


More information about the seam-issues mailing list