2 Replies Latest reply on May 11, 2012 9:25 AM by segu

    h and a4j commandButton in popupPanel

    segu Newbie

      Hello,

       

      First of all i am using Jboss 6.1, JSF 2 and Richfaces 4.2.

      In a xhtml page I call a popup to edit or add users. In the popup, validators are applied on inputText.

      - If I use h:commandButton data are updated/added and the popup close normaly. But, in case of error, validators do not show messages (the popup close, and data are not updated/added)

      - If I use a4j:commandButton data are updated/added and in case of error validators show messages. But the popup does not close.

       

      Code in attachment. commandButton are lines 267-281

       

      I do not understand how I can close popup normaly AND have validators messages...

       

      Thx for your help