Hi all! I had the same problem here and I wrote the following code to avoid change the default struts template:
<s:if test="fieldErrors.get('email').size() > 0"><s:property value="fieldErrors.get('email').get(0)" /></s:if> newton.dave wrote: > > manub wrote: >> Yes. <s:fielderror> renders also <ul> and <li> tag, and I don't need >> them. >> I'm in need of a way to showing only the errors for a specific field >> without >> having any HTML tag (I need only the plain text). > > You'd either need to create/extend/modify the theme, use CSS, or just do > it manually. > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/customize-fielderror-tp21990061p23806475.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org