Try using a different theme, I forget offhand whether 'simple' or
'css_xhtml' does what you want but if one of them doesn't, they are
remarkably easy to customize.

jk

On Tue, Jul 1, 2008 at 5:39 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:

> 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]
> >
> >
>



-- 
Jim Kiley
Technical Consultant | Summa
[p] 412.258.3346 [m] 412.445.1729
http://www.summa-tech.com

Reply via email to