Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make select a drop down

Status
Not open for further replies.

csphard

Programmer
Apr 5, 2002
194
US
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:eek:ption value="mom">Mom</html:eek:ption>
<html:eek:ption value="father">Father</html:eek:ption>
<html:eek:ption value="brother">Brother</html:eek:ption>
<html:eek:ption value="sister">Sister</html:eek:ption>
<html:eek:ption value="son">Son</html:eek:ption>
<html:eek:ption value="daughter">Dauther</html:eek:ption>
</html:select>

Howard
 
I figure it out.
<html:select property="relation" size="1">
<html:eek:ption value="mom">Mom</html:eek:ption>
<html:eek:ption value="father">Father</html:eek:ption>
<html:eek:ption value="brother">Brother</html:eek:ption>
<html:eek:ption value="sister">Sister</html:eek:ption>
<html:eek:ption value="son">Son</html:eek:ption>
<html:eek:ption value="daughter">Dauther</html:eek:ption>
</html:select>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top