RE: Validator

2003-06-20 Thread Kamholz, Keith (corp-staff) USX
Thanks for the input. I'm pretty sure I've got all that though. This validator stuff is driving me insane! I wish my boss would just let me use the validate method of the ActionForms. - Keith -Original Message- From: Sergey Smirnov [mailto:[EMAIL PROTECTED] Sent: Friday, Jun

Re: Validator

2003-06-20 Thread Sergey Smirnov
Common mistake is: You forgot something or misspelt something. Week ago I sent condition set you need to satisfy to make common validator working. It is bellow. For example, we have a very simple jsp form and want to use standard server-side validator 'required' for one form field. Ac

Re: Validator

2003-06-20 Thread David Graham
Hey, I'm trying to put validation into my application using the validator plugin. However it doesn't seem like it's doing anything at all. I know it's a very general question, but what are some things I should look for? Are there any common mistakes in setting up tha

Validator

2003-06-20 Thread Kamholz, Keith (corp-staff) USX
Hey, I'm trying to put validation into my application using the validator plugin. However it doesn't seem like it's doing anything at all. I know it's a very general question, but what are some things I should look for? Are there any common mistakes in setting up that I sh

RE: Validator with LookupDispatchAction and Tiles

2003-06-19 Thread Nick
a given user action. There will be a second mapping that will handle Validation failures. The second will use the same action class as the first, but it won't invoke validator. In the form, we'll override validate(). When the form fails the validation, we'll modify the "dispatch

Re: Validator problem with integers

2003-06-19 Thread Brad Plies
Thank you Robert & Markus for your mask suggestions will work beautifully. I would have seen it before I suppose if I were more comfortable with regexp notation. Thank you again, Brad - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Validator problem with integers

2003-06-19 Thread Brad Plies
You are correct, my choice of words inadvertently changed the problem statement to something that I didn't mean. Very sharp eyes there. >An integer validation is not the same as a "are all characters numeric" >validation. I don't think the validator currently has a nume

Re: Validator with LookupDispatchAction and Tiles

2003-06-19 Thread Jing Zhou
people to prototype their projects quickly. Jing - Original Message - From: "Nick" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, June 19, 2003 3:45 AM Subject: RE: Validator with LookupDispatchAction and

Re: Validator documentation

2003-06-19 Thread David Graham
Wednesday, June 18, 2003 3:46 PM , David Graham <[EMAIL PROTECTED]> a écrit : > > Hello, > > > > I'm looking for an exaustive documentation of the struts > > validator's rules defined in validator-rules.xml. > > Where can I find the name, values a

Re: Validator documentation

2003-06-19 Thread Malik Recoing
Wednesday, June 18, 2003 3:46 PM , David Graham <[EMAIL PROTECTED]> a écrit : > > Hello, > > > > I'm looking for an exaustive documentation of the struts > > validator's rules defined in validator-rules.xml. > > Where can I find the name, values and me

Re: Validator problem with integers

2003-06-19 Thread Markus Holzem
constrained to one field. If you have interdependent fields you still have to go back and implement ActionForm::validate. mask ^[0-9]*$ minlength 4 maxlength 4 Markus Brad Plies wrote: Hi folks, Using struts-RC2, when using Validator

RE: Validator with LookupDispatchAction and Tiles

2003-06-19 Thread Nick
If I use multiple mappings, then I end up having something like this (only the input tag for validator is included): For Updates: For Creates: For Selection: For Non-Editting: The only thing that

AW: Validator problem with integers

2003-06-19 Thread sem . Gottofrey
gt; Betreff: Re: Validator problem with integers > > > An integer validation is not the same as a "are all > characters numeric" > validation. I don't think the validator currently has a > numeric check but > patches are welcome. > > David > &

Re: Validator with LookupDispatchAction and Tiles

2003-06-18 Thread Jing Zhou
- Original Message - From: "Brandon Goodin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 9:33 PM Subject: RE: Validator with LookupDispatchAction and Tiles > IMO. Consolidating Actions and a

RE: Validator with LookupDispatchAction and Tiles

2003-06-18 Thread Brandon Goodin
y, June 18, 2003 8:09 PM To: Struts Users Mailing List Subject: Re: Validator with LookupDispatchAction and Tiles - Original Message - From: "Dee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 7:58 PM Subject: Validator with LookupDispatchAct

Re: Validator with LookupDispatchAction and Tiles

2003-06-18 Thread Jing Zhou
- Original Message - From: "Dee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 7:58 PM Subject: Validator with LookupDispatchAction and Tiles > Hi, > > > > My teammate and I have looked through the message archive

RE: Validator with LookupDispatchAction and Tiles

2003-06-18 Thread Brandon Goodin
I do my validations within the action using my ValidatorLookupDispatchAction. I wrote this class in order to handle validations within the Action instead of the ActionForm. My validator contains definitions for each method in the ValidatorLookupDispatchAction (/myAction.create, /myAction.read, etc

Re: Validator with LookupDispatchAction and Tiles

2003-06-18 Thread Sandeep Takhar
ted by that editor. Each Action > Class handles the CRUD > functions for one object type and sub-classes > LookupDispatchAction. We > are constructing the pages using the Tiles > framework. > > > > Now the fun part: We are implementing Validator. > The client-s

Validator with LookupDispatchAction and Tiles

2003-06-18 Thread Dee
Create, Read, Update, or View the object supported by that editor. Each Action Class handles the CRUD functions for one object type and sub-classes LookupDispatchAction. We are constructing the pages using the Tiles framework. Now the fun part: We are implementing Validator. The client-side

RE: Validator problem with integers

2003-06-18 Thread Yansheng Lin
Oh they fixed the bug. The version I downloaded must be old. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: June 18, 2003 4:45 PM To: 'Struts Users Mailing List' Subject: RE: Validator problem with integers Huh? How come nobody noticed t

RE: Validator problem with integers

2003-06-18 Thread Yansheng Lin
== -1) return false; } return true; } - -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: June 18, 2003 4:23 PM To: 'Struts Users Mailing List' Subject: RE: Validator problem with integers Oh yeah. Sorry Well, at le

