--- Martin Cooper <[EMAIL PROTECTED]> wrote: <snip> > I just figured out the same thing. ;-} While I think this is OK for > now, I really think this is a Validator bug. You shouldn't have to > specify the position explicitly; it would be perfectly logical for the > lack of the 'position' attribute to mean 'next'. That's certainly what > I would have expected, anyway.
Sorry about that. When I made this change I updated all the validator's example xml but forgot to update Struts. The position attribute defaults to 0 so technically you shouldn't have to specify it for the first arg. Martin, that's a good suggestion about not specifying the position. I don't consider it a bug but I'll enter an enhancement ticket so we don't forget. David > > Oh well. Thanks for fixing it, Joe. > > -- > Martin Cooper > > > > > > So whenever the XML was adjusted to use <arg> instead of <arg0>, > > <arg1>, etc, it looks like that step was just overlooked. > > > > I think I fixed it in all the relevant places: min length for first > > name, max length for last name, and the int and float ranges on the > > type validation form. Hopefully I didn't miss any! > > > > Joe > > > > -- > > Joe Germuska > > [EMAIL PROTECTED] > > http://blog.germuska.com > > "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn > > back; I'll know I'm in the wrong place." > > - Carlos Santana > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]