• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

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

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
<form:options items="${products}" itemValue="code" itemLabel="name" />

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


Help me out here..
Thanks in advance.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic