you can use that yourFormComponent.setEnabled( false );
François
Le 11 oct. 2012 à 14:55, l yeung lenming.ye...@gmail.com a écrit :
Hi,
How do I veto textfield inputChanged()?
I need to prevent this from happening inside
AjaxFormComponentUpdatingBehavior(onchange).
protected void
Overwrite getUpdateModel() to return false.
Sven
l yeung lenming.ye...@gmail.com schrieb:
Hi,
How do I veto textfield inputChanged()?
I need to prevent this from happening inside
AjaxFormComponentUpdatingBehavior(onchange).
protected void onUpdate(AjaxRequestTarget target) {
String name =
Why not create a validator that does your check? You can use the
converted input prior to the model update and if. The validation
reports an error, the model is not updated
On 11 okt. 2012, at 18:48, Sven Meier s...@meiers.net wrote:
Overwrite getUpdateModel() to return false.
Sven
l yeung