You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2010/09/11 17:07:32 UTC

[jira] Assigned: (WICKET-3042) AjaxLink does not work

     [ https://issues.apache.org/jira/browse/WICKET-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reassigned WICKET-3042:
---------------------------------------

    Assignee: Martin Grigorov

> 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
>            Assignee: Martin Grigorov
>             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.