Re: Select box and validation

2008-03-25 Thread Julian Wood
So to finish this thread, the workaround is to create your own component, copy the entire Select component source, and make one change: void beginRender(MarkupWriter writer) { writer.element("select", "name", getControlName(), "id", getClientId()); _validate.render(writer

Select box and validation

2008-03-24 Thread Julian Wood
The situation is this: I have a select box in a form, and I want to make it required. This is simple enough, but the blank option disappears when the required validation is applied, client-side validation is not performed, and is indeed not needed, because there are no blank values. As a c