You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "YING WANG (JIRA)" <ji...@apache.org> on 2010/03/25 21:31:27 UTC

[jira] Closed: (OWB-334) cid is missing when using redirect for a jsf 2.0 application

     [ https://issues.apache.org/jira/browse/OWB-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YING WANG closed OWB-334.
-------------------------


> 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
>             Fix For: 1.0.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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.