struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heidy Gutiérrez Guzmán" <>
Subject Validate a multiple html:select with validator framework
Date Thu, 28 Sep 2006 20:15:33 GMT
I have a multiple  html:select  and i need  to validate it with validator

The attribute in the ActionForm is an array of strings.
private String[] subtemas= new String[]{}

The validation that i'm using is required.This validation works with others
form fields

This is the code of html:select in jsp page:

<html:select  property="subtemas"  multiple="true" >
        <html:options collection="collectionSubtemas" property="id"
labelProperty="nombre" />


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message