Hi Martin,

i'm bit new to wicket and actually dont know what you mean by using ajax to
show messages. 

given below is my code for submit button if it helps. 

FMAjaxSubmitLink publishButton = new FMAjaxSubmitLink("Button") {

            private static final long serialVersionUID = 1L;

            @Override
            public void submit(AjaxRequestTarget target, Form<?> f) {
                isDraft = false;
                processSubmit(target, (PublishForm) form.getModelObject());
            }

            @Override
            protected void onError(AjaxRequestTarget target, Form<?> form) {
                setError("", null, target);
            }
        };

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Need-to-refresh-the-page-to-see-the-errors-on-feedbackpanel-tp4665139p4665142.html
Sent from the Users forum 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