Re: [Wicket-user] Buttons not responding in IE
Yes! The pages have many panels with forms in them. At a point, two forms where the one inside the other, with the second one appearing conditionally and that's why it didn't occur to me earlier! Thanx a lot Igor! /Kostas igor.vaynberg wrote: is the button inside a form? -Igor On 8/9/06, wicket21 [EMAIL PROTECTED] wrote: I 've tried it, but it doesn't work. To be more precise here is the code : --This code does NOT work with IE: Page1.html : ... td align=right input type=submit wicket:id=proceedButton class=mybuttonfree / /td ... Page1.java : ... String proceedLabel =Proceed; Button proceedButton = new Button(proceedButton, new CompoundPropertyModel(proceedLabel)){ protected void onSubmit() { ... this.setResponsePage(page10.class); } }; add(proceedButton); ... --This code (from other page in project) works fine(!) with IE: Page2.html : ... td align=right input type=submit wicket:id=finalButton class=mybuttonfree /td ... Page2.java : ... String proceedLabel =Finish; Button finalButton = new Button(finalButton,new CompoundPropertyModel(proceedLabel)) { protected void onSubmit() { ... this.setResponsePage(page10.class); } }; add(finalButton); ... /Kostas igor.vaynberg wrote: you have to use input type=submit input type=button and button tags do not submit the form - or at least should not according to spec i think. they are only supposed to invoke onclick handlers where javascript either submits the form or does something else. i noticed that ffox will still submit the form sometimes if there is no onclick handler - which is wrong imho. -Igor -- View this message in context: http://www.nabble.com/Buttons-not-responding-in-IE-tf2073453.html#a5722057 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Buttons-not-responding-in-IE-tf2073453.html#a5792765 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Buttons not responding in IE
is the button inside a form?-IgorOn 8/9/06, wicket21 [EMAIL PROTECTED] wrote:I 've tried it, but it doesn't work. To be more precise here is the code : --This code does NOT work with IE:Page1.html :...td align=rightinput type=submit wicket:id=proceedButton class=mybuttonfree/ /td...Page1.java :...String proceedLabel =Proceed;Button proceedButton = new Button(proceedButton, newCompoundPropertyModel(proceedLabel)){protected void onSubmit() { ...this.setResponsePage(page10.class);}};add(proceedButton);...--This code (from other page in project) works fine(!) with IE:Page2.html :...td align=right input type=submit wicket:id=finalButton class=mybuttonfree/td...Page2.java :...String proceedLabel =Finish;Button finalButton = new Button(finalButton,new CompoundPropertyModel(proceedLabel)) {protected void onSubmit() {...this.setResponsePage(page10.class);}};add(finalButton);.../Kostasigor.vaynberg wrote: you have to use input type=submit input type=button and button tags do not submit the form - or at least should not according to spec i think. they are only supposed to invoke onclick handlers where _javascript_ either submits the form or does something else. i noticed that ffox will still submit the form sometimes if there is no onclick handler - which is wrong imho. -Igor--View this message in context: http://www.nabble.com/Buttons-not-responding-in-IE-tf2073453.html#a5722057 Sent from the Wicket - User forum at Nabble.com.-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Buttons not responding in IE
Hi, I'm new with wicket and have the following problem: I've used wicket for a site and tested it with firefox and works fine. When testing with IE I find that some buttons do not respond at all. In java I declare them as new Button ... (or even as Links) and tried in html with input ...type=button... or ...type=submit... or button When debugging I see that the java code is not reached (ie the code in either onSubmit or onClick). Does anyone have an idea why this happens? I'm using wicket-1.2-rc2, latest firefox, IE 6 under winXP+sp2. -- View this message in context: http://www.nabble.com/Buttons-not-responding-in-IE-tf2073453.html#a5709058 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Buttons not responding in IE
you have to use input type=submitinput type=button and button tags do not submit the form - or at least should not according to spec i think. they are only supposed to invoke onclick handlers where _javascript_ either submits the form or does something else. i noticed that ffox will still submit the form sometimes if there is no onclick handler - which is wrong imho.-IgorOn 8/8/06, wicket21 [EMAIL PROTECTED] wrote: Hi,I'm new with wicket and have the following problem:I've used wicket for a site and tested it with firefox and works fine. Whentesting with IE I find that some buttons do not respond at all. In java I declare them as new Button ... (or even as Links) and tried in html withinput ...type=button... or ...type=submit... or button When debugging I see that the java code is not reached (ie the code in eitheronSubmit or onClick).Does anyone have an idea why this happens?I'm using wicket-1.2-rc2, latest firefox, IE 6 under winXP+sp2. --View this message in context: http://www.nabble.com/Buttons-not-responding-in-IE-tf2073453.html#a5709058Sent from the Wicket - User forum at Nabble.com.-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user