Hi Everybody,

I am using select tag in a jsp with <form:select>. When I load the form for the first time (while creating a new form), the values gets displayed properly and gets saved properly in the database. The property for which the select tag is used has a custom property editor.

The problem is that when I edit the saved object it doesnt select the value saved by default (selected). Below is the jsp code used:

<form:select path="designation">
<form:option value="" label="Select Designation..." />
<form:options items="${DESIGNATIONLIST}" itemLabel="name" itemValue="id" />
</form:select>

Thank
Regards