• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
rajiv jackz
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic