Hi,

Let's consider we have a S2 select box that is not required (s:select
required="false" ).

The property to which it is bound can be null. However, by default,
Struts2 complains using the invalid field error message.

One way to circumvent this would be, I guess, to use some
NullSafeTypeConverter, associated to the java.lang.Object type.

Several questions :
1] Is this the best approach ?
2] Why doesn't Struts ship NullSafeTypeConverter by default ?

Regards,
Sami Dalouche


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

Reply via email to