[
https://issues.jboss.org/browse/WELD-919?page=com.atlassian.jira.plugin.s...
]
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