Yes it is possible. Suppose you have bean of type java.util.HashMap in your
context under name hashMapBean. Then you write:
<html:select property="listEdad" multiple="true">
    <html:options name="hashMapBean" property="key" labelProperty="value"/>
</html:select>

That's all for it.

On 2/8/06, José María Tristán <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>         I have an application whith a html:options whith two ArrayList to
> see the
> "name"(arrayCodigo)  and the "label" (arrayDescripcion)
>                 <html:select property="listEdad" multiple="true">
>                         <html:options name="arrayCodigo"
> labelName="arrayDescripcion" />
>                 </html:select>
>
>         Is possible do the same whith a HashMap (key-value)?.  How i say
> to
> html:options that the property name is the key of HashMap and the
> labelname
> is the value of HashMap.
>
>         Thank you very much
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to