Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: load select options in spring MVC portlet with particular Item highlighted?