my dog learned polymorphism*
The moose likes Spring and the fly likes  load select options in spring MVC portlet with particular Item highlighted? 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 » Spring
Bookmark " load select options in spring MVC portlet with particular Item highlighted?" Watch " load select options in spring MVC portlet with particular Item highlighted?" New topic
Author

load select options in spring MVC portlet with particular Item highlighted?

rajiv jackz
Greenhorn

Joined: Jul 12, 2010
Posts: 29
HI all,

how to load select options in spring MVC portlet with particular Item highlighted?

i want a specific items to have background color or Highlighted in Jsp form and
also that one particular item to be at topmost item.


public String showForm(RenderRequest request, RenderResponse response, ModelMap model)
{

List<RequestTrialProduct> products = requestTrialProductDao.getProducts();


}


jsp

<form:select path="product" cssClass="cs-send-support" onchange="validate();">
<option value="">Select</option>
<formptions items="${products}" itemValue="code" itemLabel="name" />

-----------------


Help me out here..
Thanks in advance.
 
wood burning stoves
 
subject: load select options in spring MVC portlet with particular Item highlighted?
 
Similar Threads
Which framework to use in web layer?
WebSphere Portal 348 - prime questions/answers
can the drop down menu remember the last selection?
Detecting selected html options using Struts and JSTL?
MULTIPLE select - list box - how to read in servlet