Keep p:dialog open when a validation error occurs after submit

后端 未结 6 508
我在风中等你
我在风中等你 2020-11-22 15:22

Minimal example dialog:

 
  

        
6条回答
  •  感情败类
    2020-11-22 15:52

    The easiest solution is to not have any "widget.hide", neither in onclick, neither in oncomplete. Remove the hide functions and just put

    visible="#{facesContext.validationFailed}" 
    

    for the dialog tag

提交回复
热议问题