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:10:28 GMT
My bad, but the [^&lt;&gt;] should still work.
  (*Chirs*)


On Tue, Mar 19, 2013 at 12:06 PM, Dave Newton <davelnewton@gmail.com> wrote:

> It's not an attribute value, it's an element's content.
>
>
> On Tue, Mar 19, 2013 at 3:00 PM, Chris Pratt <thechrispratt@gmail.com
> >wrote:
>
> > 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.
> > > *
> > >
> >
>
>
>
> --
> e: davelnewton@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton <https://twitter.com/dave_newton>
> b: Bucky Bits <http://buckybits.blogspot.com/>
> g: davelnewton <https://github.com/davelnewton>
> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
>

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