Hi
I am having problems setting <html:option> dynamically along with sql
tags
Here is the source ,
After setting the databases and queries....
<TH>vendor</TH>
<TD><html:select property="vendor">
<c:forEach var="row" items="${query1.rows}" >
<html:option value=="${row.VPAN8}" ><c:out
value="${row.VPAN8}"/></html:option>
</c:forEach>
</html:select></TD>
</TR>
I am lost how to set the value inside <html:option value="${row.VPAN8}"
as this always returns the whole thing inside the quotes like below
<option value="${row.VPAN8}" >12495</option>
Any help would be appreciated,
Thanks
Rizwan
http://www.rizwan.in <http://www.rizwan.in/>
-----------------------------------------------------------------------------------------------------------------------------------------------
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you have received this e-mail in error please notify the Administrator. Please
note that any views or opinions presented in this e-mail are solely those of
the author and do not necessarily represent those of the company. Finally, the
recipient should check this e-mail and any attachment for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this e-mail.
Jarir Bookstore ..not just a bookstore
Visit us: www.jarirbookstore.com
5/3/2006