From jira-events at lists.jboss.org Wed Mar 10 07:26:37 2010 Content-Type: multipart/mixed; boundary="===============7365260376634203181==" MIME-Version: 1.0 From: Eduardo RC (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Created: (RF-8502) rich:ModalPanel show & hide breaks Modal panel layout Date: Wed, 10 Mar 2010 07:26:37 -0500 Message-ID: <1948084675.1268223997709.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> --===============7365260376634203181== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable rich:ModalPanel show & hide breaks Modal panel layout ----------------------------------------------------- Key: RF-8502 URL: https://jira.jboss.org/jira/browse/RF-8502 Project: RichFaces Issue Type: Bug Security Level: Public (Everyone can see) Components: component Affects Versions: 3.3.1 Environment: Java 1.5, JBOSS 4.3, RichFacess 3.3.1, JSF 1.2 Reporter: Eduardo RC When using Javascript to show and hide any ModalPanel the second show actio= n the second show action shows the ModalPanel in the top left instead of th= e center of the screen To create a demo: 1.- Create a rich:modalPanel with showWhenRendered=3D"false" = 2.- Create a button to show using the javascript code : Richfaces.showModa= lPanel('') or #{rich:component('')}.show(); 3.- Create a button into the ModalPanel to hide using the javascript code: = Richfaces.hideModalPanel('') or #{rich:component('')}.hide(); To Reproduce: 1.- Clik on the show button 2.- Click on the hide button 3.- Click on the show button again. The window now appears in left top inst= ead of centered Example code: CLOSEME CLOSEME OPEN ME = -- = 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 --===============7365260376634203181==--