Hi again,

I'm having a problem getting the select component to validate.  I do:

<t:select t:validate="required" t:model="model" ... etc />

where model is defined by:

SelectModel model = new SelectModelImpl(new LinkedList<OptionGroupModel>(), new LinkedList<OptionModel>());

  model.getOptions().add(new OptionModelImpl(NO_VALUE_STR, false, null));
  model.getOptions().add(new OptionModelImpl("option 1", false, "1"));
  model.getOptions().add(new OptionModelImpl("option 2", false, "2"));


which seems very simple, but it does not validate. If I select null in the list and submit the enclosing form, no validation message is displayed client-side, and no validation takes place on the server, either.

Thoughts?

Thanks again,
Marc


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to