RE: Good way to remove validation globally from a page or panel

2011-03-05 Thread Brown, Berlin [GCG-PFS]
ation approach I mention above. -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Saturday, March 05, 2011 3:59 AM To: users@wicket.apache.org Subject: Re: Good way to remove validation globally from a page or panel When you are in View mode then either your component

Re: Good way to remove validation globally from a page or panel

2011-03-05 Thread Martin Grigorov
When you are in View mode then either your components are not form components (e.g. is replaced with //...) or as you said they are disabled. Form submit will not send name/value pair for disabled form elements. I think the first approach is better regarding user experience. See visural's "view o

Good way to remove validation globally from a page or panel

2011-03-04 Thread Brown, Berlin [GCG-PFS]
If I am using AbstractFormValidator and in some places, I am using setRequired, default validation on components. What is the best way to remove the validation "temporarily" Let's say I am in a view only mode and fields are disabled, I want to remove validation. And then later on, may add back t