From jira-events at lists.jboss.org Wed Jun 9 07:58:38 2010 Content-Type: multipart/mixed; boundary="===============3204265124507332938==" MIME-Version: 1.0 From: Nicklas Karlsson (JIRA) To: weld-issues at lists.jboss.org Subject: [weld-issues] [JBoss JIRA] Commented: (WELD-549) Conversation propagated by default with h:link Date: Wed, 09 Jun 2010 07:58:38 -0400 Message-ID: <1353324366.5939.1276084718124.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 1420522965.3152.1276002398134.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============3204265124507332938== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/browse/WELD-549?page=3Dcom.atlassian.jira.plug= in.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12534714#actio= n_12534714 ] = Nicklas Karlsson commented on WELD-549: --------------------------------------- Dan appears to have been thinking about this at some point. From the header= block of ConversationAwareViewHandler: * QUESTION should we do the same for getResourceURL? * TODO we should enable a way to disable conversation propagation by URL * = * @author Dan Allen */ > Conversation propagated by default with h:link > ---------------------------------------------- > > Key: WELD-549 > URL: https://jira.jboss.org/browse/WELD-549 > Project: Weld > Issue Type: Bug > Components: Web Tier integration (JSF, JSP, EL and Servlet) = > Affects Versions: 1.0.1.Final > Environment: GlassFish Server Open Source Edition 3.0.1 on Mac OS= 10.6 and Windows 7. WELD-000900 1.0.1 (SP2) > Reporter: David Beaumont > Assignee: Nicklas Karlsson > Fix For: 1.0.2.CR1 > > Attachments: CdiConvoBug.war > > > I created a long running conversation by running a method on a conversati= on scoped bean: > private boolean initialized; > public void init() { > if(initialized) return; > conversation.begin(); > initialized =3D true; > } > From a facelets page using the JSF2 event system: > > > > If a conversation has been made long-running, the h:link tag will produce= links with the conversation query parameter, thereby propagating the conve= rsation whether that was what you wanted or not. > I.e: >

Link:

> produces >

Link: a link

-- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============3204265124507332938==--