AjaxLink does not work
----------------------
Key: WICKET-3042
URL: https://issues.apache.org/jira/browse/WICKET-3042
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.5-M2
Environment: Windows / maven 2.2.0
Reporter: Nino Martinez
Fix For: 1.5-M2
Attachments: problemwithajaxlink.zip
Below code never fires the onSubmit
HTML :
<a wicket:id="helloSubmit">Hello</a>
Java :
add(new AjaxSubmitLink("helloSubmit", form){
private static final long serialVersionUID = 1L;
@Override
protected void onSubmit(AjaxRequestTarget target,
Form<?> form) {
HomePage.this.text =
helloService.sayHello(name);
target.addComponent(label);
}
@Override
protected void onError(AjaxRequestTarget arg0, Form<?>
arg1) {
// TODO Auto-generated method stub
}
});
Please start the attached quickstart and press the Hello button, nothing
happens with 1.5-m2 but works with 1.5-m1.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.