--- On Fri, 10/17/08, A. Lotfi wrote:
> <html:form action="transfertoDB">
>   <html:select property="menu" size="10" >
>     <html:option value="">--SELECT--</html:option>
>     <html:options collection="menuList1" property="value"
>                   labelProperty="label" />
> [...]
>
>   I have two questions :
>   1) I hard coded the size of the lists to 10,How to make
> the size dynamic?

Use JSP EL:

<html:select property="menu" size="${theSize}">

> 2) I would like to transfer element between the two lists.

Not a Struts question; that's JavaScript.

Dave


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

Reply via email to