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

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

Minimal example dialog:

 
  

        
6条回答
  •  青春惊慌失措
    2020-11-22 15:56

    Using the oncomplete attribute from your command button and really simple script will help you a lot.

    Your dialog and command button would be something similar to this:

    
       
           
       
     
    

    An the script would be something like this:

    
    

提交回复
热议问题