On 3/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
what about simple type conversion? How will you ever have non-string
coming from html? Does this mean we are back to domain object with
only strings?

No, it means that we have a special validator for Strings to cover
both the notion of being null and the notion of being empty, and
optionally trimming it first.

* http://struts.apache.org/2.x/docs/required-validator.html

* http://struts.apache.org/2.x/docs/requiredstring-validator.html

-     <field-validator type="requiredstring">
+     <field-validator type="required">

-Ted.

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

Reply via email to