S
Sameer
Hi,
I am doing something like this. (Tomcat 4.1.27, Struts 1.0)
<htmlption value='<bean:write name="SampleForm" property="userName" />' />
i.e. using bean:write to populate the value of htmlption.
The problem is that the bean:write tag is not executed and the
text of the tag is passed literally to the value attribute.
I have tried all combinations of single and double quotes. With all
double quotes parser gives error. With the combo of single and double
quotes, above mentioned behaviour occurs.
Is there any way to make this work?
For some reason I don't want to use htmlptions tag.
Please help.
Thanks,
Sameer.
I am doing something like this. (Tomcat 4.1.27, Struts 1.0)
<htmlption value='<bean:write name="SampleForm" property="userName" />' />
i.e. using bean:write to populate the value of htmlption.
The problem is that the bean:write tag is not executed and the
text of the tag is passed literally to the value attribute.
I have tried all combinations of single and double quotes. With all
double quotes parser gives error. With the combo of single and double
quotes, above mentioned behaviour occurs.
Is there any way to make this work?
For some reason I don't want to use htmlptions tag.
Please help.
Thanks,
Sameer.