-
Sep 11th, 2008, 08:53 AM
#1
Problem with <form:select>
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules