Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Struts Validator Example

Thread Tools

Struts Validator Example
Posts: n/a
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">
value="<%=((DistinctVarmetValue)variabile).getCOD_ VARMET()%>">
<%=((DistinctVarmetValue)variabile).getDESCR_VARME T()%>


Any idea?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Struts Validator - creditCard validator Java 4 02-13-2007 08:32 PM
sample struts w/ I18N and validator David Thielen Java 0 08-02-2003 02:07 AM
Struts validator regular expression for URL? Joe Bloggs Java 1 07-23-2003 08:33 PM
Struts Validator Eclipse plugin koduru Java 4 07-21-2003 04:11 AM
Struts Validator to validate *optional* date fields? Marcus Leon Java 1 06-30-2003 06:15 PM