Struts Validator Example

P

pincopallo_it

I got my validation.xml which works really well when it checks in the
jsp if the user wrote something in the form.
I m getting crazy to tell the validation.xml to be sure the user
selected one of this selectbox in the jsp !!!

<div align="center">

<html:select size="8" property="variabile"
multiple="true" onchange="aggiornamisure(false);">
<logic:iterate id="variabile" name="variabili" scope="request">
<html:eek:ption
value="<%=((DistinctVarmetValue)variabile).getCOD_VARMET()%>">
<%=((DistinctVarmetValue)variabile).getDESCR_VARMET()%>
</html:eek:ption>
</logic:iterate>
</html:select>

</div>

Any idea?
Thanks
Gio
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top