Muralindhar, I just realized I forgot the + from your original regex. Did you try my regex as is or did you fix it like "[<>]+" ? (*Chris*)
On Tue, Mar 19, 2013 at 1: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: "[^<>]" > > (*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. > * >