struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: [s2]How to customize the errors prefix, suffix, ... ?
Date Wed, 18 Apr 2007 21:28:14 GMT
MLENEVEUT@abusinessware.com wrote:
> Hi all,
> 
> I tried to customize the errors.prefix, suffix, header and footer, but 
> they are not taken into account.
> 
> How to do in Struts 2 ?
> 
> I just put this in my package.properties :
> errors.footer=<tr>
> errors.header=</tr>
> errors.prefix=<td>
> errors.suffix=</td>

Not taken into account by what? Those look like the properties 
associated with Struts 1's old-style message handling tags. In S2 the 
formatting of errors and other messages is controlled by the template theme.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message