struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: problem with regex validator
Date Tue, 19 Mar 2013 19:00:34 GMT
I'm pretty sure you can't use CDATA inside an attribute value.  Have you
tried: "[^&lt;&gt;]"
  (*Chris*)


On Tue, Mar 19, 2013 at 8:52 AM, Muralidhar Yaragalla <
java.yaragalla@gmail.com> wrote:

> I have added the following to log4j
>
> log4j.logger.com.opensymphony.xwork2.validator.validators=debug
>
> But it doe not print anything on console. The logger was set for console
> and for file.(both appenders)
>
>
> On Tue, Mar 19, 2013 at 8:56 PM, Lukasz Lenart <lukaszlenart@apache.org
> >wrote:
>
> > 2013/3/19 Muralidhar Yaragalla <java.yaragalla@gmail.com>:
> > > Then i tried "jhbkkjnklj" this but no validation.
> > >
> > > when i press the submit button of the form the following log is being
> > > generated on the server
> > >
> > > 2013-03-19 20:48:49 DEBUG cache:81 -
> > > "template/xhtml/fielderror.ftl"["en_US",UTF-8,parsed]  no source found.
> > > 2013-03-19 20:48:49 DEBUG cache:81 -
> > > "template/simple/fielderror.ftl"["en_US",UTF-8,parsed]  using cached
> > since
> > >
> >
> jar:file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ums/WEB-INF/lib/struts2-core-2.3.12.jar!/template/simple/fielderror.ftl
> > > didn't change.
> > >
> > >
> > > Is there any problem in this logs?
> >
> > Could you enable DEBUG level just for the RegexFieldValidator and not
> > for the whole framework?
> >
> >
> > Regards
> > --
> > Łukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> Thanks And Regards,
> *Muralidhar Yaragalla.
> *
>

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