I recommend you drop the Struts logic tags and switch to JSTL combined with the Struts-el tags.
"JSTL has support for common, structural tasks such as iteration and conditionals, tags for manipulating XML documents, internationalization and locale-sensitive formatting tags, and SQL tags. It also introduces a new expression language to simplify page development..." http://java.sun.com/products/jsp/jstl/ Core JSTL: Mastering the JSP Standard Tag Library by David M. Geary http://www.amazon.com/exec/obidos/tg/detail/-/0131001531/qid=1069734758/sr=1-2/ref=sr_1_2/002-2465270-5458431?v=glance&s=books By combing Struts-el with JSTL a select tag with options can be written as: <html-el:select property="moduleTypeCode"> <c:forEach items='${applicationScope[constants.moduleTypeCodeTypeLabelMapKey]}' var='mapItem'> <html-el:option value="${mapItem.key}"><c:out value='${mapItem.value}'/></html-el:option> </c:forEach> </html-el:select> The map of module types is loaded from a data store by a Struts plug-in at system start up. Mike --- [EMAIL PROTECTED] wrote: > Hi All > I have a Vector called as testScoresVector (Vector of testScores Objects) > stored in the session > > I am trying this > <logic:iterate id="tsv" name="testScoresVector"> > <html:select property="tsv.testName"> > <html:option value="SAT-1">SAT-1</html:option> > <html:option value="SAT-2">SAT-2</html:option> > : > : > > </html:select> > </logic:iterate> > > The idea is to add the selected value into the TestScores Object for each > object in the Vector. > > This gives an error saying :No getter method available for property > tsv.testName for bean under name org.apache.struts.taglib.html.BEAN > I think the "tsv" holds a TestScoresVector object for each iteration. Am i > right or not. Please let me know > > Thank you > > --Mohan > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

