Re: form validation, assigning context

2004-06-09 Thread Niall Pemberton
ne 08, 2004 9:26 PM Subject: form validation, assigning context > Is there anyway to declare that a validator should create ActionErrors under > a given key. For instance in my code I write something like this: > > new ActionErrors("user-errors", new ActionError("errors.u

form validation, assigning context

2004-06-08 Thread Bullard, James
Is there anyway to declare that a validator should create ActionErrors under a given key. For instance in my code I write something like this: new ActionErrors("user-errors", new ActionError("errors.user.invalid", username)); Then in the page (I am using velocity, but this is not important bear