-
Bug
-
Resolution: Unresolved
-
Critical
-
1.0.1.Final
-
None
I created a long running conversation by running a method on a conversation scoped bean:
private boolean initialized;
public void init() {
if(initialized) return;
conversation.begin();
initialized = true;
}
From a facelets page using the JSF2 event system:
<f:metadata>
<f:event type="preRenderView" listener="#
" />
</f:metadata>
If a conversation has been made long-running, the h:link tag will produce links with the conversation query parameter, thereby propagating the conversation whether that was what you wanted or not.
I.e:
<p>Link: <h:link outcome="page2.xhtml" value="a link" /></p>
produces
<p>Link: <a href="/CdiConvoBug/page2.jsf?cid=3">a link</a></p>