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

Sven Linstaedt commented on OWB-168:
------------------------------------

Yeah, the example uses ajax, but the outcome of the action is just a partial 
view update and not a complete direct. If you want to test if, just update 
ConversationBean to something like

public String startConversation()
    {
        conversation.begin();
        
        message = "Conversation is started with id : " + 
this.conversation.getId();
        
        return "/conversation.xhtml?faces-redirect=true";
    }

The problem with <h:link/> is similar: Just add 
<h:link outcome="/conversation.xhtml">self</h:link> 
somewhere on conversation.xhtml to prove there is no cid attached.

> cid parameter is not propagated for redirects caused by ajax requests and on 
> <h:link/>
> --------------------------------------------------------------------------------------
>
>                 Key: OWB-168
>                 URL: https://issues.apache.org/jira/browse/OWB-168
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>            Reporter: Sven Linstaedt
>            Assignee: Gurkan Erdogdu
>
> Instead of using a servlet filter I suggest using a ViewHandler delegate, 
> which oberrides getActionURL and getRedirectURL and attaches the cid, because 
> Filter.sendRedirect() is not called reliable.

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