Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 22nd, 2012  |  syntax: None  |  size: 0.41 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Select Box value is null in controller
  2. <label for="dropdown">Department: </label>
  3.   <form:select path="department" cssClass="dropdown">
  4.      <form:option value="">Select Department</form:option>  
  5.        <c:if test="${fn:length(departList) > 0}">
  6.         <form:options items="${departList}" itemValue="departmentId" itemLabel="departmentName"/>                                  
  7.        </c:if>
  8.   </form:select>