Sorry, HTML is:

<form wicket:id="form">

... some fields...

<input type="submit" wicket:id="submit" class="some_class" />

</form>




----- Цитат от martin.ase...@mail.bg, на 02.09.2011 в 18:50 -----



Hello, guys, 


I'm experiencing some very strange problem - an AjaxButton's onSubmit never
gets called. 


Here are snippets of what I have: 


HTML: 


... some fields...


in code: 


Form form = new Form("form"); 


AjaxButton submitButton = new AjaxButton("submit") { 


public void onSubmit(ART target, Form form) { 


System.out.println("clicked"); // never printed


... some logic ... 


} 


}; 


form.add(submitButton); 


add(form); 


The above statement and logic are never reached.
The Ajax debugger prints nothing. 


Any help is appreciated. 


Thanks,
Martin 

-------------------------------------



-------------------------------------
Mail.bg: Безплатен e-mail адрес. Най-добрите характеристики на българския пазар 
- 10 GB пощенска кутия, 20 MB прикрепен файл, безплатен POP3, мобилна версия, 
SMS известяване и други.

Reply via email to