I am having a rich:popupPanel on page which takes some text as input and I have put validation on that input text field. Now if we press <a4j:commandButton> first time it will execute everything properly, but second time won't work.
<a4j:commandButton styleClass="button" id="addFieldBtn" value="#{msg.Add}"
oncomplete="if(#{messageDataBean.isSuccess}) {#{rich:component('fieldPopUp')}.hide();}"
action="#{categoryServiceBean.addAddtionalFields}" render="fieldList"/>
My messageDataBean and categoryServiceBean are request scoped.