There is a select dropdown and I want to add "No selection" item to the list which should give me \'null\' when submitted. I\'m using SimpleFormController derived
One option:
<form:select path="country" title="country" >
<form:option value=""> </form:option>
<form:options items="${countryList}" />
</form:select>
I don't think you should need a property editor for this. If the "blank" option is first in the list, and the tag that outputs the list doesn't mark any of them as selected, then the browser should select the first, "blank" one automatically.
When you submit the form, try and work it so that the "blank" value is bound to your command as a null, which might happen automatically, depending on the type.