From jira-events at lists.jboss.org Tue Jan 12 12:01:31 2010 Content-Type: multipart/mixed; boundary="===============7013677146866065863==" MIME-Version: 1.0 From: Chris Simons (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Commented: (RF-5752) reRender of components inside modalPanel does not work Date: Tue, 12 Jan 2010 12:01:31 -0500 Message-ID: <1482450457.1263315691522.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> In-Reply-To: 21180299.1232029812433.JavaMail.jira@cloud.prod.atl2.jboss.com --===============7013677146866065863== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/RF-5752?page=3Dcom.atlassian.jira.= plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12503692#a= ction_12503692 ] = Chris Simons commented on RF-5752: ---------------------------------- I have the exact same issue, running RF 3.3.2.SR1. Any JSF component insid= e of the modal panel will not reRender properly, even though the backing be= an value is set accordingly and verified. I have tried everything - from a= series of a4j:outputPanels, to a4j:form, what have you - I have even tried= manually clearing out the JSF component tree of the modal panel. It's very clear that this is a reproducible issue and I hope the RF team wi= ll reevaluate. > reRender of components inside modalPanel does not work > ------------------------------------------------------ > > Key: RF-5752 > URL: https://jira.jboss.org/jira/browse/RF-5752 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) = > Affects Versions: 3.2.2 > Environment: Microsoft Windows XP, Tomcat 6.0.16 > Reporter: Juan Ignacio Garzon > Assignee: Tsikhon Kuprevich > > I have a table showing items and a button to edit them. When I click on t= he button, the entity is set on a session bean property, and a modal panel = appears, with a form to edit the selected entity (in the example, the entit= y has only a name). > The first time I select an entity, the modal panel shows an inputText wit= h the name of the entity, in order to edit it. After that first time, the i= nputText in the modal panel never changes again, it will show always the na= me of that first entity. > I also have an inputText outside the modalpanel that rerenders every time= the edit button is clicked, and It changes every time another entity is se= lected. > Here is a reduced version of the code that also shows the problem: > > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > 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" > xmlns:a4j=3D"http://richfaces.org/a4j" > xmlns:rich=3D"http://richfaces.org/rich" > xmlns:t=3D"http://myfaces.apache.org/tomahawk" > xmlns:bdrc=3D"http://www.pan-energy.com.ar/bdrc"> > > var=3D"msg" /> > var=3D"msgEntidad" /> > > > > > > > > > > > oncomplete=3D"javascript:Richfaces.showModalPanel('ventanaEditar');" > reRender=3D"nombre, nombre2"> > assignTo=3D"#{paisController.entidadSeleccionada}" > converter=3D"#{paisController.converterEntidad}" /> > style=3D"cursor:pointer; border: 0px" /> > > > > > > > resizeable=3D"false"> > = > > > > = > action=3D"#{paisController.guardarEntidadSeleccionada}" > reRender=3D"formListado" > oncomplete=3D"javascript:windowclose_ventanaEditar();" > style=3D"float:right" status=3D"statusGeneral" immediate=3D"false"> > style=3D"cursor:pointer; border: 0px" /> > > > action=3D"#{paisController.cancelarModificacion}" > reRender=3D"formListado" > oncomplete=3D"javascript:windowclose_ventanaEditar();" > styleClass=3D"botonLink" style=3D"float:right" status=3D"statusGenera= l" > immediate=3D"true"> > style=3D"cursor:pointer; border: 0px" /> > > > > > > > -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============7013677146866065863==--