Hi Ben,
> I don't use errors.(header|footer|prefix|suffix) and I don't have
> brackets in my messages.
Okay.
> I use the following code to show the error messages:
>
> In my action:
>
> ActionMessages errors = new ActionMessages();
> errors.add(ActionMessages.GLOBAL_MESSAGE,
> new ActionMessage("errors.username");
> saveErrors(request, errors);
>
> In my VM page:
>
> $errors.username
There you have it. You're rendering the whole set of errors. For
example uses of your error messages, take a look at VM_global_library.vm.
> How do I use the errors.(prefix|suffix)? In my properties file I have them as:
>
> errors.prefix=<div class="red">
> errors.suffix=</div>
>
> But ErrorsTool doesn't pick them up.
Yeah, I just found that out and filed a bugzilla report and patch:
http://issues.apache.org/bugzilla/show_bug.cgi?id=31768
Best regards,
-- Shinobu Kawai
--
Shinobu Kawai <[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]