[weld-issues] [JBoss JIRA] Commented: (WELD-919) Conversation propagation token that negates the "cid" parameter

Ales Justin (JIRA) jira-events at lists.jboss.org
Thu Jun 9 06:54:59 EDT 2011


    [ https://issues.jboss.org/browse/WELD-919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607420#comment-12607420 ] 

Ales Justin commented on WELD-919:
----------------------------------

Do we really want to push this kind of logic into WeldPhaseListener?


> Conversation propagation token that negates the "cid" parameter
> ---------------------------------------------------------------
>
>                 Key: WELD-919
>                 URL: https://issues.jboss.org/browse/WELD-919
>             Project: Weld
>          Issue Type: Feature Request
>          Components: Conversations
>    Affects Versions: 1.1.1.Final
>            Reporter: Nicklas Karlsson
>            Assignee: Ales Justin
>             Fix For: 1.1.2.Final
>
>
> A method that negates the propagation of the cid parameter by the ConversationAwareViewHandler so that a non-transient is not resumed even if there is a cid parameter in the request. Stripping it out on a per-component-basis is tricky.
> Suggested implementation: change the last line in WeldPhaseListener.getConversationId to
> return facesContext.getExternalContext().getRequestParameterMap().containsKey("nocid") ? null : cid;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list