How to find indication of a Validation error (required=“true”) while doing ajax command

前端 未结 4 1614
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-29 22:45

I have a form inside a dialog which I close by clicking on commandbutton with ajax ,

like this



        
4条回答
  •  天命终不由人
    2020-11-29 23:03

    I think you should take a look at PrimeFaces' RequestContext. This would help you trigger client-side code on the server side.

提交回复
热议问题