Hi All
I have tried this
<logic:iterate id="tsv" collection="testScoresVector">
testScoresVector is a vector stored as a session Attribute as
request.getSession().setAttribute("testScoresVector", testScoresVector)
Please let me know what the problem is

--Mohan


> Hi Guys
> The reason i am using the logic:iterate is not to populate the select
> box but to create the select box for the number times the length of the
> testScoresVector and store the option selected in the select box in each
> of the testScoresVector element.
>
> --Mohan
>> 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]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to