Hi,
Thank you a lot, that is exactly the reason. I changed domain to String and it
works.
Regards,
Halgurt
-Ursprüngliche Nachricht-
Von: Laurie Harper [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 4. Juli 2006 21:27
An: user@struts.apache.org
Betreff: Re: AW: Object field validation
If 'domain' is of type integer, this is expected behaviour. Struts uses
BeanUtils under the covers to convert the form inputs and set them on
the bean. The standard behaviour for an input that can't be converted to
an integer is to return 0.
You have two choices: make 'domain' a String instead
2 matches
Mail list logo