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 with
the code) I have something like this:

#displayErrorMarkup("user-errors") 

The problem is that when this macro goes and fetches the errors it uses the
key "user-errors" to fetch the errors, so errors which the validator
generated will not be displayed, I did not see anyway for a form element in
validation.xml to be declared with ActionErrors context key which I think is
quite necessary, so I am probably missing something simple.  


Thanks in advance, 

jim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to