0 Replies Latest reply on Jan 23, 2013 6:50 AM by Christophe Noel

    PopupPanel rendering get an error with Liferay Faces Bridge

    Christophe Noel Newbie

      Hello,

       

      Using Liferay Faces Bridge 3.1.0 (I don't know for other bridges), I get an ajax error when trying to render any popupPanel.

      This problem has been reported on Richfaces JIRA : https://issues.jboss.org/browse/RF-12752

       

      The problem can be reproduced simply by trying to render any popup panel (here below the simplest one)

       

        <rich:popupPanel id="offeringInfoPanel" modal="false" resizeable="true">
      
                          <a4j:commandButton value="test" render="offeringInfoPanel">
                          </a4j:commandButton>
                </rich:popupPanel>
      

       

      Richfaces log:

       

      info [12:45:31.726]: Received 'begin' event from <input id=A8569:j_idt126 ...>
      info [12:45:31.766]: Received 'beforedomupdate' event from <input id=A8569:j_idt126 ...>
      debug[12:45:31.766]: Server returned responseText: <partial-response><changes><update id="A8569:offeringInfoPanel"><![CDATA[<div id="A8569:offeringInfoPanel" style="visibility: hidden;"><div class="rf-pp-cntr " id="A8569:offeringInfoPanel_container" style="position: fixed; z-index:100; "><div class="rf-pp-shdw" id="A8569:offeringInfoPanel_shadow"></div><div class="rf-pp-cnt-scrlr" id="A8569:offeringInfoPanel_content_scroller"><div class="rf-pp-cnt" id="A8569:offeringInfoPanel_content"><input id="A8569:j_idt126" name="A8569:j_idt126" onclick="RichFaces.ajax(&quot;A8569:j_idt126&quot;,event,{&quot;incId&quot;:&quot;1&quot;} );return false;" value="test" type="submit" /></div></div><div class="rf-pp-hndlr rf-pp-hndlr-l" id="A8569:offeringInfoPanelResizerW"></div><div class="rf-pp-hndlr rf-pp-hndlr-r" id="A8569:offeringInfoPanelResizerE"></div><div class="rf-pp-hndlr rf-pp-hndlr-t" id="A8569:offeringInfoPanelResizerN"></div><div class="rf-pp-hndlr rf-pp-hndlr-b" id="A8569:offeringInfoPanelResizerS"></div><div class="rf-pp-hndlr rf-pp-hndlr-tl" id="A8569:offeringInfoPanelResizerNW"></div><div class="rf-pp-hndlr rf-pp-hndlr-tr" id="A8569:offeringInfoPanelResizerNE"></div><div class="rf-pp-hndlr rf-pp-hndlr-bl" id="A8569:offeringInfoPanelResizerSW"></div><div class="rf-pp-hndlr rf-pp-hndlr-br" id="A8569:offeringInfoPanelResizerSE"></div></div><script type="text/javascript">new RichFaces.ui.PopupPanel("A8569:offeringInfoPanel",{"modal":false,"resizeable":true} );</script></div>]]></update><update id="A8569:uiSearchForm:j_idt13"><![CDATA[<span id="A8569:uiSearchForm:j_idt13"> <div id="messageD"> <table id="messageT" class="rich-messages"> </table> </div></span>]]></update><update id="javax.faces.ViewState"><![CDATA[9218369285307751802:-4584128044205800386]]></update></changes></partial-response>
      info [12:45:31.770]: Listing content of response changes element:
      Element update for id=A8569:offeringInfoPanel
      <update id="A8569:offeringInfoPanel"><![CDATA[<div id="A8569:offeringInfoPanel" style="visibility: hidden;"><div class="rf-pp-cntr " id="A8569:offeringInfoPanel_container" style="position: fixed; z-index:100; "><div class="rf-pp-shdw" id="A8569:offeringInfoPanel_shadow"></div><div class="rf-pp-cnt-scrlr" id="A8569:offeringInfoPanel_content_scroller"><div class="rf-pp-cnt" id="A8569:offeringInfoPanel_content"><input id="A8569:j_idt126" name="A8569:j_idt126" onclick="RichFaces.ajax(&quot;A8569:j_idt126&quot;,event,{&quot;incId&quot;:&quot;1&quot;} );return false;" value="test" type="submit" /></div></div><div class="rf-pp-hndlr rf-pp-hndlr-l" id="A8569:offeringInfoPanelResizerW"></div><div class="rf-pp-hndlr rf-pp-hndlr-r" id="A8569:offeringInfoPanelResizerE"></div><div class="rf-pp-hndlr rf-pp-hndlr-t" id="A8569:offeringInfoPanelResizerN"></div><div class="rf-pp-hndlr rf-pp-hndlr-b" id="A8569:offeringInfoPanelResizerS"></div><div class="rf-pp-hndlr rf-pp-hndlr-tl" id="A8569:offeringInfoPanelResizerNW"></div><div class="rf-pp-hndlr rf-pp-hndlr-tr" id="A8569:offeringInfoPanelResizerNE"></div><div class="rf-pp-hndlr rf-pp-hndlr-bl" id="A8569:offeringInfoPanelResizerSW"></div><div class="rf-pp-hndlr rf-pp-hndlr-br" id="A8569:offeringInfoPanelResizerSE"></div></div><script type="text/javascript">new RichFaces.ui.PopupPanel("A8569:offeringInfoPanel",{"modal":false,"resizeable":true} );</script></div>]]></update>
      Element update for id=A8569:uiSearchForm:j_idt13
      <update id="A8569:uiSearchForm:j_idt13"><![CDATA[<span id="A8569:uiSearchForm:j_idt13"> <div id="messageD"> <table id="messageT" class="rich-messages"> </table> </div></span>]]></update>
      Element update for id=javax.faces.ViewState
      <update id="javax.faces.ViewState"><![CDATA[9218369285307751802:-4584128044205800386]]></update>
      
      error[12:45:31.771]: Received 'error@malformedXML' event from <input id=A8569:j_idt126 ...>
      error[12:45:31.771]: [200] undefined: undefined
      info [12:45:31.772]: Received 'complete' event from <input id=A8569:j_idt126 ...>