Nothing works. I am not sure why? but then I am good with my custom
validator for regex. One note is that xwork classes dont use log4j for
logging.


On Wed, Mar 20, 2013 at 2:09 AM, Paul Benedict <pbened...@apache.org> wrote:

> [^&lt;&gt;] means any character that is not the angled brackets. This is
> correct syntax for XML encoding.
>
> Try also using the beginning and ending meta-characters:
>
> ^[^&lt;&gt;]$
>
> Paul
>
> On Tue, Mar 19, 2013 at 3:35 PM, Muralidhar Yaragalla <
> java.yaraga...@gmail.com> wrote:
>
> > Hi Chris, I tried with the regex that you suggested but it did not work.
> > any way i am fed up understanding that validator so i have written my own
> > and it works fine. Thanks all of you for helping me.
> >
> >
> > On Wed, Mar 20, 2013 at 12:30 AM, Chris Pratt <thechrispr...@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.yaraga...@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 <
> > lukaszlen...@apache.org
> > > > >wrote:
> > > >
> > > > > 2013/3/19 Muralidhar Yaragalla <java.yaraga...@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-unsubscr...@struts.apache.org
> > > > > For additional commands, e-mail: user-h...@struts.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Thanks And Regards,
> > > > *Muralidhar Yaragalla.
> > > > *
> > > >
> > >
> >
> >
> >
> > --
> > Thanks And Regards,
> > *Muralidhar Yaragalla.
> > *
> >
>



-- 
Thanks And Regards,
*Muralidhar Yaragalla.
*

Reply via email to