Hello, 

I already use 1.4-rc2 for my projects, and found some error within the
SubmitLink. 

Form form = new Form("webform"){
            public void onSubmit(){
                System.out.println("on form submit");
            }
        };
        add(form);
        form.add(new SubmitLink("btnSubmit1"){
            public void onSubmit(){
                System.out.println("on submit link clicked - ON FORM");
            }
        });
        add(new SubmitLink("btnSubmit2", form){
            public void onSubmit(){
                System.out.println("on submit link clicked - OUTSIDE FORM");
            }
        });

The submit link that's on the form functions correctly, but the one outside
doesn't. on submit link clicked - OUTSIDE FORM doesn't get printed. I tested
with 1.4-rc1 and that works correctly.

Do I need to report jira for this or is 1.4-rc2 still under massive
construction? Thanks. Marieke.
-- 
View this message in context: 
http://www.nabble.com/SubmitLink-only-calls-form.onsubmit-with-1.4-rc2-tp21913795p21913795.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