[
https://issues.jboss.org/browse/WELD-919?page=com.atlassian.jira.plugin.s...
]
Nicklas Karlsson commented on WELD-919:
---------------------------------------
"none" would be the default and would leave the conversation in the background
to be resumed (until it would timeout) while "end" would call for an explicit
end of the non-transient conversation indicated by the cid.
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