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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to