I am trying to display an html link that is inside an ActionErrors message.
Example:
In the Resources.properties I have something like this:
error.dynamic.generic = {0}
{0} will be replaced by a text + a html link. It will be like this for example:
"message link" which message is a text and link a href.
See this concret example:
"There is no message matching the specified criteria. Please clic <a href="/home.do">here</a>."
How can I code it inside an ActionsError? How would be "message"?
actionErrors.add(ActionErrors.GLOBAL_ERROR, new ActionError("error.dynamic.generic", message));
Thanks
Example:
In the Resources.properties I have something like this:
error.dynamic.generic = {0}
{0} will be replaced by a text + a html link. It will be like this for example:
"message link" which message is a text and link a href.
See this concret example:
"There is no message matching the specified criteria. Please clic <a href="/home.do">here</a>."
How can I code it inside an ActionsError? How would be "message"?
actionErrors.add(ActionErrors.GLOBAL_ERROR, new ActionError("error.dynamic.generic", message));
Thanks