2 Replies Latest reply on May 19, 2008 4:24 AM by leelavathic leelavathic

    Java script error in cancel request - richfaces-3.2.0

    leelavathic leelavathic Novice

      Hi,

      From a modal panel, if i select cancel button, the same page from where this modal panel is intiated has to be rendered. But in the process, I am getting java script error from ajax4jsf and the blank page is getting displayed. I am getting this error only with richfaces 3.2.0 and no issues with richfaces 3.1.3.

      Code:
      <a4j:commandButton value="#{myBean.modalButton}" action="cancel" styleClass="rsButton" immediate="true" oncomplete="javascript:Richfaces.hideModalPanel('myModalPanel')"></a4j:commandButton>

      Can anybody suggest me if any solution?

      Thanks in advance!