Primefaces Captcha disappears or doesn't update/refresh on invalid input?

后端 未结 4 1137
攒了一身酷
攒了一身酷 2021-01-13 10:33

I have the following piece of code inside an h:form


    

        
4条回答
  •  感动是毒
    2021-01-13 10:56

    It is dirty but try using captcha on on dialog. it is working for me....

      
    
            
                
    
                    
                    
    
                
            
        
    

    MyBean------->

    public void onButtonAction(ActionEvent e) {
       RequestContext.getCurrentInstance().execute("captchaDlgWar.hide()");
       //Do your stuff
    }
    

提交回复
热议问题