k you all!
--
View this message in context:
http://www.nabble.com/Form-skips-validation-for-disabled-not-visible-components-tp24790510p24809865.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscrib
mponents) {
> >this.components = components;
> >}
> >
> >public void validate(Form form)
> > {
> > for(FormComponent c: components) {
> > validateRequired();
> >
Validator extends AbstractFormValidator {
>> private List components;
>>
>> public RequiredFieldsValidator(List components) {
>> this.components = components;
>> }
>>
>> public void validate(Form form)
>> {
>> for(FormComponent
validateRequired();
> }
> }
> }
>
> --
> View this message in context:
> http://www.nabble.com/Form-skips-validation-for-disabled-not-visible-components-tp24790510p24792189.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---
}
}
--
View this message in context:
http://www.nabble.com/Form-skips-validation-for-disabled-not-visible-components-tp24790510p24792189.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsu
1. If you in control of the input of these disabled fields, why allowing
illegal arguments in the first place?
2. If you can't control the entered values, try use FormValidator. With this
class, you can create your own Validate logic with the desired fields.
Eyal Golan
egola...@gmail.com
Visit: h
Hi all! I've a situation where I want the form to validate some hidden or
disabled field.
An example is a text field where the user is not allowed to write directly
but only insert some items from some source, a lookup button (this is
much more flexible than a drop down box!).
I set this compo