RE: Validator Problem

2003-07-22 Thread Canning, Chuck
- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 5:21 PM To: Struts Users Mailing List Subject: Re: Validator Problem Hi Siva, on a related problem, can you see what is wrong this the following xml, because I get the error message "title cannot be less t

Re: Validator Problem

2003-07-22 Thread Adam Hardy
the arg0 shuld also contain a property called name="required" Please let me know whether it works, Sivakumar [EMAIL PROTECTED] wrote: Hi, I am using struts validator in the logon.jsp of my application. If I don't enter the username & click on submit the message displayed is &

DispatchAction descendant and Struts Validator problems

2003-07-22 Thread Tony Pinter
Hey all, I'm having trouble getting some simple Validator "required" fields working on a DynaValidatorForm being used in an Action extending a descendant of DispatchAction. The action is attached, but it behaves something like this: Dispatch method: read - Reads information

Re: Validator Problem

2003-07-22 Thread prashant . mdesai
cc: [EMAIL PROTECTED]Subject: Re: Validator Problem

Re: Validator Problem

2003-07-22 Thread Siva
ote: > Hi, > I am using struts validator in the logon.jsp of my application. If I don't > enter the username & click on submit the message displayed is "null is > required". Instead it should be "Username is required". > The part of the code in

Validator Problem

2003-07-22 Thread prashant . mdesai
Hi, I am using struts validator in the logon.jsp of my application. If I don't enter the username & click on submit the message displayed is "null is required". Instead it should be "Username is required". The part of the code in the validator-rules.xml

Validator problem?

2003-07-21 Thread Cyber.Zombie
ns. Some of these are required. Some are 'at least one of 2 checked' required (for which I added a custom Validator method and associated JavaScript). Problem: When I submit, Struts returns an error on the server side because fields that aren't included in the JSP are mark

RE: Using the validator for client side field modifications

