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

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

Minimal example dialog:

 
  

        
6条回答
  •  醉酒成梦
    2020-11-22 15:41

    I use this solution:

    JSF code:

    
    ...
    
    
    

    Backing bean code:

    public void saveTable() {
        RequestContext rc = RequestContext.getCurrentInstance();
        rc.execute("PF('dlgModify').hide()");
    }
    

提交回复
热议问题