Meaningless Drivel is fun!*
The moose likes Struts and the fly likes List box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "List box" Watch "List box" New topic

List box

Anant Rao
Ranch Hand

Joined: Nov 12, 2004
Posts: 126
Hi ,

Actually , I am trying to Highlight listbox with an intial value...below is the code..can anybody help me to highlight an intial value...

<html:select name="MyForm" property="solutionType">
<html ption value="-1">Select</html ption>
<logic resent name="MyForm" property="solutionTypes">
<html ptionsCollection name="MyForm" property="solutionTypes" value="value" label="label" />
</logic resent>

Thanks in Advance
It is sorta covered in the JavaRanch Style Guide.
subject: List box
Similar Threads
Using logic:iterate in select box
html:options usage
struts -- Cannot find bean under name indexedWorkInProgressVO
Dynamically displaying html:option values
html:select disabled property not working