struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lei.java@gmail.com" <lei.j...@gmail.com>
Subject Re: Validation and simple theme
Date Tue, 01 Jul 2008 21:39:15 GMT
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 <lukasz.lenart@googlemail.com>
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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message