Re: validation with simple theme

2009-01-31 Thread Srikanth Goud
Hi, I extended simple theme and defined my own theme. In that coreheadercontrol.ftl that i added and done some work <#assign hasFieldErrors = parameters.name?exists && fieldErrors?exists && fieldErrors[parameters.name]?exists/> <#if hasFieldErrors> <#list fieldErrors[parameters.name]

Re: validation with simple theme

2009-01-31 Thread Felipe Fraga
Hi, It is possible to create a new theme extending the one you are using, overriding the template for the fielderror tag. http://struts.apache.org/2.0.14/docs/extending-themes.html Or, you can override the fielderror for the theme without creating a new one. You just need to create a template/th