struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gnanaseelan" <gnanaseel...@indscape.com>
Subject Re: Multibox intial selection problem
Date Wed, 27 Feb 2002 13:09:09 GMT
Hi Susmita

   Thanks for the suggestion,u c i am not using html:select bos but its
html:multibox
pls if any info let me know

thx
gnan

----- Original Message -----
From: "Susmita Pati" <SPati@alsysinc.com>
To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
Sent: Monday, June 24, 2002 6:12 PM
Subject: RE: Multibox intial selection problem


> Hi
> Do something like this:
>
>
>
>
>  <td width="25%" Class=DisplayLeftDataCells>
> <select size="1" name="downloadday" id="downloadday">
>   <%
>     for(int i=0;i<monthstosave.length;i++){
>   %>
> <OPTION
> <%
>     if (downloadday.equals(monthstosave[i])){
>     %>selected<%}%>
> value='<%=monthstosave[i]%>'><%=monthstosave[i]%></OPTION>
> <%}
>   %>
>                               </select></td>
>
> -----Original Message-----
> From: gnanaseelan [mailto:gnanaseelane@indscape.com]
> Sent: Wednesday, February 27, 2002 12:50 AM
> To: Struts Users Mailing List
> Subject: Multibox intial selection problem
>
>
> Hi
>
> i am new to struts ,can any one suggest how could a multibox be intially
> selected based on a condition in jsp
>
> Thx in advance
> GS
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message