You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Sven Linstaedt (JIRA)" <ji...@apache.org> on 2010/03/09 23:12:27 UTC
[jira] Commented: (OWB-321) Conversation beans could not be
populated to non-faces request by a JSF redirect navigation rule
[ https://issues.apache.org/jira/browse/OWB-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843324#action_12843324 ]
Sven Linstaedt commented on OWB-321:
------------------------------------
In case this issue arises using myfaces:
I have tested the conversation context against mojarra, and redirect context propagation was working (about 4 months ago). I would suggest checking myfaces for a bug, before rendering this an OWB one. Could you verify myfaces passes redirect URL creation through ViewHandler#getRedirectURL [1]? Afaik all URLs created for redirect should pass this method.
[1] http://java.sun.com/javaee/javaserverfaces/2.0/docs/api/javax/faces/application/ViewHandler.html
> Conversation beans could not be populated to non-faces request by a JSF redirect navigation rule
> ------------------------------------------------------------------------------------------------
>
> Key: OWB-321
> URL: https://issues.apache.org/jira/browse/OWB-321
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Injection and Lookup
> Affects Versions: M4
> Reporter: YING WANG
> Assignee: YING WANG
> Fix For: 1.0.0
>
>
> I have the following JSF redirect navigation rule, which redirect a JSF page to a jsp page:
> <navigation-rule>
> <from-view-id>/cellphonebuy.xhtml</from-view-id>
> <navigation-case>
> <from-outcome>toListingPage</from-outcome>
> <to-view-id>/cellphonelist.jsp</to-view-id>
> <redirect/>
> </navigation-case>
> </navigation-rule>
> However, in cellphonelist JSP page, I could not access beans of the conversation context and "No active conversation context" Exception is thrown. I do see the cid parameter being appended at the end of my jsp link.
> According to 8th and 9th bullets under 6.7.4, a long-run conversation context should be populated to non-face requests if JSF redirect is used or the application generates a link with such cid parameter. (please assign to me)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.