Re: [2] Changing xwork.default.invalid.fieldvalue to report type

2007-08-09 Thread mraible
On a related note, the only way to override "xwork.default.invalid.fieldvalue" seems to be to specify a global resource bundle with "struts.custom.i18n.resources" in struts.xml and then put the value in there. Is this correct? The following page seems to imply that I should be able to override th

Re: [2] Changing xwork.default.invalid.fieldvalue to report type

2007-08-08 Thread Don Brown
Hmm...could you use a custom TextProvider impl that recognizes that error key, checks the type of the parameter, then looks up a new error key, say 'xwork.default.invalid.fieldvalue.number'? Don On 8/9/07, mraible <[EMAIL PROTECTED]> wrote: > > The default value for a type mismatch error (when do