****Struts <html:select>****
1 posts in topic
Flat View  Flat View

Posted By:   Vik_Germash
Posted On:   Sunday, September 29, 2002 08:50 AM

have sombody an example for creating the Tag, with variable number of Tags in the jsp.

Many thanks :-)

Re: ****Struts <html:select>****

Posted By:   Roeland_Lengers  
Posted On:   Sunday, September 29, 2002 01:54 PM

Try the following code:

"categoryTypes" is a ArrayList containing LabelValueBeans, this type of bean comes with the struts jar-file (see class org.apache.struts.util.LabelValueBean. You can find an example in the struts-example.war.

You would normally populate this collection from within your Action.

Hope this helps.
About | Sitemap | Contact