2 Replies Latest reply on Apr 5, 2013 7:56 AM by Mahesh Bonagiri

    How to erase values in popuppannel

    Moazzam Munir Newbie

      I am using RichFaces 4 on Windows. When i click on Create button, then a popupPannel is displayed asking to enter values.

       

      If i enter some values and leave the remaining and press the save button on this panel, the error message appears because of validation. Now i press the cancel button to hide it.

       

      Now when i again click the create button, then same old values are still present, i want to know how do i erease them.

       

      Create Button

       

      <a4j:commandLink styleClass="no-decor" render="newGrid" execute="@this" oncomplete="#{rich:component('newPane')}.show()">

                <h:graphicImage value="resources/images/edit.gif" alt="edit" />

      </a4j:commandLink>

       

       

      Cancel Button

       

      <a4j:commandButton value=" #{msg.cancel} " onclick="#{rich:component('newPane')}.hide(); return false;" />