Re: select and option tag issues

2002-11-08 Thread tbachta
: Subject: Re: select and option tag issues 11/06/2002 11:52 AM

RE: select and option tag issues

2002-11-08 Thread edgar
List' Subject: Re: select and option tag issues I posted this question a couple of days ago and received an answer. Unfortunately the answer does not work for me. The problem I am having is on the initial page of my web application I have drop-down boxes that I want to be populated

RE: select and option tag issues

2002-11-08 Thread Robert Taylor
: Subject: Re: select and option tag issues 11/06/2002 11:52 AM Please respond to Struts Users Mailing List Have you discovered

RE: select and option tag issues

2002-11-08 Thread Robert Taylor
html:optionsCollection property=options label=label value=value/ /html:select -Original Message- From: [EMAIL PROTECTED] [mailto:tbachta;kcp.com] Sent: Friday, November 08, 2002 8:50 AM To: Struts Users Mailing List Subject: Re: select and option tag issues I posted this question a couple

RE: select and option tag issues

2002-11-08 Thread tbachta
] .netcc: Subject: RE: select and option tag issues 11/08/2002 08:08

RE: select and option tag issues

2002-11-08 Thread Robert Taylor
] [mailto:tbachta;kcp.com] Sent: Friday, November 08, 2002 10:36 AM To: Struts Users Mailing List Subject: RE: select and option tag issues Ok I am still getting an error, the error is: javax.servlet.jsp.JspException: No getter method available for property getLocationValues for bean under

RE: select and option tag issues

2002-11-08 Thread edgar
, not the property name. Let me know if that helps Edgar -Original Message- From: [EMAIL PROTECTED] [mailto:tbachta;kcp.com] Sent: Friday, November 08, 2002 10:36 AM To: 'Struts Users Mailing List' Subject: RE: select and option tag issues Ok I am still getting an error, the error

Re: select and option tag issues

2002-11-06 Thread Eddie Bush
Have you discovered the collection attribute of the options tag? Your action can build any collection you desire (ie from a database -- see org.apache.struts.util.LabelValueBean for holding the name/value pairs). It then places that collection into some scope (whichever you like) and forwards

Re: select and option tag issues

2002-11-06 Thread Eddie Bush
If you examine the struts-example.war you will find a JSP named 'subscription.jsp'. If you need additional guidance, I'd suggest examining that page. While I don't particularly care for the way it makes the collection available, it should serve as a good example of how to use html:options.