But when type conversion error will be occurred, I want to display my custom error message instead of the auto generated one. So how to do that.
On Dec 14, 2007 11:18 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Arpan Debroy <[EMAIL PROTECTED]> wrote: > > Using 'Long' is the correct way to get 'required' validator worked. > > But now I want show error message when user will put string or character > > instead of any long value. What validator to use? > > If you're using the defaultStack this is done for you; type conversion > errors > will be added to the field errors via the "conversion" interceptor. > > d. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >