Re: AjaxFormComponentUpdatingBehavior is not working

2014-08-06 Thread brushmate
This is the produced HTML for selSupplier: lt;select name=parameterPanel:selSupplier id=selSupplier9gt; lt;option value=0gt;Supplier 0lt;/optiongt; lt;option value=1gt;Supplier 1lt;/optiongt; lt;option value=2gt;Supplier 2lt;/optiongt;lt;option value=3gt;Supplier 3lt;/optiongt;

Re: AjaxFormComponentUpdatingBehavior is not working

2014-08-06 Thread Martin Grigorov
Hi, Sorry. You said script (and I repeated it) but I actually thought about select ... Do you use IHeaderResponseDecorator in YourApplication ? ( http://wicketinaction.com/2012/07/wicket-6-resource-management/) Is it possible that you filter out all JavaScriptHeaderItems by chance ? Martin

Re: AjaxFormComponentUpdatingBehavior is not working

2014-08-06 Thread brushmate
No I do not use any Decorator. I have another page where I am using an AjaxSelfUpdatingTimerBehavior which updates the contents of the page periodically. All components of this page are in the same project. The page is working and updates its contents every 2 seconds. Also the lt;scriptgt; tags

Re: AjaxFormComponentUpdatingBehavior is not working

2014-08-06 Thread Martin Grigorov
Do you override AjaxFormComponentUpdatingBehavior#renderHead() without calling super.renderHead() ? You pasted an excerpt of the panel, so I should ask .. :-) Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Aug 6, 2014 at 9:22 AM, brushmate

Re: AjaxFormComponentUpdatingBehavior is not working

2014-08-06 Thread brushmate
I have done a terrible mistake... I have been working on an old file that actually was not invoked in the current version of the webapp. Everything is working as expected. I am so sorry for wasting your time :-( Thank you very much for trying to help me anyways. Once again sorry! -- View this

Re: AjaxFormComponentUpdatingBehavior is not working

2014-08-05 Thread Martin Grigorov
Hi, By using Ajax behavior/component you make the page stateful. I guess you want it to be stateless (because you use StatelessForm). Aren't there any errors in the server logs or in the browser's JS console ? Wicket Ajax Debug console appears only in DEV mode and only when there is an Ajax

Re: AjaxFormComponentUpdatingBehavior is not working

2014-08-05 Thread brushmate
Sorry I have finished work for today, I will post the output tomorrow. The generated HTML does not contain any script tags, so no JavaScript is loaded. Wicket is in DEV mode. I created another Wicket application and also used a StatelessForm, FormComponentPanel, two DropDownChoices and an

Re: AjaxFormComponentUpdatingBehavior(onchange) not working on DropDownChoice

2011-07-18 Thread Martin Grigorov
textField.setOutputMarkupPlaceholderTag(true); On Mon, Jul 18, 2011 at 1:16 PM, lucast lucastol...@hotmail.com wrote: Dear Forum, I have added AjaxFormComponentUpdatingBehavior to a DropDownChoice to hide a text field or to make it visible, according to the value selected from DropDownChoice.