RE: How to reuse field validators?

2010-04-16 Thread Griffith, Michael *
Re: How to reuse field validators? W dniu 16 kwietnia 2010 16:27 użytkownik Griffith, Michael * napisał: > Currently the xml file is in the package with the struts action.  I this this > is where my problem lies, should it be in the model package? Yes, and you must expose you model di

Re: How to reuse field validators?

2010-04-16 Thread Lukasz Lenart
W dniu 16 kwietnia 2010 16:27 użytkownik Griffith, Michael * napisał: > Currently the xml file is in the package with the struts action.  I this this > is where my problem lies, should it be in the model package? Yes, and you must expose you model directly. Regards -- Łukasz http://www.lenart

RE: How to reuse field validators?

2010-04-16 Thread Griffith, Michael *
* Subject: Re: How to reuse field validators? W dniu 16 kwietnia 2010 14:51 użytkownik Griffith, Michael * napisał: > I want to reuse the field validations in -validator.xml in two > different Action classes in two different packages and different namespaces. > Is there a way to do tha

RE: How to reuse field validators?

2010-04-16 Thread Griffith, Michael *
thout copying the XML file? MG -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Friday, April 16, 2010 12:13 AM To: Struts Users Mailing List Subject: Re: How to reuse field validators? 2010/4/16 Griffith, Michael * : > Hello all, > > I am not c

Re: How to reuse field validators?

2010-04-15 Thread Lukasz Lenart
2010/4/16 Griffith, Michael * : > Hello all, > > I am not clear on how to reuse a field validator that doesn't share a > common package or action/alias.  I have package > > ...struts.admin/ > ...struts/application/ > > with namespaces /admin and /application respectively.  I have a model > object w

How to reuse field validators?

2010-04-15 Thread Griffith, Michael *
Hello all, I am not clear on how to reuse a field validator that doesn't share a common package or action/alias. I have package ...struts.admin/ ...struts/application/ with namespaces /admin and /application respectively. I have a model object with a validator -validator.xml in the /applic