[ 
https://issues.apache.org/jira/browse/WICKET-5599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003404#comment-14003404
 ] 

Peter Henderson commented on WICKET-5599:
-----------------------------------------

Probably because Bootstrap used it, and early on in my html coding days I just 
cut and paste the bootstrap button html, connected it to an AjaxSubmitLink. It 
worked so I paid it no more attention.

I am in the process of replacing buttons with <a>. 

> Cannot set response within a AjaxSubmitLink with button markup
> --------------------------------------------------------------
>
>                 Key: WICKET-5599
>                 URL: https://issues.apache.org/jira/browse/WICKET-5599
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.0.0-M1
>         Environment: linux tomcat
>            Reporter: Peter Henderson
>         Attachments: myproject.tar.gz
>
>
> A change from 6.15 where this worked.
> Using a <button> in the markup and AjaxSubmitLink in the code, I can no 
> longer set the response page from within onSubmit 
>       public void onSubmit(AjaxRequestTarget art, Form form) {
>         System.out.println("In onSubmit");
>         setResponsePage(new Page2(new PageParameters()));
>       } 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to