RE: help JSTL / html Select

"Matt Raible" <[email protected]>
Newsgroups gmane.comp.java.mvc.devel
Organization Raible Designs, Inc.
Message-ID <[email protected]>
Struts' <html:select> and <html:options> tag will do this for you.  The
options tag is best utilized with an ArrayList of LabelValueBean's (part
of Struts).  Then you simply set the property value of <html:select> to
a property on your form, and it'll select the appropriate value.

HTH,

Matt

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Peyathevar, Santhi {PBG}
> Sent: Thursday, March 20, 2003 7:13 PM
> To: 'Geeta Ramani'; mvc
> Subject: [MVC-Programmers] help JSTL / html Select
> 
> 
> All:
> 
> Is there any JSTL / Struts Tag that would help restoring the 
> selection of 
> html 'Select' box across submits / actions ?
> 
> David Geary's "Advanced JSP" gives an idea. And there is a 
> "Format Tag" from somebody. I would like to use JSTL if possible.
> 
> * This is not a lab related issue.
> 
> Thank you for your help.
> Santhi
> _______________________________________________
> MVC-Programmers mailing list
> [email protected] 
> http://www.basebeans.net:8080/mailman/listinfo> /mvc-programmers
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.