cid is missing when using redirect for a jsf 2.0 application
------------------------------------------------------------

                 Key: OWB-334
                 URL: https://issues.apache.org/jira/browse/OWB-334
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Java EE Integration
    Affects Versions: M4
            Reporter: YING WANG
            Assignee: YING WANG
            Priority: Minor


I have converted conversation-sample to a jsf 2 .0 application by changing jsf 
version to 2.0 and disabling FaceletViewHandler. When I click "To Listing 
Page", the cid is not appended after the redirect jsf url and the content list 
in cart is empty.

If I enable FaceletViewHandler, it works. But this depends on the default 
behavior of FaceletViewHandler(ViewHandler in jsf2.0), which delegates 
getRedirectURL( ) call to get getActionURL( ).

Our ConversationAwareViewHandler shouldn't depends on FaceletViewHandler and we 
do not have getRedirectURL( ) defined in ConversationAwareViewHandler. 

My plan is to add getRedirectURL( ) method in ConversationAwareViewHandler, 
which first tests if cid is already added, if not, then append cid at the end 
of url. Thus, it will work with jsf 1.2/2.0 and w/wo  FaceletViewHandler.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to