On Jun 11, 2003, Gemes Tibor <[EMAIL PROTECTED]> wrote: |use errors.prefix error.posfix errors.header and errors.footer to |configure. | |errors.header=<ul class="error"> |errors.footer=</ul> |errors.prefix=<li> |errors.postfix=</li>
Ok, I'll bite. I tried this (switching postfix to suffix) by putting these items into my application.properties file (where my other error.xxx properties are as well as all my application messages) and low and behold, it was totally ignored. Is there something other than <html:errors/> that one needs to do before this will work? See below for code and source. Thanks, /greg -- Gregory F. March -=- http://www.gfm.net:81/~march -=- AIM:GfmNet ------------------------------------------------------------------------------ application.properties: errors.header=<ul> errors.footer=</ul> errors.prefix=<li> errors.suffix=</li> errors.required={0} is required. errors.minlength={0} can not be less than {1} characters. errors.maxlength={0} can not be greater than {1} characters. errors.invalid={0} is invalid. errors.byte={0} must be a byte. errors.short={0} must be a short. errors.integer={0} must be an integer. errors.long={0} must be a long. errors.float={0} must be a float. errors.double={0} must be a double. errors.date={0} is not a date. errors.range={0} is not in the range {1} through {2}. errors.creditcard={0} is an invalid credit card number. errors.email={0} is an invalid e-mail address. ... ------------------------------------------------------------------------------ index.jsp: <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <html:html> <head> <title><bean:message key="crp.title.browser"/></title> </head> <body bgcolor="#ffffff"> <html:form action="login" focus="username"> <center> <br><br><br> <html:errors/> <br> ... ------------------------------------------------------------------------------ index.jsp source: <html> <head> <title>Trade L/C</title> </head> <body bgcolor="#ffffff"> <form name="loginForm" method="post" action="/crp/login.do"> <center> <br> <br> <br> User ID is required. Password is required. <br> ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

