Hi Brian.
Struts Newsgroup (@Basebeans.com) <[EMAIL PROTECTED]> writes:
> Is it possible to add a string to an ActionError instead having it get the
> string out of the properties file. I need to be able to give dynamic error
> messages that are changing.
You could put this in your properties file:
error.dynamic={0}
That would enable you to do this:
ActionErrors errors = new ActionErrors();
errors.add(ActionErrors.GLOBAL_ERROR,
new ActionError("error.dynamic", "Dynamic String"));
saveErrors(request, errors);
-- Jim
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>