2003-07-21 Thread Yansheng Lin
Yes. Struts Validator comes with only the basic type validation. You can extend it both on the server side and client side(in your case). -Original Message- From: Gregory F. March [mailto:[EMAIL PROTECTED] Sent: July 21, 2003 12:07 PM To: Struts Users Mailing List Subject: Re: Using

Re: Using the validator for client side field modifications

2003-07-21 Thread Gregory F. March
On Jul 21, 2003, "Yansheng Lin" <[EMAIL PROTECTED]> wrote: |You can call validateDate, etc anywhere in your form, provide that you loaded |then correctly. | |Something like onblur="validateInteger()" will validate whether they are |integers: Yansheng, So, what you are saying is that stru

RE: Using the validator for client side field modifications

2003-07-21 Thread Yansheng Lin
s valid as well. -Original Message- From: Gregory F. March [mailto:[EMAIL PROTECTED] Sent: July 21, 2003 8:49 AM To: Struts Users Mailing List Subject: Using the validator for client side field modifications Hi. I've been reading through some of the documentation and I haven't found exa

Using the validator for client side field modifications

2003-07-21 Thread Gregory F. March
of the fields. I have been reading about the validator and the "validator:javascript formname=myForm" / "onSubmit=validateMyForm" tag combo, but I'm not sure it does what I want as it seems to be doing a *form* validation. Could someone point me in the correct direc

validator sequence execution

2003-07-21 Thread Nagendra Kumar O V S
mentioned it in the last. is it the way the validator works or can i mention the sequence elsewhere   TIA --nagi   Nagendra Kumar O V S Member Technical Staff Ikigo India Private Ltd. 470-B, Road No. 36, Jubilee Hills, Hyderabad 5

Re: Validator form 'vs' reset method in ActionForm and DynaActionForm

2003-07-18 Thread "José Fortunato H. Tomás"
Thanks any way, I have already the solution. Hi! I'm trying to evaluate how to move my ActionForm's to Validator one's. I found a problem for which I don't see the solution. In basic (Dyna)ActionForm we have the reset() method, where we have access to the request, and f

Validator form 'vs' reset method in ActionForm and DynaActionForm

2003-07-18 Thread "José Fortunato H. Tomás"
Hi! I'm trying to evaluate how to move my ActionForm's to Validator one's. I found a problem for which I don't see the solution. In basic (Dyna)ActionForm we have the reset() method, where we have access to the request, and from there we can set some request.Atributes (fo

Re: Validator : date

2003-07-17 Thread Phil Shrimpton
On Thursday 17 July 2003 13:15, Michael Nascimento Santos wrote: Hi, > You must define a datePattern var in your validation.xml config, such as: > > > > datePattern > MM-dd- > > Same error, but if I change it to... var-name>datePatternStrict ..it works. Also, accor

Re: Validator : date

2003-07-17 Thread Michael Nascimento Santos
You must define a datePattern var in your validation.xml config, such as: datePattern MM-dd- This way, the validator knows when the value entered is valid according to your pattern. In my example, 07-17-03 would be valid, but not 17-07-03. []s Michael Nascimento

Validator : date

2003-07-17 Thread Phil Shrimpton
Hi, I am having problems with client side date validation in 1.1. If I set the depends value to include 'date', there seems to be a problem in the javascript generated. I get the following error.. Error: Length is null or not an object. The Error seems to be in the validation-rules.xml for t

RE: Problem while using validator framework

2003-07-17 Thread Prashant Samant
Thanx for the reply, But earlier i had tried "requiredif" value in the depends attribute and i got the following stack trace. [ERROR] Validator - -reflection: null java.lang.reflect.InvocationTargetException: java.lang.NullPointerException

Re: Problem while using validator framework

2003-07-17 Thread Nagendra Kumar O V S
hi, "validwhen" is not defined in ur validator-rules..   and i guess u have gone thro' the 1.1 release docs.. which talks about implementing the validwhen validator in the next release.. as of now it does't have validwhen rule

RE: Problem while using validator framework

2003-07-17 Thread sriram
Have you declared "validwhen" in validator-rules.xml? For ex., the following is an example of 'required'. Similarly, you need to declare 'validwhen'. -Original Message- From: Prashant Samant [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 2:

Problem while using validator framework

2003-07-17 Thread Prashant Samant
Hello everybody, I am trying to run a small application which validates a field. But when i run the appilcation, i am getting the following error " Validator - -No ValidatorAction called validwhen found for field method" The following is my struts.c

RE: Use of Validator in a Wizard Validator

2003-07-16 Thread Sandeep Takhar
hardcoding the multi-page > validations in your > validate > routine you're doing it wrong. That information is > already contained in > the validation.xml file. > > -Michael > > -Original Message- > From: Kearney, Michael > [mailto:[EMAIL PROTECTED

RE: Use of Validator in a Wizard Validator

2003-07-16 Thread Kearney, Michael
g it wrong. That information is already contained in the validation.xml file. -Michael -Original Message- From: Kearney, Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 7:46 AM To: 'Struts Users Mailing List' Subject: RE: Use of Validator in a Wizard

RE: Use of Validator in a Wizard Validator

2003-07-15 Thread Kearney, Michael
rite the code inside the braces. -Original Message- From: Ludovic Maitre [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 8:34 AM To: Struts Users Mailing List Subject: Re: Use of Validator in a Wizard Validator Hello, I use do my validations in the brackets. For example i test

Re: Use of Validator in a Wizard Validator

2003-07-15 Thread Ludovic Maitre
ns, like dontSatisfyValidation, for verifiy that each field concerned by the page which is actually checked. For automatic validation, driven by rules defined in validator-config.xml (or validator-rules, check the 2 files), (i think you think to this when you say "what is the method call I use to

RE: Use of Validator in a Wizard Validator

2003-07-15 Thread Kearney, Michael
Hmmm, no response. Let me rephrase the question. How do you perform field validation in your wizards? Thanks, Michael -Original Message- From: Kearney, Michael [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 12:28 PM To: '[EMAIL PROTECTED]' Subject: FW: Use of Vali

FW: Use of Validator in a Wizard Validator

2003-07-14 Thread Kearney, Michael
The "Struts in Action" book describes how to do multipage validations in chapter 12.10.1 by using the following code: if (page == 1) { //Check page 1 properties } if (page == 2) ( // And so on. Unfortunately, it doesn't go into detail about what goes inside the braces. What

Validation using Validator & java beans issue

2003-07-13 Thread Mohd Amin Mohd Din
Hi, Having a snag using Validator, DynaValidatorForm and simple java beans. An overview of the current application my team is currently building; We use 2 Action classes for one jsp if the jsp has a html form in it else we use 1 Action. Example, for changePassword.jsp we have

Validator + Problem

2003-07-11 Thread Aaron Longwell
I feel a little embarrased asking this question... it seems so simple... I'm having a problem when the Validator framework actually finds a validation error. My form contains a dynamically created drop-down. For correct data, the form works just fine. When the user submits bad data, ho

Validator Framework and Business Objects

2003-07-11 Thread Jens v . P .
Hello, I'm currently working on a framework for a special kind of web-applications. These applications all require some questionnaires. These questionnaires are defined using a bundle of business objects. These business classes include logic for validating user input values. The vali

RE: Struts Validator Errors - urgent!!

2003-07-10 Thread Mark Galbreath
I suggest you write your own JavaScript validations; Validator has many problems. Mark -Original Message- From: sriram [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:34 AM To: '[EMAIL PROTECTED]' Subject: Struts Validator Errors - urgent!! H i, This is a repo

Struts Validator Errors - urgent!!

2003-07-10 Thread sriram
H i, This is a repost. I'm in need of a solution to the following problem. Pl. suggest ! I'm tying to incorporate client-side validations using struts validator. I've downloaded all related .jar files and placed them in /WEB-INF/lib. I'm using c

Error with commons-validator

2003-07-10 Thread sriram
I'm tying to incorporate client-side validations using struts validator. I've downloaded all related .jar files and placed them in /WEB-INF/lib. I'm using commons-validator.jar (1.0.2). When I'm trying to display the. jsp page in web browser. it's showing some HTML

RE: What should be in validate() method when using struts validator package

2003-07-10 Thread sriram
g displayed properly. What could be the reason? -Original Message- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 12:32 PM To: [EMAIL PROTECTED] Subject: RE: What should be in validate() method when using struts validator package HI again this pdf gives

RE: What should be in validate() method when using struts validator package

2003-07-09 Thread Nagendra Kumar O V S
HI again this pdf gives u good start to the validator framework http://www.manning.com/husted/chap12.pdf   also u can deploy the struts-validator.war that comes with the struts release and go thro' the jsps, validator.xml, validator-rule

RE: What should be in validate() method when using struts validator package

2003-07-09 Thread sriram
Can you please explain how to use validator for client side validations? Any sample code on the web (links would be helpful). Thanks Sriram -Original Message- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:59 AM To: [EMAIL PROTECTED] Subject

Re: What should be in validate() method when using struts validator package

2003-07-09 Thread Nagendra Kumar O V S
hi, struts validator provides both client side as well as server side validations. if u want to use the serverside validations , u have to extend the validatorForm instead of ActionForm and remove the validate() method all together. but, in my

What should be in validate() method when using struts validator package

2003-07-09 Thread sriram
What should be in validate() method when we use Struts Validator package? Should it be an empty method? My current validate() method (without using Struts Validator) is as follows:(What should it be if I implement validations in validator-rules.xml and validations.xml)? Pl. suggest. public

RE: validator validwhen not working?

2003-07-09 Thread Poon, Johnny
ginal Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 11:56 AM To: Struts Users Mailing List Subject: Re: validator validwhen not working? Are you using a nightly build after 1.1 final? ValidWhen was not included with 1.1. David --- "Poon, Johnn

Re: validator validwhen not working?

2003-07-09 Thread David Graham
Are you using a nightly build after 1.1 final? ValidWhen was not included with 1.1. David --- "Poon, Johnny" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use validwhen, so that it's only valid when either all > three > related fields are empty or are filled, it's valid; otherwise not. >

validator validwhen not working?

2003-07-09 Thread Poon, Johnny
Hi, I'm trying to use validwhen, so that it's only valid when either all three related fields are empty or are filled, it's valid; otherwise not. ssn_1, ssn_2, and ssn_3 are the field names. For some reason, when I put this in, none of the validation takes place, not even required, minlength, ma

Error with validator-rules.xml - No stream could be opened

2003-07-08 Thread sriram
I am trying to use validator with validator-rules.xml (for struts1.0). When I deploy the .ear file on JBoss, I'm getting the following error: 10:07:15,247 INFO [Engine] validator: Skipping validation rules file from '/WEB -INF/validator-rules.xml'. No stream could be o

Single error message for multiple fields using Validator?

2003-07-08 Thread Poon, Johnny
Hi, I'm using Validator. Can anyone tell me if there's a way to only show one general error message when there are errors on several fields on the page? Further, how to change the font on the title and move focus to of all the error field? What I want to do when validation comes back

Re: Urgent plz. on Dyna Validator

2003-07-08 Thread Adam Hardy
actually the javadocs say it all. If you've got dynaactionforms or validatorforms then it's not a huge step. [EMAIL PROTECTED] wrote: I am new to Dyna Validator and its working. Any useful resources on the working of a Dyna Validator Form/Dyna Action Validator will be appreciated. than

Urgent plz. on Dyna Validator

2003-07-08 Thread mohan
I am new to Dyna Validator and its working. Any useful resources on the working of a Dyna Validator Form/Dyna Action Validator will be appreciated. thanx --mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Urgent on Dyna Validator Resources

2003-07-07 Thread mohan
I am new to Dyna Validator and its working. Any useful resources on the working of a Dyna Validator Form/Dyna Action Validator will be appreciated. thanx --mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Validator using instead of

2003-07-07 Thread Sandeep Takhar
It seems to me like it should work. I have used submit() on forms and it will go to the action element of the form tag. So this is just html specs here. Don't know why the validation is not being called. There should be some onSubmit="" somewhere in the form tag probably... sandeep --- "Poon,

RE: Validator using instead of

2003-07-07 Thread Poon, Johnny
Sandeep, The validateEnterAppInfo1(form) method gets called with the submit button hardcode w/i the . If I remove the validateEnterAppInfo1(this) call, no javascript validation will take place, while the server-side validation still works. There is always going to be only one form per page, so

RE: Validator using instead of

2003-07-07 Thread Sandeep Takhar
form. > > JP > > -Original Message- > From: Sandeep Takhar > [mailto:[EMAIL PROTECTED] > Sent: Monday, July 07, 2003 10:48 AM > To: Struts Users Mailing List > Subject: Re: Validator using instead of > > > > should it be a validatorForm? > >

RE: Validator using instead of

2003-07-07 Thread Poon, Johnny
truts Users Mailing List Subject: Re: Validator using instead of should it be a validatorForm? sandeep --- "Poon, Johnny" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using trying to use ValidatorActionForm and > tile, but the submit button > is outside of the for

Re: Validator using instead of

2003-07-07 Thread Sandeep Takhar
orm indirectly using a link and javascript (see > code below). Neither the > client-side javascript nor the server-side > validation get called. But if I > hardcode a submit button WITHIN the form, the > javascript will get called. > > So, does this mean that validator

Validator using instead of

2003-07-07 Thread Poon, Johnny
alled. But if I hardcode a submit button WITHIN the form, the javascript will get called. So, does this mean that validator will not work with document.forms[0].submit(); ? Is there a workaround this? I'm sure there are someone out there doing similar thing. Thanks! JP My a

Re: question about depends attribute in validator-rule.xml

2003-07-07 Thread Adam Hardy
it's the attribute you use to set the validation tests you want validator to carry out, e.g. required, maxlength, creditCard Kelvin wu wrote: > Hi, > could anyone tell me the meaning of depends attribute of validator element > in validator-rules.xml? > > > &

Re: question about depends attribute in validator-rule.xml

2003-07-06 Thread Kelvin wu
Hi, could anyone tell me the meaning of depends attribute of validator element in validator-rules.xml? - Original Message - From: "Kelvin wu" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 04, 2003 6:40 PM

validator-rules.xml - no stream could be opened

2003-07-04 Thread sriram
I'm using struts validator and when I deploy the application, I'm getting the following error. 18:05:00,957 INFO [Engine] validator: Loading validation rules file from '/WEB- INF/validator-rules.xml' 18:05:00,957 INFO [Engine] validator: Skipping validation rules

question about depends attribute in validator-rule.xml

2003-07-04 Thread Kelvin wu
Hi, i am using struts validator and want to add a validation rule by myself. i want the required validator only do validation when my custom validator return true. How can i do this? What is the meaning of depends attribute of validator element in validator-rules.xml

Re: Resource problem displaying validator error arguments

2003-07-03 Thread Adam Hardy
itself is coming out of the resources just fine. I'm having a problem I'm presently unable to figure out. I've got the following validator rules: maxlength 12

RE: Repost: Validator indexed property not working in Struts 1.1 Final Release

2003-07-02 Thread David Graham
--- "Wu, Feng" <[EMAIL PROTECTED]> wrote: > Thanks, I have opened a bug report on item one, it is at > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21254. Regarding the > second item, is there a paticular reason that the validator is designed > to "stops v

Resource problem displaying validator error arguments

2003-07-02 Thread Dustin Sallings
Hello *, Summary: My arguments are always showing up as null (even when its' not a resource), but the message itself is coming out of the resources just fine. I'm having a problem I'm presently unable to figure out. I've got the follo

RE: Repost: Validator indexed property not working in Struts 1.1 Final Release

2003-07-02 Thread Wu, Feng
Thanks, I have opened a bug report on item one, it is at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21254. Regarding the second item, is there a paticular reason that the validator is designed to "stops validating a list of values on the first failure"? This morning I actuall

Re: Repost: Validator indexed property not working in Struts 1.1 Final Release

2003-07-01 Thread David Graham
e out why there is only ActionError (for property > nameList[0].value) is in request scope when I should have three, since > nameList[1].value and nameList[2].value are blank and should fail > validation. This is a current limitation of the validator. It stops validating a list of valu

Repost: Validator indexed property not working in Struts 1.1 Final Release

2003-07-01 Thread Wu, Feng
, Feng Sent: Monday, June 30, 2003 5:08 PM To: Subject: Validator indexed property not working in Struts 1.1 Final Release Hi, First, great works on Struts 1.1 final release. Just in time since we are designing a major project using Struts. Got a couple questions regarding validator and indexed

Re: Validator Still confusing me

2003-06-30 Thread Gemes Tibor
MaFai írta: Hello, Gemes Tibor, why?I only need the "require" function. This line of yours contradicts the above statement: and which validator must be add in validator-rules.xml? Why cannot be all of them there? Easier to maintain. A new version comes out, and y

Re: Re: Validator Still confusing me

2003-06-30 Thread MaFai
Hello, Gemes Tibor, why?I only need the "require" function. and which validator must be add in validator-rules.xml? === At 2003-06-30, 13:31:00 you wrote: === >MaFai írta: > >>validator-rules.xml >>> "-//Apache Software Foundation//DTD C

Re: Validator Still confusing me

2003-06-30 Thread Gemes Tibor
MaFai írta: validator-rules.xml http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";> This file should be much-much longer. about 40k in size. You should not edit this without a good reas

Validator Still confusing me

2003-06-30 Thread MaFai
Hello, struts-user, Attemptto implement the simplest validator in 3 days,I nearly exhuasted. Pls give me a hand. My strut project as the following: validator-rules.xml http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";> validationi.xm

validator requiredif boolean values

2003-06-26 Thread Wilson Chuei
Hi, Can somebody pls tell me why the following validation is not firing? (see xml snippet below) contact.phoneBHVisible and contact.phoneBHRequired are booleans. Essentially, what I want to do is that validate only when contact.phoneBHVisible == true && contact.phoneBHRequired == true Other fi

Re: resources not defined for validator

2003-06-25 Thread Sergey Smirnov
This exception appears when Validation Plugin is not added to struts-config.xml. - Original Message - From: "Frances Aleah Z. de Guzman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 6:44 PM Subject: resources not defined for validator

Using StrutsTestCase with Validator??

2003-06-25 Thread Xero
Is it possible to unit test the Validator with the StrutsTestCase, if so does anyone know were I could see an example of it. thanks Marty - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

resources not defined for validator

2003-06-24 Thread Frances Aleah Z. de Guzman
when im running my application im having this error: Resources not defined for validator...but my application is working fine. how can fix such error? what is the effect of this? im using validatorform -- Frances Aleah Z. De Guzman SA/Programmer Ingenium Technology, Inc. http

Re: Damn Validator...

2003-06-24 Thread Adam Hardy
Hi Keith, just about to try using the validator myself. If I get to frustration point like this, I sometimes grab the struts source and put some logging statements in it to make sure it's doing what it's meant to. If you're put off by the idea of dabbling with the struts source,

RE: Damn Validator...

2003-06-24 Thread Kamholz, Keith (corp-staff) USX
: RE: Damn Validator... That looks ok to me. Override the validate() method in your ActionForm and see if it gets called. Then have it call the super.validate() method to see if the validator returns any errors. Does anything at all happen when you submit the form? Are you using both java

RE: Damn Validator...

2003-06-24 Thread Kamholz, Keith (corp-staff) USX
My boss had me plug the Validator into a sample application for practice. It was all cut and paste though, so there wasn't much real learning. It worked no problem. I just copied the validator-rules.xml, and validation.xml into my app, and changed the validation.xml. I followed al

RE: Damn Validator...

2003-06-24 Thread David Graham
Does the validator example app work? David --- "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> wrote: > Nope, no server errors when I run the app. I'm not getting any errors > period, it just seems like the validator isn't doing anything, or

RE: Damn Validator...

2003-06-24 Thread Kamholz, Keith (corp-staff) USX
Nope, no server errors when I run the app. I'm not getting any errors period, it just seems like the validator isn't doing anything, or is passing when it shouldn't. - Keith -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2

Using StrutsTestCase with Validator??

2003-06-24 Thread Xero
Is it possible to unit test the Validator with the StrutsTestCase, if so does anyone know were I could see an example of it. thanks Marty - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Using StrutsTestCase with Validator??

2003-06-24 Thread Xero
Is it possible to unit test the Validator with the StrutsTestCase, if so does anyone know were I could see an example of it. thanks Marty - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Damn Validator...

2003-06-24 Thread David Graham
That looks ok to me. Override the validate() method in your ActionForm and see if it gets called. Then have it call the super.validate() method to see if the validator returns any errors. Does anything at all happen when you submit the form? Are you using both javascript and server side

RE: Damn Validator...

2003-06-24 Thread Bailey, Shane C.
sday, June 24, 2003 11:34 AM To: 'Struts Users Mailing List' Subject: RE: Damn Validator... Sure thing, thanks for checking it out. Here's my validation.xml: http://jakarta.apache.org/commo

RE: Damn Validator...

2003-06-24 Thread Kamholz, Keith (corp-staff) USX
0.dtd";> -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 11:14 AM To: Struts Users Mailing List Subject: Re: Damn Validator... Can you post the relevant form definition in validat

Re: Damn Validator...

2003-06-24 Thread David Graham
Can you post the relevant form definition in validation.xml? I'm having a hard time downloading the attachment. David --- "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> wrote: > Hey everyone, > I posted recently regarding my issues with the Validator pl

Damn Validator...

2003-06-24 Thread Kamholz, Keith (corp-staff) USX
Hey everyone, I posted recently regarding my issues with the Validator plugin. There were a few suggestions, but I had already checked everything that was mentioned. I'm going crazy, I've been trying for a several days to get this thing working, but have gotten nowhere. I'm pos

Adding to JavaScript Validator

2003-06-23 Thread Matt E
Hello All. I'm using Struts 1.1rc2 with the Validator Frame work. I have some conditional validation that has to be done (if this option is selected, then some other field must be filled out). Everything works fine when I mess around with the validate method of the action form, but I don&#

RE: Validator

2003-06-23 Thread Chen, Gin
Or you can call validate directly from your action. -Tim -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 11:07 AM To: 'Struts Users Mailing List' Subject: RE: Validator Also, when using the validator, I have to se

RE: Validator

2003-06-23 Thread David Graham
Setting validate="true" for an action means that the form bean's vaildate() method will be called. This will invoke the Struts Validator if you're using ValidatorForm. David Also, when using the validator, I have to set validate="true" for each applicable action

RE: Validator

2003-06-23 Thread Kamholz, Keith (corp-staff) USX
Also, when using the validator, I have to set validate="true" for each applicable action in my struts config.xml right? - Keith -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 10:27 AM To: 'Struts Users Mailin

RE: Validator

2003-06-23 Thread Kamholz, Keith (corp-staff) USX
Sent: Friday, June 20, 2003 3:20 PM To: Struts Users Mailing List Subject: Re: Validator For client-site validation you can omit steps 9, 10, 11, 12 However couple more steps are required: 9a) in page header 10a) for form tag: onsubmit="return validate(this)" So, 10 < 12 :-) Also,

RE: Validator with LookupDispatchAction and Tiles

2003-06-23 Thread Sandeep Takhar
iour that much...the way you describe it.. sandeep --- Nick <[EMAIL PROTECTED]> wrote: > Sandeep, > > I'm not sure I understand why you think we're > overriding default > behaviors. We generally allow the Struts, Tiles, & > Validator frameworks > to do t

Re: Validator

2003-06-22 Thread Nagendra Kumar O V S
hi, i agree with you , but i guess there is a bug in the validator. since i have observed the same kind of problem with my application.   -nagi   ---Original Message---   From: Struts Users Mailing

Re: Validator

2003-06-22 Thread Sergey Smirnov
Subject: RE: Validator HI keith, comment your dtd declarations in both ur validator.xml & validator-rules.xml and try. this should work for u.. -nagi ---Original Message--- From: Struts Users Mailing List Date: Friday, Jun

RE: Validator

2003-06-22 Thread Nagendra Kumar O V S
HI keith, comment your dtd declarations in both ur validator.xml & validator-rules.xml and try.   this should work for u..   -nagi   ---Original Message---   From: Struts Users Mailing List

RE: Validator with nested form beans

2003-06-22 Thread Richard Mixon
Adam, Yes I agree. But I still do not see how to integrate nested objects with form beans and use Validator at the same time. Can anyone show us what we are missing? -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 10:31 PM To: 'Struts

Re: Validator with nested form beans

2003-06-21 Thread Adam Hardy
Hi Richard, I've been thinking about this too and as far as I can figure it out, it seems that Validator and Nested are mutually exclusive techniques for the View. Sorry, that's not quite true. I was looking at DynaValidatorActionForm. What I would like to know is what most people

Validator with nested form beans

2003-06-20 Thread Richard Mixon
I've searched the archives with several combinations of the above keywords to no avail. Is it possible to nest a collection of ValidatorForm beans within a main ValidatorForm bean ... and then have Validator handle validations of the nested properties? I've not been able to figure out

RE: Validator with LookupDispatchAction and Tiles

2003-06-20 Thread Nick
Sandeep, I'm not sure I understand why you think we're overriding default behaviors. We generally allow the Struts, Tiles, & Validator frameworks to do their thing without modification. Currently, we only have one modification to Struts' general behaviors. That modificati

Re: Validator

2003-06-20 Thread Sergey Smirnov
<[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, June 20, 2003 11:22 AM Subject: Re: Validator > I would have suggested just the oppostite ;-). How does client-side validation > take fewer steps? My experience has been that the

RE: Validator with LookupDispatchAction and Tiles

2003-06-20 Thread Sandeep Takhar
r 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 >

Re: Validator

2003-06-20 Thread Jeff Kyser
On Friday, June 20, 2003, at 01:22 PM, Kris Schneider wrote: I'm almost in a state of shock over the statement, "I wish my boss would just let me use the validate method of the ActionForms." Come again? Hey, give his boss credit for knowing that the validate() method can be called by the form o

Re: Validator

2003-06-20 Thread Kris Schneider
alidation working. > > > - Original Message - > From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Friday, June 20, 2003 10:41 AM > Subject: RE: Validato

Re: Validator

2003-06-20 Thread Sergey Smirnov
: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, June 20, 2003 10:41 AM Subject: RE: Validator > Thanks for the input. > I'm pretty sure I've got all that though. Th

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