hi MOhan
Error is coming coz your syntax is not upto the mark. Try with the following
<logic:iterate id="tsv" name="testScoresVector">
> <html:select property="testName">
<html:collection name="tsv" labelproperty="any property name of the
Vector"/>
> </html:select>
> </logic:iterate>
Cheers
gary
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2003 3:24 AM
Subject: logic:iterate help
> 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]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]