[Wicket-user] wicket-ajax.js sometime missing in Wicket 1.2.6

2007-07-06 Thread Conglun Yao
Hi, I met a problem similar to WICKET-281https://issues.apache.org/jira/browse/WICKET-281. It sill happens even after our project moves to wicket 1.2.6. I can regenerate this error (JavaScript errors Object expected), when 1) submit a form which will update ListView in the same page and clear

Re: [Wicket-user] wicket-ajax.js sometime missing in Wicket 1.2.6

2007-07-06 Thread Igor Vaynberg
On 7/6/07, Conglun Yao [EMAIL PROTECTED] wrote: Hi, I met a problem similar to WICKET-281https://issues.apache.org/jira/browse/WICKET-281. It sill happens even after our project moves to wicket 1.2.6. I can regenerate this error (JavaScript errors Object expected), when this is not the

Re: [Wicket-user] wicket-ajax.js sometime missing in Wicket 1.2.6

2007-07-06 Thread Conglun Yao
Hi igor, Thanks for your help. But I really can not see wicket-ajax.js in the html source code. The hierarchy of my ListView is Border | ItemForm (Form) |--- TextField, DropDownChoice, submit button | --- ItemsContainer (WebMarkupContainer) | --- ListView

Re: [Wicket-user] wicket-ajax.js sometime missing in Wicket 1.2.6

2007-07-06 Thread Igor Vaynberg
On 7/6/07, Conglun Yao [EMAIL PROTECTED] wrote: Hi igor, Thanks for your help. But I really can not see wicket-ajax.js in the html source code. The hierarchy of my ListView is Border | ItemForm (Form) |--- TextField, DropDownChoice, submit button | ---

Re: [Wicket-user] wicket-ajax.js sometime missing in Wicket 1.2.6

2007-07-06 Thread Conglun Yao
Three kinds of Errors (testing under firefox): wicketAjaxGet is not defined.(when changing the ajax DropDownChoice) wicketAjaxPost is not defined. (when submit form from ajax button) wicketSubmitFormById is not defined. (when submit form from plain submit-button) Conglun On 7/7/07,

Re: [Wicket-user] wicket-ajax.js sometime missing in Wicket 1.2.6

2007-07-06 Thread Igor Vaynberg
On 7/6/07, Conglun Yao [EMAIL PROTECTED] wrote: Three kinds of Errors (testing under firefox): wicketAjaxGet is not defined.(when changing the ajax DropDownChoice) wicketAjaxPost is not defined. (when submit form from ajax button) wicketSubmitFormById is not defined. (when submit form

Re: [Wicket-user] wicket-ajax.js

2007-03-16 Thread Yoav Landman
Sorry, it is still broken. I updated WICKET-387. Matej Knopp-2 wrote: Actually, it should be fixed already. Can you please check if it works as it should? -Matej On 3/14/07, Vincent Demay [EMAIL PROTECTED] wrote: Hi I do not see difference between you two ;) samples but maybe you

[Wicket-user] wicket-ajax.js

2007-03-14 Thread ChuckDeal
wicket-ajax.js (revision 518211) appears to have a problem. I think lines 296-299 should be var e = element.childNodes[i]; if (e.tagName != null) { result += Wicket.Form.serialize(e); } but right now they are var e = element.childNodes[i] { if (e.tagName != null) {

Re: [Wicket-user] wicket-ajax.js

2007-03-14 Thread Matej Knopp
Actually, it should be fixed already. Can you please check if it works as it should? -Matej On 3/14/07, Vincent Demay [EMAIL PROTECTED] wrote: Hi I do not see difference between you two ;) samples but maybe you was talking about that : https://issues.apache.org/jira/browse/WICKET-387. I

Re: [Wicket-user] wicket-ajax.js

2007-03-14 Thread ChuckDeal
Sorry, I should have been explicit about what I was pointing out. The last char of the first line (var e ...) should be a semicolon, not an open brace as it is in the second snippet. And yes, the reason why I even was looking was because of WICKET-387. I patched my code to fix it and will

Re: [Wicket-user] wicket-ajax.js

2007-03-14 Thread Matej Knopp
heh, of course. sorry for that. i wonder how could i have missed that, as i have tested script. -Matej On 3/14/07, ChuckDeal [EMAIL PROTECTED] wrote: Sorry, I should have been explicit about what I was pointing out. The last char of the first line (var e ...) should be a semicolon, not an