[weld-issues] [JBoss JIRA] Commented: (WELD-919) Conversation propagation token that negates the "cid" parameter
Nicklas Karlsson (JIRA)
jira-events at lists.jboss.org
Thu Jun 9 06:21:59 EDT 2011
[ https://issues.jboss.org/browse/WELD-919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607403#comment-12607403 ]
Nicklas Karlsson commented on WELD-919:
---------------------------------------
Of course, this could be expanded in Seam2-style to name the parameter "conversationPropagation" and have values of "none" and "end" to differ between just abandoning the conversation and ending it.
> 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