posted 15 years ago
Hi All,
I have tried to write a bean: write tag in the Option tag, I want preseve the spaces So I used the <PRE> tag before and after the <bean:write> tag , but it is working when it is used individually, its not working when It is used in Html Option tag, is there any other way to preseve the space and I can not change the tag source as I am using standard taglibs.
<select name="selectedItem" '>
<logic:iterate id="data1" name=" DATA" type="com.xxxx.xxx.xData">
<option value='<bean:write name="data1" property="nrr"/>'>
<bean:write name="data1" property="nrr"/>
</option>
</logic:iterate>