[ 
https://issues.apache.org/jira/browse/OWB-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843741#action_12843741
 ] 

YING WANG commented on OWB-321:
-------------------------------

Thanks Sven for the info, I tested again, the reirect just works fine with cid 
appended at the end of each redirect URL. And JSF to JSF redirect also works.  

The problem only happens when the redirect URL is a Jsp(non-jsf request), in 
which case, the conversation context is not restored by WebBeansPaseListener 
since it is not a JSF page. 

Sven, do you remember if you ran jsf -> jsp redirection test?

> 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.

Reply via email to