Hi,
I have a property in the resource bundle that contains an HTML link,
something like
foo.bar=<a href="/Home.action">Please click here to try again</a>
Upon certain validation error I add it to ValidationErrors:
ValidationError e = new LocalizableError("foo.bar");
errors.add("someFiled", e);
I expected a n HTML link to be rendered but instead nothing is rendered.
BTW, I added a debug statement
logger.debug("Adding error: " +
e.getMessage(getContext().getRequest().getLocale()));
and it logs the property text "<a href="/Home.action">Please click here to
try again</a>"
Am I wrong to expect a link to be rendered? If not, what am I doing wrong?
Thanks,
-a
--
Aaron Stromas
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users