Hello,

I use Tapestr 5.0.11.

I generate a select field from a list of hibernate entities and a
default blank value. but when I submit my form with the blank value, I
get this error message :
Coercion of to type java.lang.Long (via String --> Long) failed: For
input string: ""

The select field is not mandatory, I would expect the blank value
being mapped to a null object.

My template :
<select t:type="select" t:id="staskGroups" model="taskGroups"
value="taskGroupSelected"/>

My field :

@Property
private TaskGroup taskGroupSelected;

Did I make something wrong ?

Thank's,

Denis

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to