3 Replies Latest reply on Sep 14, 2007 5:01 PM by khanmurtuza

    rich:modalPanel and required input field


      I have a h:inputText component as required inside rich:modalPanel, but it does't sees to work and submits the form..

      <a href="javascript:Richfaces.showModalPanel('cancelConfirm',{width:450, top:200})">

      <rich:modalPanel id="cancelConfirm" minHeight="200" minWidth="450"
      height="200" width="500" zindex="2000">
      <h:inputText id="cancelConfirmComment" value="#{cancel.comment}" required="true"/>
      <h:message for="cancelConfirmComment" />
      <a4j:commandButton action="#{cancelOrder}" value="Submit"/>