Hello:

        I hava a html:select optionscollection:
        <html:select property="unidades"  multiple="true" size="6"
styleClass="control">
                <html:optionsCollection property="unidadesSelect"/>
        </html:select>

        and in the form-bean the method:

        public void setUnidades(String[] unidades){
                 this.unidades = unidades;
         }

        public String[] getUnidades(){
                 return unidades;
         }

        Before that the jsp is load I set a value for fault(setUnidades("Ud.")).
When
the user not select any value the method getUnidades return me the value Ud
when in the list is not select any value. Why?

Thank you very much.


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

Reply via email to