Re: Validating DynaBean nested beans with a custom validator.

2005-01-11 Thread Kishore Senji
e fields from the nested bean and using the > default set of simple field validators shipped with struts (required, > date etc.). (Even if you disagree that these validation requirements > cannot be met in using the default validators please read on. This is > just an exam

Validating DynaBean nested beans with a custom validator.

2005-01-11 Thread Daffin, Miles (Company IT)
ith struts (required, date etc.). (Even if you disagree that these validation requirements cannot be met in using the default validators please read on. This is just an example.) I have created a new validator that I want to handle the entire nested PersonFormBean: personValidator. p

Re: [validator] indexed properties

2005-01-06 Thread William Ferguson
Thanks for the explanation Matt, I sure wasn't expecting the validator to be looking for a 'quantity' property on the elements of the array. Seems totally inconsistent to me. I expected to be able to signify the validation field as an array of elements or indexed etc and hav

Re: [validator] indexed properties

2005-01-06 Thread Matt Bathje
William - The problem here is that validator is expecting quantityArray to contain a property called quantity for each element it contains. (For example: quantityArray[0].quantity, quantityArray[1].quantity etc.) Since quantityArray is an array of Integer, it obviously does not contain a

[validator] indexed properties

2005-01-05 Thread William Ferguson
needed so that the commons-validator recognises 'quantity' as a property. */ public void setQuantity(int index, Integer quantity); public Integer[] getQuantityArray(); public void setQuantityArray(Integer[] quantity); But this combination causes the following Exception to be

Re: Validator question

2005-01-04 Thread Craig McClanahan
Guide/configuration.html#config_add While progress has been made in improving the abililty of the various libraries to work this way, I've never personally tried to examine validator for this kind of problem. Craig On Tue, 4 Jan 2005 11:37:04 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > &

RE: Validator question

2005-01-04 Thread Jim Barrows
> -Original Message- > From: Chaikin, Yaakov Y. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 04, 2005 11:30 AM > To: 'Struts Users Mailing List' > Subject: RE: Validator question > > > Agree 100%. My comment was purely theoretical. > >

RE: Validator question

2005-01-04 Thread Chaikin, Yaakov Y.
Agree 100%. My comment was purely theoretical. On a side note though... Does it consume more RAM if you have 10 apps running on the same server all having their own validator jar in their lib? If it does, this might not be as theoretical as I think. Of course, hopefully, I'll never be

RE: Validator question

2005-01-04 Thread Jim Barrows
> -Original Message- > From: Chaikin, Yaakov Y. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 04, 2005 10:52 AM > To: 'Struts Users Mailing List' > Subject: RE: Validator question > > > Although I agree with you that it's much easier to keep

RE: Validator question

2005-01-04 Thread Chaikin, Yaakov Y.
therefore needs to be in the same (or below) classloader. I don't think validator framework does the same, does it? Thanks, Yaakov. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 04, 2005 12:00 PM To: Struts Users Mailing List Subject: RE: Val

RE: Validator question

2005-01-04 Thread Jim Barrows
> -Original Message- > From: Manisha Sathe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 04, 2005 2:02 AM > To: user@struts.apache.org > Subject: Validator question > > > I just started learning validator (struts) and developed one > small form wi

RE: Validator question

2005-01-04 Thread Ashutosh Satyam
m. - Ashutosh -Original Message- From: Manisha Sathe [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 04, 2005 2:32 PM To: user@struts.apache.org Subject: Validator question I just started learning validator (struts) and developed one small form with one single field. I used

Validator question

2005-01-04 Thread Manisha Sathe
I just started learning validator (struts) and developed one small form with one single field. I used Javascript and serverside validatin both. Till now i used to put all my jar files inside {Tomcat home}/common/lib and it was all ok. (I do not want to keep too many copies of jar files inside

RE: Validator what am I missing??

2004-12-28 Thread David G. Friedman
-Original Message- From: Vinicius Caldeira Carvalho [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 28, 2004 8:17 AM To: Struts Users Mailing List Subject: Validator what am I missing?? Hi there. I can't get validator to work (although I've done this before) I know I'm mi

Validator what am I missing??

2004-12-28 Thread Vinicius Caldeira Carvalho
Hi there. I can't get validator to work (although I've done this before) I know I'm missing something. Here's my configuration files: struts-config: validation.xml

RE: Validator Framework

2004-12-21 Thread Jim Barrows
> -Original Message- > From: Carolina Serrano [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 21, 2004 2:00 PM > To: 'Struts Users Mailing List' > Subject: RE: Validator Framework > > > Yes, you are right, but the thing is that we have to validate

RE: Validator Framework

2004-12-21 Thread Carolina Serrano
Yes, you are right, but the thing is that we have to validate in both sides. I ´ll try to be more specific. We have this situation: date: 21/12/2004 dateGreaterEqualThan: 21/12/1--> this is an error because it is not a DATE. I got the following message: the "dateGreaterEqualThan" is minor

RE: Validator Framework

2004-12-21 Thread Jim Barrows
> -Original Message- > From: Carolina Serrano [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 21, 2004 1:35 PM > To: [EMAIL PROTECTED] > Subject: Validator Framework > > > > I'm using the validator framework , doing validations that depen

Validator Framework

2004-12-21 Thread Carolina Serrano
I'm using the validator framework , doing validations that depends on others. for example: dateafterthat depends on date. the dependations in the server run ok, but it failed when it has to validate in the client both: 1st date and 2nd dateafterthan. According the documentation: &qu

struts Validator framework -URGENT Pls...

2004-12-18 Thread runa choudhary
Hi All Its very urgent for me.I am struck on this point at a very critical point of my project. I am using Validator framework of struts 1.1 In Validator.xml file for my mask variable i am using regular expression so as the string to accept alphanum+special char-.,-,",\s .nowI want my re

RE: Documentation for validator regular expression

2004-12-14 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad > Momin Rashid > Sent: Tuesday, December 14, 2004 4:10 PM > To: [EMAIL PROTECTED] > Subject: Documentation for validator regular expression > > > Hello, > > Can anyone poin

Documentation for validator regular expression

2004-12-14 Thread Muhammad Momin Rashid
Hello, Can anyone point me to documentation I can refer to for struts validator regular expressions. Regards, Muhammad Momin Rashid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Validator question

2004-12-13 Thread Susan Bradeen
On Mon, 13 Dec 2004 10:44:24 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Vinicius Caldeira Carvalho > > [mailto:[EMAIL PROTECTED] > > Sent: Monday, December 13, 2004 11:32 AM > > To: Struts Users Ma

RE: Validator upgrade?

2004-12-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 11:53 AM > To: [EMAIL PROTECTED] > Subject: RE: Validator upgrade? > > > Bingo > I sent an email last week about my custom rules, and was told &

RE: Validator upgrade?

2004-12-13 Thread Hollaway, Shedrick L CIV TRIREFFAC
Is your custom validator in a resource (i.e. validation-custom.xml) that's identified in struts-config.xml like such: === validation-custom.xml = smime.p7s Description: S/MIME cryptographic signature

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
Bingo I sent an email last week about my custom rules, and was told that I should/could put my custom rules into a file called validator-rules-wfb.xml and just add an entry into my struts-config validator setting with that file. So now I would have 4 different validator config files. But

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
ation." -Original Message- From: Hollaway, Shedrick L CIV TRIREFFAC [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 10:49 AM To: Struts Users Mailing List Subject: RE: Validator upgrade? Is your custom validator in a resource (i.e. validation-custom.xml) that's ident

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
e this message. Thank you for your cooperation." -Original Message- From: Hollaway, Shedrick L CIV TRIREFFAC [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 10:12 AM To: Struts Users Mailing List Subject: RE: Validator upgrade? What is your error message

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
[mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 10:19 AM To: Struts Users Mailing List Subject: RE: Validator upgrade? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 3:42 PM > To: [EMAIL PROTECTED] > Subject: V

RE: Validator upgrade?

2004-12-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 11:22 AM > To: [EMAIL PROTECTED] > Subject: RE: Validator upgrade? > > > here is the error I get each time (the original code is

RE: Validator upgrade?

2004-12-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 3:42 PM > To: [EMAIL PROTECTED] > Subject: Validator upgrade? > > > with the new struts 1.2.4 upgrade, I started to change all > the to but find that

RE: Validator upgrade?

2004-12-13 Thread Hollaway, Shedrick L CIV TRIREFFAC
What is your error message? Does it work if you keep it as ? Shed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 12:56 To: [EMAIL PROTECTED] Subject: RE: Validator upgrade? Ping.. Any help here... Mick

RE: Validator upgrade?

2004-12-13 Thread Mick.Knutson
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 3:42 PM To: [EMAIL PROTECTED] Subject: Validator upgrade? with the new struts 1.2.4 upgrade, I started to change all the to but find that my custom validators are not being found. 1. Is there a doc on upgrading the validator? 2. A

RE: Validator question

2004-12-13 Thread Jim Barrows
> -Original Message- > From: Vinicius Caldeira Carvalho > [mailto:[EMAIL PROTECTED] > Sent: Monday, December 13, 2004 11:32 AM > To: Struts Users Mailing List > Subject: Validator question > > > Hi there. Correct if I'm wrong, validator returns to the &

Validator question

2004-12-13 Thread Vinicius Caldeira Carvalho
Hi there. Correct if I'm wrong, validator returns to the input jsp after a validation fails right? Now if my jsp was called by an action that receives parameters throught the request, how can I handle this? Imagine this flow: Search Action (receives parameters on the request) -> forward

Validator upgrade?

2004-12-10 Thread Mick.Knutson
with the new struts 1.2.4 upgrade, I started to change all the to but find that my custom validators are not being found. 1. Is there a doc on upgrading the validator? 2. Anyone ever heard of this happening? Here is my validator

Struts validator and javascript

2004-12-09 Thread Ciaran Hanley
Hi, I am using the struts validator plug-in in my webapp. I have observed that sometimes on JSPs that use form validation that the javascript generated by html:javascript tag comes out on the generated html page. It happens very irregularly so its hard to spot what is causing it. Anybody have

RE: Using a key as var-value in validator

2004-12-06 Thread Kinjal Sonpal
> -Original Message- > From: Niall Pemberton [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 04, 2004 2:30 AM > To: Struts Users Mailing List > Subject: Re: Using a key as var-value in validator > Validator. I've create a bugzilla ticket for this so it

Re: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml'

2004-12-05 Thread Ray
sources.properties" file you cut/pasted into this email, you have spaces before most of the validator key names. I'm not sure if that is "legal" so be warned that it MIGHT cause additional problems. Additionally, for your struts-config.xml plug-in definition, you might want to try

RE: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml'

2004-12-05 Thread David G. Friedman
l become 'arg position="0"' with arg1, arg2, and arg3 following similar patterns of replacing the position's value with the correct number. 2. In the "MessageResources.properties" file you cut/pasted into this email, you have spaces before most of the validator key

Re: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml'

2004-12-04 Thread Ray
Yep. Sure. Thanks ... :-) -- MessageResource.properties - # Resources file for STRUTS # Errors errors.header= errors.footer= # -- validator -- errors.invalid={0} is invalid. errors.maxlength={0} can not be greater than {1} characters. errors.minlength={0} can not be less than

RE: Cannot load a validator resource from '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml'

2004-12-04 Thread David G. Friedman
Ray, Can you include your validatoin.xml and validator-rules.xml files plus copy in the application resources from any files it may be using for messages? regards, David -Original Message- From: Ray [mailto:[EMAIL PROTECTED] Sent: Saturday, December 04, 2004 5:33 AM To: [EMAIL PROTECTED

Cannot load a validator resource from '/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml'

2004-12-04 Thread Ray
from the start of struts-config.xml. Now though, I have another problem; Struts won't load the validation files. I get the following error when the application starts up: --- javax.servlet.UnavailableException: Cannot load a vali

Re: Using a key as var-value in validator

2004-12-03 Thread Niall Pemberton
test them :-) Niall - Original Message - From: "David G. Friedman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, December 03, 2004 10:37 PM Subject: RE: Using a key as var-value in validator > > If its something yo

RE: Using a key as var-value in validator

2004-12-03 Thread David G. Friedman
e Struts or Commons Validator internals work on a low level. :) We'll see what I get around to Just don't ask me to make another taglib. My last one for the Validator wasn't requested by even one listmember. *Add a melodramatic sigh here for effect* Regards, David -Origina

Re: Using a key as var-value in validator

2004-12-03 Thread Niall Pemberton
Would be a good idea IMO to add key/bundle to the element in Commons Validator. I've create a bugzilla ticket for this so it doesn't get forgotten. http://issues.apache.org/bugzilla/show_bug.cgi?id=32522 If its something your interested in, patches are always welcome :

RE: Using a key as var-value in validator

2004-12-03 Thread Ram Venkataswamy
-value in validator Ram, Thanks for replying back. > If you have defined resource bundle in struts config & are able to > access key from jsp then no additional step/configuration > is required to > access them in validation file. The arg/msg lookup resource bundle > defined for

RE: Using a key as var-value in validator

2004-12-01 Thread Kinjal Sonpal
Ram, Thanks for replying back. > If you have defined resource bundle in struts config & are able to > access key from jsp then no additional step/configuration > is required to > access them in validation file. The arg/msg lookup resource bundle > defined for the application and then pick up valu

RE: Using a key as var-value in validator

2004-12-01 Thread Ram Venkataswamy
ignored). -Original Message- From: Kinjal Sonpal [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 3:07 AM To: Struts User List Subject: Using a key as var-value in validator Dear all, I'm using Struts 1.2.4 with Validator 1.1.3 for my application. I need to access the Da

RE: disable validation of validator.xml & validator-rules.xml (partially OT now)

2004-12-01 Thread Joe Germuska
ually registered. Where did you get the value "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN" ? From the Validator CVS repository, the newest DTD is this one: "-//Apache Software Foundation//DTD Commons Validator Rules Configuration

RE: disable validation of validator.xml & validator-rules.xml (partially OT now)

2004-12-01 Thread Marco Mistroni
-Original Message- From: Derek Broughton [mailto:[EMAIL PROTECTED] Sent: 01 December 2004 14:05 To: Struts Users Mailing List Subject: Re: disable validation of validator.xml & validator-rules.xml On Wednesday 01 December 2004 08:36, Joe Germuska wrote: > Ultimately, this is the responsibility

Re: disable validation of validator.xml & validator-rules.xml

2004-12-01 Thread Derek Broughton
On Wednesday 01 December 2004 08:36, Joe Germuska wrote: > Ultimately, this is the responsibility of the commons-validator > library which Struts uses. For each config file, a > "ValidatorResources" object is constructed. This object uses > commons-digester to process th

Re: disable validation of validator.xml & validator-rules.xml

2004-12-01 Thread Joe Germuska
Ultimately, this is the responsibility of the commons-validator library which Struts uses. For each config file, a "ValidatorResources" object is constructed. This object uses commons-digester to process the XML config. http://cvs.apache.org/viewcvs.cgi/jakarta-commons/validator

Using a key as var-value in validator

2004-12-01 Thread Kinjal Sonpal
Dear all, I'm using Struts 1.2.4 with Validator 1.1.3 for my application. I need to access the Date Format stirng across the application at many places. Instead of hard-coding format string everywhere I would like to use a key from the Resource Bundle for the purpose. I can access the key

Re: disable validation of validator.xml & validator-rules.xml

2004-12-01 Thread Guillaume Cottenceau
"Marco Mistroni" writes: > Hello all, > Does anyone know how to disable the validation of the two files > mentioned in the subject? > Looks like struts, when loaded, is trying to validate those files > against the DTD... and if by mistake my internet connection goes down, > then code > Won\

disable validation of validator.xml & validator-rules.xml

2004-12-01 Thread Marco Mistroni
Hello all, Does anyone know how to disable the validation of the two files mentioned in the subject? Looks like struts, when loaded, is trying to validate those files against the DTD... and if by mistake my internet connection goes down, then code Won\t work. (meaning, I am using WAS Studio

RE: Validator question

2004-11-30 Thread Ram Venkataswamy
Or if you want custom msg for required validator then name attribute of msg element should match that specified for depends attribute -Original Message- From: Ram Venkataswamy Sent: Tuesday, November 30, 2004 9:57 AM To: Struts Users Mailing List Subject: RE: Validator question Check

RE: Validator question

2004-11-30 Thread Ram Venkataswamy
Check "required" validator in your validator-rules file - the message takes one argument {0} is required - whereas in validation file you are passing two values for 1 argument try removing - it should work -Original Message- From

Re: Validator question

2004-11-30 Thread Vinicius Caldeira Carvalho
Duncan Mills wrote: It might be worth enabling logging on the digester classes to see what's happening on the XML. I run validator using apps with Struts 1.1 in OC4J with no problem so there's not a fundamental issue here. Are you using OC4J inside JDeveloper or deploying to

Re: Validator question

2004-11-30 Thread Duncan Mills
It might be worth enabling logging on the digester classes to see what's happening on the XML. I run validator using apps with Struts 1.1 in OC4J with no problem so there's not a fundamental issue here. Are you using OC4J inside JDeveloper or deploying to it from an external IDE?

Re: Validator question

2004-11-30 Thread Vinicius Caldeira Carvalho
Bill Siggelkow wrote: Make sure you are using the latest release of Struts (http://struts.apache.org/acquiring.html). In Struts 1.2.2 (IIRC) there was an inconsistency with the Validator that caused this problem. -Bill Siggelkow Vinicius Caldeira Carvalho wrote: Hi there! I'm trying to ma

Re: Validator question

2004-11-30 Thread Bill Siggelkow
Make sure you are using the latest release of Struts (http://struts.apache.org/acquiring.html). In Struts 1.2.2 (IIRC) there was an inconsistency with the Validator that caused this problem. -Bill Siggelkow Vinicius Caldeira Carvalho wrote: Hi there! I'm trying to make my validator pro

Validator question

2004-11-30 Thread Vinicius Caldeira Carvalho
Hi there! I'm trying to make my validator projetct work on oc4j (oracle 10g) and so far I got no success at all. First thing that is really strange is that at deploy time the application runs it complains about some attributes being used but not declared: " XML-0149: (Error) Element &

RE: validator form not responding properly

2004-11-30 Thread Kinjal Sonpal
mber 19, 2004 12:07 PM > To: Struts Users Mailing List > Subject: validator form not responding properly > > > in my struts application i am goin from one page to > another by clicking the buttons > but when i got to particular page which is using > validatorform it w

RE: validator form not responding properly

2004-11-29 Thread Kinjal Sonpal
-- --8<8<8<-- Done. In short you are telling the validator to invoke validations only in case a) it'll find the page attribute in request and b) the value for that matches with the one specified in validation.xml. Also note that hidden attribute name can *not* be

Re: Validator outside Struts

2004-11-29 Thread Eddie Bush
Commons-Validator :-) You've got the wrong list, my friend. Try: http://jakarta.apache.org/commons/validator/ They have their very own user list (well, their very own shared user list!) ;-) http://jakarta.apache.org/site/mail2.html#Commons It's possible you might get some leads her

Validator outside Struts

2004-11-29 Thread Per Lövdinger
Hi there, I would like to try out Validator outside Struts. I've got the initializion of validatorResources working. Does anyone have sample-code for using the resources and calling the validator,extracting validationResult ? thanks in advance

validator validwhen and quotes causes js errors

2004-11-26 Thread erh
will probably get the javascript working, but I have a feeling that the java validwhen parser won't like that much. Not to mention that doing that would make the criteria unreadable. Is anyone else having this problem? Also, the nbaPointGuard example on the validator user's

Re: Validator : network unreachable

2004-11-24 Thread Derek Broughton
On Wednesday 24 November 2004 11:35, Matt Bathje wrote: > I am pretty sure this error is related to invalid/outdated versions of > validator and/or struts. Doh! I'm still pretty new to Tomcat. I keep forgetting that applications keep their own copies of everything. Though

Re: Validator : network unreachable

2004-11-24 Thread Matt Bathje
I am pretty sure this error is related to invalid/outdated versions of validator and/or struts. Since you list an invalid validator version, I can't tell what you are using. I would try first seeing if the problem exists with the version of validator that ships with the version of strut

Re: Validator : network unreachable

2004-11-24 Thread Niall Pemberton
I think you mean validator 1.1.3. These threads had similar issues - except they were using Struts 1.2.4 instead of 1.1. When you dropped in your new 1.1.3 validator jar, did you also upgrade the validator-rules.xml to the new version (with the 1.1.3 DOCTYPE) and did you change the DOCTYPE on

Re: Validator : network unreachable

2004-11-24 Thread Derek Broughton
On Wednesday 24 November 2004 11:07, [EMAIL PROTECTED] wrote: > Probably trying to do xml validation using the dtd specified on the > doctype. Save dtd locally (and change reference) or make sure you have a > network path to jakarta.apache.org > Thanks, Jeff. I'm using tiles, and I do recall seein

RE: Validator : network unreachable

2004-11-24 Thread Simon Matic Langford
why doesn't validator use an entity resolver to pull the dtd out of the jar? > > > Probably trying to do xml validation using the dtd specified on the > doctype. Save dtd locally (and change reference) or make sure > you have a > network path to jak

Re: Validator : network unreachable

2004-11-24 Thread Guillaume Cottenceau
Derek Broughton writes: > I'm running Validator 1.3.1, Apache 2.0.52, Tomcat 4.1.30, Struts 1.1 on a > Debian Linux system. When connected to the net, Tomcat starts fine. When > unconnected, I get the following message in catalina*.log. Why on earth does > Validator need

Re: Validator : network unreachable

2004-11-24 Thread Jeff_Caswell
cc: Subject: Validator : network unreachable

Validator : network unreachable

2004-11-24 Thread Derek Broughton
I'm running Validator 1.3.1, Apache 2.0.52, Tomcat 4.1.30, Struts 1.1 on a Debian Linux system. When connected to the net, Tomcat starts fine. When unconnected, I get the following message in catalina*.log. Why on earth does Validator need to reach the web? In the first place, my Tomc

Re: validator form not working

2004-11-23 Thread Erik Weber
maxlength 20 Notice that I put minlength first, as arg1, and maxlength second, as arg2. I also notice that you are repeating arg1, where I think you want arg1 and then arg2. Hope that helps. Erik Nishant wrote: hi to all, i am using validator form to validate my

Re: validator form not working

2004-11-22 Thread Bill Siggelkow
Make sure that the files for the validator plug-in do exist in the specified location. Also, make sure that the ActionForm for employeeForm extends ValidatorForm or DynaValidatorForm. Also, make sure that 'validate="true"' is set on your action mapping in the struts-config.x

Re: Struts Validator and Nested Beans

2004-11-22 Thread Hubert Rabago
The Validator plug in can recognize fields names such as "employee.name", and that's the extent of my experience with it. Nested forms/tags allow you to go much deeper than that, and everytime I do, I choose to use my own validate() implementation instead of using Validator. On M

Struts Validator and Nested Beans

2004-11-22 Thread David McReynolds
I've not been able to find any examples so I was hoping someone may have tried this before. I am making copious use of nesting on my forms and I was wondering if this will prevent me from using the Struts validation framework? --dlm

RE: Struts 1.2.4/Validator 1.1.3 and constant validation issue with '&' for constant-value

2004-11-22 Thread Simon Matic Langford
gt; To: Struts Users Mailing List > Subject: Struts 1.2.4/Validator 1.1.3 and constant validation > issue with '&' for constant-value > > > Hello. I'm trying to create a mask for use in password fields > that accepts: > - UPPERCASE A-Z > - lowerca

Struts 1.2.4/Validator 1.1.3 and constant validation issue with '&' for constant-value

2004-11-22 Thread Brian Bezanson
[EMAIL PROTECTED]&*()]*$ ... ... When I start my application server (Tomcat 5.x) and the struts validation code starts to load my rules I get the following messages: 11-04-2004 11:46:19 struts.validator.ValidatorPlugIn - Loading validation rules file from '/WEB-INF/validator-ru

validator form not working

2004-11-22 Thread Nishant
hi to all, i am using validator form to validate my fields...but it is not working.. my pulgins used in struts-config.xml file is validation.xml form is minlength 2

Re: Validator PlugIn and PDAs

2004-11-20 Thread Mark Lowe
AIL PROTECTED]> wrote: > Hi all, > > I am sorry if this has been answered before, but the > search functionality on the mailing list is down. So > here it goes: > > Does the validator plugin have support for handheld > browsers such as PocketPC or Palm? AFAIK, pocketPC

Validator PlugIn and PDAs

2004-11-19 Thread Julian
Hi all, I am sorry if this has been answered before, but the search functionality on the mailing list is down. So here it goes: Does the validator plugin have support for handheld browsers such as PocketPC or Palm? AFAIK, pocketPC only supports JScript so this may be a problem since all the

validator form not responding properly

2004-11-18 Thread Nishant
in my struts application i am goin from one page to another by clicking the buttons but when i got to particular page which is using validatorform it will popup validations on invoking.. so my problem is how to delay the invocation of validatorForm ... Regards Nishant Patil Software Engi

Re: Struts 1.2.4 validator is not working

2004-11-17 Thread Matt Bathje
Yadav, Ganesh wrote: Thanks Niall, That helped me to resolve those mentioned errors. But seems like I cannot get validWhen rule working? It doesn't even generate a JavaScript validation method "validateValidWhen()" Following is the code snippet

RE: Struts 1.2.4 validator is not working

2004-11-17 Thread Yadav, Ganesh
rs Mailing List Subject: Re: Struts 1.2.4 validator is not working Check out the upgrade notes here... http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 My guess is you used to have your messages resources configured through the web.xml - this was considered deprecated in Struts 1.1 and h

Re: Struts 1.2.4 validator is not working

2004-11-17 Thread Niall Pemberton
the struts-config.xml using the message-resources element Niall - Original Message - From: "Yadav, Ganesh" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 5:44 PM Subject: Struts 1.2.4 validator i

Struts 1.2.4 validator is not working

2004-11-17 Thread Yadav, Ganesh
Can somebody let me know any workaround for the following error? Latest struts download version 1.2.4 validator has following error This error is thrown on following line in JSP. I am using latest download so that I can use "ValidWhen" functionality. Am I the only one who is ge

[Commons Validator] Version 1.1.4 (Alpha) Available for Testing

2004-11-15 Thread Niall Pemberton
Version 1.1.4 (Alpha) of the Commons Validator component is now available for download and testing here: http://cvs.apache.org/dist/jakarta/commons/validator/v1.1.4/ This new version has minor changes from Version 1.1.3 and is a maintenance release that adds a few new methods whose absence was

Re: Using non struts-config.xml MessageResource in the Validator

2004-11-15 Thread Christian Bjørnbak
Hi James Thanks for your answer. I have already tried that solution, but I need the PathInfo to know which MessageResource to pull from the db... In the meantime I've made the following progress on my own: I realized the it isn't the Validator which is the problem

Re: Using non struts-config.xml MessageResource in the Validator

2004-11-12 Thread James Mitchell
The validator pulls it from the request. So, you need a custom impl of MessageResources. Then, you just configure your message resource factory in the struts-config and you are done. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx

RE: Validator - Redirects or Forwards?

2004-11-12 Thread Yagiz Erkan
> It uses forward (otherwise the errors get lost between requests!). > > Do you get an error? Thanks Daniel! We resolved the problem. It was a silly typo... - Yagiz Erkan - http://yagiz.blogspot.com http://www.erkans.com - T

RE: Help needed on question regarding html:select and html:options...cannot turn off validator

2004-11-11 Thread t t
. > the one that submits the > page). > > Regards, > David > > -Original Message- > From: t t [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 10, 2004 8:05 PM > To: Struts Users Mailing List > Subject: RE: Help needed on question regarding > html:select a

RE: Validator - Redirects or Forwards?

2004-11-11 Thread Daniel Perry
It uses forward (otherwise the errors get lost between requests!). Do you get an error? Daniel. > -Original Message- > From: Yagiz Erkan [mailto:[EMAIL PROTECTED] > Sent: 11 November 2004 09:34 > To: [EMAIL PROTECTED] > Subject: Validator - Redirects or Forwards?

Validator - Redirects or Forwards?

2004-11-11 Thread Yagiz Erkan
When the validation fails, does the Validator use "redirect" or "forward"? Because I can't see my JSP when the validation fails and I keep my JSPs under WEB-INF. Do you have an idea what may go wrong? Thanks, - Yagiz - ---

Using non struts-config.xml MessageResource in the Validator

2004-11-11 Thread Christian Bjørnbak
s and jsps, and servlet's PathInfo decide which company's pages is requested.. The i18n for the texts on the pages is solved by extending the JSTL messageTag to use our own ResourceBundle. Now the problem is the texts used at validation of errors... I would like to be able to use the S

RE: Help needed on question regarding html:select and html:options...cannot turn off validator

2004-11-10 Thread David G. Friedman
ml:options...cannot turn off validator Thanks. David. I am still confused by the automatic validation. I couldn't turn it off. --- "David G. Friedman" <[EMAIL PROTECTED]> wrote: > Tong, > > You can change the form's submit action using almost > any form f

RE: Help needed on question regarding html:select and html:options...cannot turn off validator

2004-11-10 Thread t t
ct item, then add > each new item. Creative > use of the iterate tag plus javascript can do it, or > you could find good > examples if you google - that's how I learned how to > do it. > > Regards, > David > > -Original Message- > From: t t [mailto:[EMAIL

<    10   11   12   13   14   15   16   17   18   19   >