0 Replies Latest reply on May 5, 2009 11:10 AM by Roberto Requena

    componentControl dont show a modalPanel if a value required

    Roberto Requena Newbie

      How to avoid a run <rich:componentControl> a sample </ rich: modalPanel> if the required fields are not filled.

      If I have two text fields required and button that is assigned an event onclic if required fields are filled not avoid showing the modalPanel

      <a4j:commandButton action="#{procesoMasivo.procesarTodos}" value="Procesar Asientos" id="botonProcesar" />
      <rich:componentControl for="panelInfo" attachTo="botonProcesar" operation="show" event="onclick" disableDefault="true" />

      thanks for your help and sorry for my English