Well, I guess I should have read your whole message. :S
Can you get hold of the Action in your tag? If so, then you can do this:
ValidationAware validationAwareAction = (ValidationAware) action;
validationAwareAction.getActionErrors()
validationAwareAction.getActionMessages()
validationAwareAction.getFieldErrors()
Chris Pratt on 28/12/07 23:50, wrote:
On Dec 28, 2007 3:42 PM, Adam Hardy <[EMAIL PROTECTED]> wrote:
Here's one way, if you really don't want to use <fmt:message>
import javax.servlet.jsp.jstl.fmt.LocaleSupport;
LocaleSupport.getLocalizedMessage(pageContext, key);
Please correct me if I'm wrong, but those get Localized messages from
Resource Bundles, they don't display the ActionMessage, ActionErrors
and FieldErrors from the Action, do they?
(*Chris*)
---------------------------------------------------------------------
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]