From jira-events at lists.jboss.org Fri Oct 28 09:04:45 2011 Content-Type: multipart/mixed; boundary="===============3086848870980788924==" MIME-Version: 1.0 From: Ales Justin (Commented) (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: Fri, 28 Oct 2011 09:04:45 -0400 Message-ID: <1837681499.37575.1319807085554.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 919417920.18945.1306165020903.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============3086848870980788924== 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=3D12638284#com= ment-12638284 ] = Ales Justin commented on WELD-909: ---------------------------------- Does fixing WELD-877 help somehow here? = > 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 --===============3086848870980788924==--