How to make select a drop down
How to make select a drop down
(OP)
How do I render the following struts code as a drop down? Is there an option I am suppose to use?
<html:select property="relation" size="10">
<html:option value="mom">Mom</html:option>
<html:option value="father">Father</html:option>
<html:option value="brother">Brother</html:option>
<html:option value="sister">Sister</html:option>
<html:option value="son">Son</html:option>
<html:option value="daughter">Dauther</html:option>
</html:select>
Howard
<html:select property="relation" size="10">
<html:option value="mom">Mom</html:option>
<html:option value="father">Father</html:option>
<html:option value="brother">Brother</html:option>
<html:option value="sister">Sister</html:option>
<html:option value="son">Son</html:option>
<html:option value="daughter">Dauther</html:option>
</html:select>
Howard
RE: How to make select a drop down
<html:select property="relation" size="1">
<html:option value="mom">Mom</html:option>
<html:option value="father">Father</html:option>
<html:option value="brother">Brother</html:option>
<html:option value="sister">Sister</html:option>
<html:option value="son">Son</html:option>
<html:option value="daughter">Dauther</html:option>
</html:select>