Hi all,
Can we use nested tags in
Struts?
For example, i have a drop down menu. the current value of that dropdown comes from a property of a value object which is an element of a collection of custom value objects.
here's the code for that:
<logic:iterate id="testInfo" name="applicantForm" property="applicantTestInfo">
<html:select property="testId">
<html

ption value="<bean:write name="testInfo"
property="testTypeId"/>"/>
<html

ptions collection="testCodes" property="key" labelProperty="value"/>
</html:select>
</logic:iterate>
In the above snippet, i am not able to use the nested <bean:write tag in the html

ption value tag.
Can anyone suggest how to use nested tags?
Thanks in advance,
Seshu