Re: AjaxFormComponentUpdatingBehavior is not called when the textfield is set as required field.

2010-06-22 Thread Steve Mactaggart
The form will be validated first, and if there is no information entered the Required validation will fail and so the form will not be updated. Wicket ensures that the model object is always consistent by ensuring that the components are Validated before their value is pushed into the model. In

Re: AjaxFormComponentUpdatingBehavior is not called when the textfield is set as required field.

2010-06-22 Thread jammyjohn
Thanks for your input. It was very useful. J. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-is-not-called-when-the-textfield-is-set-as-required-field-tp2263486p2264933.html Sent from the Wicket - User mailing list archive at

AjaxFormComponentUpdatingBehavior is not called when the textfield is set as required field.

2010-06-21 Thread jammyjohn
Hi, If the setRequired is set to true, then the println statement is not called, otherwise it is called. Not sure, where I am doing wrong. Please suggest. final TextFieldString name= new TextFieldString(name); name.setRequired(true);