Thanks. It solves my problems. I notice that *<s:fielderror>...</s:fielderror>* is actually replaced by *<ul><li>error message</li></ul> *in the code. Is there a way to let the <s:fielderror> tag only renders the error message instead of a list?
Thanks. On Tue, Jul 1, 2008 at 4:25 PM, Lukasz Lenart <[EMAIL PROTECTED]> wrote: > > My validation works with "xhtml" them but doesn't work with "simple" > theme. > > Does struts2 validation framework NOT work with "simple" theme? > > What you mean "not work"? Do you mean, you don't see error messages? > If so use <s:actionerror> tag [1] or <s:fielderror> with param list > for fields you want. > > [1] http://struts.apache.org/2.0.11.2/docs/actionerror.html > [2] http://struts.apache.org/2.0.11.2/docs/fielderror.html > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >