From jira-events at lists.jboss.org Sat Jan 28 16:33:49 2012 Content-Type: multipart/mixed; boundary="===============5952738090612226761==" MIME-Version: 1.0 From: Joern Ohmen (JIRA) To: weld-issues at lists.jboss.org Subject: [weld-issues] [JBoss JIRA] (WELD-909) Dual faces mapping and cid parameter for conversational redirect Date: Sat, 28 Jan 2012 16:33:48 -0500 Message-ID: <1701703772.6988.1327786428922.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 919417920.18945.1306165020903.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============5952738090612226761== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/WELD-909?page=3Dcom.atlassian.jira.pl= ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12662593#com= ment-12662593 ] = Joern Ohmen commented on WELD-909: ---------------------------------- I have the same problem, using this example: http://blog.goyello.com/2011/06/08/jee6-cdi-and-conversation-scope/ = > Dual faces mapping and cid parameter for conversational redirect > ---------------------------------------------------------------- > > Key: WELD-909 > URL: https://issues.jboss.org/browse/WELD-909 > Project: Weld > Issue Type: Bug > Components: Conversations > Affects Versions: 1.1.1.Final > Reporter: Nicklas Karlsson > > Given a page like > {code} > > > xmlns:ui=3D"http://java.sun.com/jsf/facelets" > xmlns:h=3D"http://java.sun.com/jsf/html" > xmlns:f=3D"http://java.sun.com/jsf/core"> > > > Concept > > > > > > > > > > > {code} > and a backing bean like > {code} > package fi.nik.concept; > import javax.enterprise.context.Conversation; > import javax.inject.Inject; > import javax.inject.Named; > @Named > public class BackingBean = > { > @Inject > private Conversation conversation; > public String nonTransient() = > { > conversation.begin(); > return "page?faces-redirect=3Dtrue"; > } > } > {code} > clicking "redirect" with non-transient conversations work fine but clicki= ng "non-transient" duplicates the faces mappings and cid to something like = http://localhost:8080/concept/faces/faces/page.xhtml?cid=3D1&cid=3D1 and cl= icking "redirect" after keeps the URL like that. > It works normally after that (since the faces mapping is still hit and th= e cid is repeated with the same value) but it looks a bit odd. > Would have written a test for it but git on Windows is... a bit nonlinear= at times. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.jboss.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============5952738090612226761==--