Hi,

how can I achieve something like that:


abschliessen = (SubmitLink) new SubmitLink("abschliessen", antwortForm) {
            @Override
            public void onSubmit() {
                preQuestionInit();
                Worker.ClosingTestprocedure(tp);
                preQuestionInit();
            }
        }
                .add(new SimpleAttributeModifier(
                        "onclick",
                        "return confirm('Information...');"));

I detected, that the add Statement overwrites the "onclick" handler for the 
form submit! How can I have both: After click on the "Ok-Button" it should fire 
up the form.





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

Reply via email to