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/23 16:19:27 UTC
[jira] Created: (OWB-334) cid is missing when using redirect for a
jsf 2.0 application
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.
[jira] Closed: (OWB-334) cid is missing when using redirect for a
jsf 2.0 application
Posted by "YING WANG (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (OWB-334) cid is missing when using redirect for
a jsf 2.0 application
Posted by "Sven Linstaedt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OWB-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848779#action_12848779 ]
Sven Linstaedt commented on OWB-334:
------------------------------------
Sounds reasonalbe. I have not checked other ViewHandler implementations than Facelets and mojarra for testing conversation propagation during redirects.
> 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
> 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.
[jira] Resolved: (OWB-334) cid is missing when using redirect for a
jsf 2.0 application
Posted by "YING WANG (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OWB-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YING WANG resolved OWB-334.
---------------------------
Resolution: Fixed
Fix Version/s: 1.0.0
> 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.