Hello! i´m done a ModalWindow the question, where it's show two button: yes
/ no. When the user do click the button,  i done a close the ModalWindow and
have a error.

Help me!


  AjaxButton yesB= new AjaxButton("YesButton"){
            public void onSubmit(AjaxRequestTarget target, Form form){
                confirm.setAnswer(true);
                AjaxRequestTarget art = AjaxRequestTarget.get();
                if (art != null) {
                        dialog.close(target);
               }
               
            };


        };

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ModalWindow-Question-tp2279695p2279695.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to