RE: Validator problem with integers

2003-06-18 Thread Yansheng Lin
Oh yeah. Sorry Well, at least I pinpointed where the check failed:). >There is a js function called isAllDigits(arg) in validator-rules.xml. >It's >used by validateInteger(). You can use that. No you can't because that function validates based on the type of numbe

RE: Validator problem with integers

2003-06-18 Thread David Graham
There is a js function called isAllDigits(arg) in validator-rules.xml. It's used by validateInteger(). You can use that. No you can't because that function validates based on the type of number (int, octal, etc). David Yan -Original Message- From: David Graham [mai

RE: Validator problem with integers

2003-06-18 Thread Yansheng Lin
There is a js function called isAllDigits(arg) in validator-rules.xml. It's used by validateInteger(). You can use that. Yan -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: June 18, 2003 3:13 PM To: [EMAIL PROTECTED] Subject: Re: Validator problem with int

Re: Validator problem with integers

2003-06-18 Thread David Graham
An integer validation is not the same as a "are all characters numeric" validation. I don't think the validator currently has a numeric check but patches are welcome. David Hi folks, Using struts-RC2, when using Validator with a dependency on "integer" validation,

Validator problem with integers

2003-06-18 Thread Brad Plies
Hi folks, Using struts-RC2, when using Validator with a dependency on "integer" validation, I have a problem with the validator assuming that any integer starting with zero "0" is necessarily octal. In one example, I have a form where people enter phone numbers. Which is

Re: Validator documentation

2003-06-18 Thread David Graham
Hello, I'm looking for an exaustive documentation of the struts validator's rules defined in validator-rules.xml. Where can I find the name, values and meaning of heach variable the rules can take ? Neither : http://jakarta.apache.org/struts/userGuide/dev_validator.html nor t

Re: Struts validator, validating dates with pattern.

2003-06-18 Thread Eirik Kjølsrud
Hi Nagendra, and thanks for your suggestion ! That "kinda" worked... Using datePatternStrict dd.MM. resulted in the datefield being correctly validated to the dd.MM. format, but I would also like it to allow both these formats of date : 08.1

Re: Struts validator, validating dates with pattern.

2003-06-18 Thread Nagendra Kumar O V S
: Wednesday, June 18, 2003 04:13:45 PM To: [EMAIL PROTECTED] Subject: Struts validator, validating dates with pattern.  Hi.I'm using Struts 1.1 RC1 and wants to validate a date in an input field asrequired and date. The part in validation.xml describin

RE: Validator documentation

2003-06-18 Thread Mark Galbreath
Good luck. -Original Message- From: Malik Recoing [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 4:02 AM To: Struts Users Mailing List Subject: Validator documentation Hello, I'm looking for an exaustive documentation of the struts validator's rules defined in

Struts validator, validating dates with pattern.

2003-06-18 Thread Eirik Kjølsrud
Hi. I'm using Struts 1.1 RC1 and wants to validate a date in an input field as required and date. The part in validation.xml describing the validation is : datePattern dd.MM. The required field triggers, but regardless of value in the date field, the date va

Validator documentation

2003-06-18 Thread Malik Recoing
Hello, I'm looking for an exaustive documentation of the struts validator's rules defined in validator-rules.xml. Where can I find the name, values and meaning of heach variable the rules can take ? Neither : http://jakarta.apache.org/struts/userGuide/dev_validator.html nor th

Re: validator framework Help needed

2003-06-17 Thread Pedro Emanuel de Castro Faria Salgado
validator framework, for client side validation, I probably cant have field based validation, coz I have to validate certain indexed fields, conditionally. So I did it the following way(I have pasted the code below). It working fine but I wanna know .. > if this is the right way to use

Re: Javascript w validator

2003-06-16 Thread salgado . pc
Subject: Re: Javascript w validator 16-06-2003 12:18 Please respond to "Struts Users

Re: Javascript w validator

2003-06-16 Thread Firat TIRYAKI
then you are using an object or var that doesn't exist... F. - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 2:13 PM Subject: Re: Javascript w validator > Nop... i

Re: Javascript w validator

2003-06-16 Thread salgado . pc
"Struts Users Mailing List" <[EMAIL PROTECTED]><[EMAIL PROTECTED]> Cc:(bcc: Pedroemanuel Salgado-PC/PGI) Subject: Re: Javascript w valida

Re: Javascript w validator

2003-06-16 Thread Firat TIRYAKI
check out the arrays you are using... if there is any... - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 1:55 PM Subject: Javascript w validator > > I am trying to introduce validator's javascri

Javascript w validator

2003-06-16 Thread salgado . pc
page instead of redirecting the request to the input (i introduced the input property on the action element but no luck) Feel free to guess... i ran out of ideas... Thanks, Pedro (See attached file: exception.txt)(See attached file: search-part.jsp) (See attached file: validator-rules.xml)(See att

Re: Validator Framework Questions

2003-06-15 Thread Dan Tran
/articles.html -Dan - Original Message - From: "Thomas Miskiewicz" <[EMAIL PROTECTED]> Newsgroups: Struts Sent: Sunday, June 15, 2003 10:09 AM Subject: Re: Validator Framework Questions > Dan, > > > change your strut config to use > > org.apache.struts.validat

Re: Validator Framework Questions

2003-06-15 Thread Pedro Emanuel de Castro Faria Salgado
The Validator framework (commons-validator) comes with the struts distribution. To install it you will need: jakarta-oro, commons-beanutils, commons-logging, commons-collections, commons-digester. Put these files (.jar) on your WEB-INF/lib (if you already installed struts it will only be

Re: Validator Framework Questions

2003-06-15 Thread Pedro Emanuel de Castro Faria Salgado
strut config to use > > org.apache.struts.validator.DynaValidatorForm > > -Dan > > - Original Message - > From: "Thomas Miskiewicz" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Sunday, June 15, 200

Re: Validator Framework Questions

2003-06-15 Thread Thomas Miskiewicz
Dan, > change your strut config to use > org.apache.struts.validator.DynaValidatorForm That helped. Could you or someone please else answer my questions regarding the validator framework itself? Is it part of Struts framework or not (I'm using the 1.1 rc2). What steps are required t

Re: Validator Framework Questions

2003-06-15 Thread Dan Tran
change your strut config to use org.apache.struts.validator.DynaValidatorForm -Dan - Original Message - From: "Thomas Miskiewicz" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, June 15, 2003 9:42 AM Subject: Validat

Validator Framework Questions

2003-06-15 Thread Thomas Miskiewicz
Hello! Reading a Struts book I wanted to give the validator framework a whirl. Since it's poorly described in the book I checked out Struts website. I wonder if when we speak about automatic form validation, then if do we mean the validator from the website http://home.earthlink.net/~dwinter

RE: Struts 1.1 RC1 - Error while invoking struts-validator web app in Tomcat 3.2.4

2003-06-12 Thread Pingili, Madhupal
Thursday, June 12, 2003 1:38 PM > To: Pingili, Madhupal > Subject: Struts 1.1 RC1 - Error while invoking struts-validator web > app in Tomcat 3.2.4 > > hi, i have the same problem as you, > > ERROR [main] (MessageResourcesFactory.java:197) - > Mess

Re: Odd Validator Error Message with 1.1RC2

2003-06-11 Thread David Graham
This is a bug in commons-validator 1.1-dev. Struts 1.1 final will ship with validator 1.0.2 but I will fix this ASAP. David I upgraded to Struts 1.1 RC2 from RC1, and have began seeing the error below when Tomcat starts up. Any ideas as to how to fix this? Validation seems to work just

Odd Validator Error Message with 1.1RC2

2003-06-11 Thread Brown, Melonie S. - Contractor
I upgraded to Struts 1.1 RC2 from RC1, and have began seeing the error below when Tomcat starts up. Any ideas as to how to fix this? Validation seems to work just fine, but I don't like seeing messages like this. INFO: Loading validation rules file from '/WEB-INF/validator-rules.x

RE: Correct validator DTD

2003-06-11 Thread Kris Schneider
The validation_1_1.dtd and validator-rules_1_1.dtd files distributed within struts.jar are deprecated and suggest using: http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";> However, commons-validator.jar contains both validator_1_0.dtd and validator_1_0_1.dtd so I'm assumin

RE: Correct validator DTD

2003-06-11 Thread David Graham
This one seems to work for me: Because it's backwards compatible with 1.0.2. Struts 1.1 will ship with commons-validator 1.0.2 not 1.1. David http://jakarta.apache.org/commons/dtds/validator_1_1.dtd";> With struts 1.1 RC2. Matt -Original Message- From: Rob Leland [

RE: Correct validator DTD

2003-06-11 Thread Raible, Matt
This one seems to work for me: http://jakarta.apache.org/commons/dtds/validator_1_1.dtd";> With struts 1.1 RC2. Matt -Original Message- From: Rob Leland [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 9:41 PM To: Struts Users Mailing List Subject: Re: Correct valid

Re: validator mask expression language

2003-06-11 Thread David Graham
#x27;re largely the same). David hi, where can i get help on the mask validator regular expression language --nagi Nagendra Kumar O V S Member Technical Staff Ikigo India Private Ltd. 470-B, Road No. 36, Jubilee Hills, Hyderabad 500033 Contact(O): 23544671 Ce

validator mask expression language

2003-06-11 Thread Nagendra Kumar O V S
hi, where can i get help on the mask validator regular _expression_ language   --nagi Nagendra Kumar O V S Member Technical Staff Ikigo India Private Ltd. 470-B, Road No. 36, Jubilee Hills, Hyderabad 500033 Contact(O

RE: Validator Problen

2003-06-11 Thread O_Parthasarathy Kesavaraj
'Struts Users Mailing List' > Subject: RE: Validator Problen > > Hello kesavaraj, > > Check if u have added following line right after > in your jsp page > > staticJavascript="true"/> > > -Hari > > -Original Message- >

RE: Validator Problen

2003-06-10 Thread Hariharan
Hello kesavaraj, Check if u have added following line right after in your jsp page -Hari -Original Message- From: O_Parthasarathy Kesavaraj [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 10:31 AM To: 'Struts Users Mailing List' Subject: Validator Problen Hai I

RE: Validator Problen

2003-06-10 Thread O_Parthasarathy Kesavaraj
Thanks david.But i also done that. > -- > From: David Graham[SMTP:[EMAIL PROTECTED] > Reply To: Struts Users Mailing List > Sent: Wednesday, June 11, 2003 10:31 AM > To: [EMAIL PROTECTED] > Subject: Re: Validator Problen > > Y

Re: Validator Problen

2003-06-10 Thread David Graham
orm validation works fine.I have called validation fn similar to that one in example.onsubmit = validateRegistrationForm(this). 1.I have created validation.xml 2.I have copied validator-rules.xml 3.I have added plugin for validator in config. Is there anything to be done in addition to the above steps. Rega

Validator Problen

2003-06-10 Thread O_Parthasarathy Kesavaraj
in example.onsubmit = validateRegistrationForm(this). 1.I have created validation.xml 2.I have copied validator-rules.xml 3.I have added plugin for validator in config. Is there anything to be done in addition to the above steps. Regards Parthasarathy > -- > From: Rob Leland[SM

Re: Correct validator DTD

2003-06-10 Thread Rob Leland
Raible, Matt wrote: Which is the correct DTD for the Validator: http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";> If you are using Validator with struts 1.1 RC 1 or RC2 then it is http://jakarta.apache.org/commons/dtds/validator_1_0_1.dtd OR 1.1? 1.1//EN&q

Re: Correct validator DTD

2003-06-10 Thread David Graham
commons-validator 1.1 has not been released yet, it is the development version. You should use the 1_0 or 1_0_2 dtd. David Which is the correct DTD for the Validator: http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";> OR 1.1? http://jakarta.apache.org/struts/dtds/validation

Correct validator DTD

2003-06-10 Thread Raible, Matt
Which is the correct DTD for the Validator: http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";> OR 1.1? http://jakarta.apache.org/struts/dtds/validation_1_1.dtd";> - To unsubscribe, e-mail: [EMAI

RE: validator and Multiple resource bundle

2003-06-09 Thread Bailey, Shane C.
PROTECTED] Sent: Monday, June 09, 2003 12:05 AM To: [EMAIL PROTECTED] Subject: validator and Multiple resource bundle Hello friends, i have already posted this Q. once but never got any reply, can other atleast tell me what could be a work around for this? I am trying to use validator with

validator and Multiple resource bundle

2003-06-08 Thread Hariharan
Hello friends, i have already posted this Q. once but never got any reply, can other atleast tell me what could be a work around for this? I am trying to use validator with struts 1.1 My idea is to maintain separate resource bundle for each module for jsp pages I can give something like this

Re: [validator] arg0-arg3 elements need name attribute to display message?

2003-06-08 Thread David Graham
Does that mean that future struts-1.x releases will be unable to use commons-validator 2.x without changing the Struts base requirements to 1.4? Struts would not use commons-validator 2.x in the 1.x series. I have no timeline for changing commons-validator to 2.x anyways. David Gareth

Re: [validator] arg0-arg3 elements need name attribute to displaymessage?

2003-06-08 Thread Gareth Andrew
David Graham wrote: I'm glad someone is doing some work on the validator. And speaking of that, I will most likely be using the validator extensively pretty soon in a new application, which may result in some contributions. Are there specific bugs or feature requests where help is n

RE: [validator] arg0-arg3 elements need name attribute to display message?

2003-06-08 Thread David Graham
I'm glad someone is doing some work on the validator. And speaking of that, I will most likely be using the validator extensively pretty soon in a new application, which may result in some contributions. Are there specific bugs or feature requests where help is needed? You can query bugzill

RE: [validator] arg0-arg3 elements need name attribute to display message?

2003-06-08 Thread John Cavacas
Thanks for the reply David. I'll update my source from CVS and build from there. I'm glad someone is doing some work on the validator. And speaking of that, I will most likely be using the validator extensively pretty soon in a new application, which may result in some contributions.

Re: Question about maxlength with Validator

2003-06-08 Thread David Graham
This may be do to an arg problem in recent commons-validator nightly builds. I fixed this last night so it should show up in today or tommorrow's commons-validator build. You could also download commons-validator-1.0.2.jar and use that. You should also be aware that Struts will not gen

Re: Validator and Tiles...Problem Solved

2003-06-08 Thread David Graham
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 4:50 AM Subject: Re: Validator and Tiles > I use Tiles and Validator together with no problems. You should never use > Javascript as your sole form of validation, it's merely a convenience for > the clien

RE: Question about maxlength with Validator

2003-06-08 Thread John Devine
03 AM To: Struts-user-list Subject: Question about maxlength with Validator Hi, now that I got Validator working properly, I'm trying to declare a validation by which an edited field cannot be greater than a certain size, but it doesn't work. Here follows what I've done: In the strut

Question about maxlength with Validator

2003-06-08 Thread Marco Tedone
Hi, now that I got Validator working properly, I'm trying to declare a validation by which an edited field cannot be greater than a certain size, but it doesn't work. Here follows what I've done: In the struts-config.xml file, i declared among the others, a password

Re: Validator and Tiles...Problem Solved

2003-06-08 Thread Marco Tedone
- Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 4:50 AM Subject: Re: Validator and Tiles > I use Tiles and Validator together with no problems. You should never use > Javascript as your sole form

Re: Validator and Tiles

2003-06-08 Thread Marco Tedone
m" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 4:50 AM Subject: Re: Validator and Tiles > I use Tiles and Validator together with no problems. You should never use > Javascript as your sole form of validation, it's merely a convenien

Re: Validator and Tiles

2003-06-07 Thread David Graham
I use Tiles and Validator together with no problems. You should never use Javascript as your sole form of validation, it's merely a convenience for the client. Did you subclass ValidatorForm? I've forgotten to do that once or twice and wondered why no validation was happening. Da

Validator and Tiles

2003-06-07 Thread Marco Tedone
Hi, I've been through the mailing archive without success. I remember had being used the Validator succesfully in a past; then my web developer started to use javascript to perform the checks so we didn't put attention to Validator any more. Now I'm using tiles for my site and wo

Re: Re: struts validator

2003-06-06 Thread Dan Tran
I must give Chuck a Kudo here, since the day I read his book review, Strut's validator never fail me. -Dan - Original Message - From: "Chuck Cavaness" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, June 05,

Re: Re: struts validator

2003-06-06 Thread Chuck Cavaness
Obviously I can only speak for the multiple projects (both my own and those I've consulted on), various articles and presentations that I've written on the Validator and of course the work that I've done with it while writing the Struts books, but the fact is that the Vali

Re: struts validator

2003-06-05 Thread David Graham
Not sure all this talk of validator is that justifiable. I've had no issues generating both the client side and server side validation, and its saved me a lot of work. Like others i think it would be nice to define form beans and validation rules in the same place but I like it as

RE: struts validator

2003-06-05 Thread David Graham
This was caused by a bug in commons-validator that was fixed some time ago. David hi, Can you please let me know of how do you get rid of this issuse ( i mean setting up the validator so that i need not be connected to the net ) ... Thanks Guru -Original Message- From: Brian

Re: struts validator

2003-06-05 Thread David Graham
Also, It looks like Struts run-time does not validate validation.xml against DTD, as a result any typo there are welcome without warnings. This is a problem with commons-validator not validating the xml files. I have been working to fix this but other problems have taken priority. David The

RES: struts validator

2003-06-05 Thread Julio Cesar C Neto
Mailing List Assunto: Re: struts validator I use xdoclet to generate my validator stuff. There is a tag in the that allows you to use the dtd or not. I set it there. Not sure how it actually works under the hood though. Sorry :-( Anyone else know? Brian - Original Message - From:

Re: struts validator

2003-06-05 Thread Mark Lowe
Not sure all this talk of validator is that justifiable. I've had no issues generating both the client side and server side validation, and its saved me a lot of work. Like others i think it would be nice to define form beans and validation rules in the same place but I like it as

Re: struts validator

2003-06-05 Thread Brian McSweeney
I use xdoclet to generate my validator stuff. There is a tag in the that allows you to use the dtd or not. I set it there. Not sure how it actually works under the hood though. Sorry :-( Anyone else know? Brian - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

Re: struts validator

2003-06-05 Thread Frances Aleah Z. de Guzman
but my pc is connected to the net. but i have this compilation error "no route to host "...but my struts-config.dtd works fine. On Thursday 05 June 2003 05:49 pm, Brian McSweeney wrote: > I had initial trouble setting up the validator, mainly to do with it not > working when you

RE: struts validator

2003-06-05 Thread graghupathy
hi, Can you please let me know of how do you get rid of this issuse ( i mean setting up the validator so that i need not be connected to the net ) ... Thanks Guru -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 10:50 To: Struts Users

Re: struts validator

2003-06-05 Thread Brian McSweeney
I had initial trouble setting up the validator, mainly to do with it not working when you try to validate the dtd with a machine not connected to the net. It didn't give a good error explaining this. However, once I realised this was the problem, and set up the validator properly, it works r

Re: struts validator

2003-06-05 Thread Ted Husted
Mark Galbreath wrote: > You know, I just don't get it. I think Validator was a great idea that > simply proved wrong in implementation. And I know I am not alone it > this assessment. I've been using the Validator for about two and half years now, and I have to agree, that

Re: struts validator

2003-06-05 Thread Jeff Kyser
So jump in and help David fix it. Otherwise, you're likely to wake up and find a large block of cheddar in your bed. :) On Wednesday, June 4, 2003, at 11:18 PM, Mark Galbreath wrote: You know, I just don't get it. I think Validator was a great idea that simply proved wrong in impl

RE: struts validator

2003-06-05 Thread Mark Galbreath
You know, I just don't get it. I think Validator was a great idea that simply proved wrong in implementation. And I know I am not alone it this assessment. Mark -Original Message- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 12:03 AM To: Struts Users Ma

RE: struts validator

2003-06-05 Thread Mark Galbreath
yeah, well, DUH! When are you guys going to realize that Validator should never have come out here even in beta. It sucks. Mark -Original Message- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 9:25 PM To: Struts Users Mailing List Subject: Re: struts

Re: struts validator

2003-06-05 Thread Sergey Smirnov
raham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 04, 2003 6:32 PM Subject: RE: struts validator > >Beats me, dude. I struggled with it for 3 days and said enough is enough, > >and wrote my own validations in my Action classes. If you look throu

RE: struts validator

2003-06-05 Thread David Graham
Beats me, dude. I struggled with it for 3 days and said enough is enough, and wrote my own validations in my Action classes. If you look through the mail archive, you'll see right off that this is what happens to the majority of people trying to get Validator to work. That's on

Re: struts validator

2003-06-05 Thread Frances Aleah Z. de Guzman
ction classes. If you look > > through the > > mail archive, you'll see right off that this is what happens to the > > majority > > of people trying to get Validator to work. > > > > Good luck, > > Mark > > > > -Original Message- >

Re: struts validator

2003-06-05 Thread Jeff Kyser
on classes. If you look through the mail archive, you'll see right off that this is what happens to the majority of people trying to get Validator to work. Good luck, Mark -Original Message- From: Frances Aleah Z. de Guzman [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 8:55

RE: struts validator

2003-06-05 Thread Mark Galbreath
Beats me, dude. I struggled with it for 3 days and said enough is enough, and wrote my own validations in my Action classes. If you look through the mail archive, you'll see right off that this is what happens to the majority of people trying to get Validator to work. Good luck,

Re: struts validator

2003-06-05 Thread Jeff Kyser
I assume you have javascript enabled on your browser? On Wednesday, June 4, 2003, at 07:54 PM, Frances Aleah Z. de Guzman wrote: how can i fix it? On Friday 30 May 2003 08:20 pm, Mark Galbreath wrote: That's because the Validator works by magic and you obviously have a hex in your ma

Re: struts validator

2003-06-05 Thread Frances Aleah Z. de Guzman
how can i fix it? On Friday 30 May 2003 08:20 pm, Mark Galbreath wrote: > That's because the Validator works by magic and you obviously have a hex in > your machine. > > (sometimes I kill myself) > Mark > > -Original Message- > From: Frances Aleah Z. de Gu

RE: validator: how to validate if either of two fields is presentandvalid

2003-06-05 Thread Doug Bryant
mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 04, 2003 11:35 AM > > To: Struts Users Mailing List > > Subject: validator: how to validate if either of two fields > > is present andvalid > > > > > > we have a form we are displaying to the user.

validator: how to validate if either of two fields is present andvalid

2003-06-05 Thread Doug Bryant
or an integer value depending on the field. We are currently using validator for the rest of the app (1.1 rc1). How can we achive this validation using validator? Writing a custom validate method does not seem to be a good solution because you can only validate one field at a time. We tho

RE: Validator Presentation

2003-06-04 Thread Mark Galbreath
Yeah, but does it work? :-) -Original Message- From: Chuck Cavaness [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 7:16 PM To: [EMAIL PROTECTED] Subject: Validator Presentation To anyone who might need it, I gave a presentation on the Validator at the Struts Atlanta group last

Re: struts validator

2003-06-04 Thread Jeff Kyser
, 2003, at 10:40 PM, Mark Galbreath wrote: yeah, well, DUH! When are you guys going to realize that Validator should never have come out here even in beta. It sucks. Mark -Original Message- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 9:25 PM To: Struts Users

<    3   4   5   6   7   8   9   10   11   12   >