Re: Struts Validator - ValidWhen

2004-10-21 Thread Niall Pemberton
l - Original Message - From: "Daniel Kalcevich" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, October 21, 2004 4:10 PM Subject: RE: Struts Validator - ValidWhen I have upgraded to 1.2.4 and the problem still ex

RE: Struts Validator - ValidWhen

2004-10-21 Thread Daniel Kalcevich
:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 6:33 PM To: Struts Users Mailing List Subject: Re: Struts Validator - ValidWhen Version 1.2.1 of Struts had problems and never made "ga" release quality - the only "ga" release for Struts 1.2 is Version 1.2.4 - some validwhen

Re: Struts Validator and dynamically generated form fields

2004-10-21 Thread dmu2201
Thompson Marzagao wrote: Hi all, I am generating some form field names dynamically, based on the value of a request variable. Since I am using Niall Pemberton's LazyValidatorActionForm (see http://www.niallp.pwp.blueyonder.co.uk/), I don't have a problem getting their values. The problem is vali

Re: Struts Validator - ValidWhen

2004-10-20 Thread Niall Pemberton
Daniel Kalcevich" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 20, 2004 8:10 PM Subject: Struts Validator - ValidWhen Hello, I have a form that contains two fields: id & lastName. The rule is that if I can only ente

Struts Validator - ValidWhen

2004-10-20 Thread Daniel Kalcevich
Hello, I have a form that contains two fields: id & lastName. The rule is that if I can only enter in one or the other, not both. I am trying to use the ValidWhen to perform this check. I have code similar to the following:

Struts Validator and dynamically generated form fields

2004-10-20 Thread Thompson Marzagao
Hi all, I am generating some form field names dynamically, based on the value of a request variable. Since I am using Niall Pemberton's LazyValidatorActionForm (see http://www.niallp.pwp.blueyonder.co.uk/), I don't have a problem getting their values. The problem is validating them. Currently I

RE: Problem with struts validator../ Struts 1.2

2004-10-14 Thread Marco Mistroni
marco -Original Message- From: Hollaway, Shedrick CIV (TRFKB C600) [mailto:[EMAIL PROTECTED] Sent: 14 October 2004 15:13 To: 'Struts Users Mailing List' Subject: RE: Problem with struts validator../ Struts 1.2 Marco, is missing. > my validation.xml

RE: Problem with struts validator../ Struts 1.2

2004-10-14 Thread Hollaway, Shedrick CIV (TRFKB C600)
Marco, is missing. > my validation.xml Is as follows.. > > > > > > key="error.field.required"/> > > > > > > >

Problem with struts validator../ Struts 1.2

2004-10-13 Thread Marco Mistroni
Hello all, I am using Struts validator in my webapplication for one of my forms. While I was using Struts 1.1 everything worked fine, but now that I have updated my jars to use Struts 1.2 whenever I run my code I get the following exception: 2004-10-13 17:38:06,797 DEBUG (ContactForm.java

RE: Trouble with struts validator

2004-10-06 Thread Anna Kerekes
Why do you have a testAction? When you configure validation.xml and validator-rules.xml (see Apache/Struts/Validator documentation) you don't need to write an Action Class. Also, why do you have failure/success forwards? Upon a failure, the validation will automatically forward your pa

Trouble with struts validator

2004-10-06 Thread yacout dadoun
Hi, I'm trying to use the struts validator, i have created a simple form with few inputs, i'd like to oblige the user to enter values into inputs. I therefore : 1-added the validator pluing to strus-config.xml 2-added the action mapping with the path set to test, the type set to the p

Struts Validator with DispatchAction...help!...newbie

2004-09-14 Thread O. Oke
Can anyone please tell me how to use the Struts Validator with DispatchAction. This article in bugzilla does not seem to deal with the issue: http://issues.apache.org/bugzilla/showattachment.cgi?attach_id=8633 Thank you. Ola

XDoclet + Struts validator question

2004-09-12 Thread Eric Chow
Hello, How can I define the xdoclet tag for struts validator that the validated field muct depends to another field ?? For example, if the "action" is "new" then all the fields(name, sex) must be required. if the "action" is "edit" then only the "

RE: Need guidance in struts validator framework

2004-09-07 Thread Jim Barrows
> -Original Message- > From: Udaya Prakash [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 07, 2004 3:02 PM > To: Struts Users Mailing List > Subject: RE: Need guidance in struts validator framework > > > It is 1.1 I was afraid you's say that. Y

RE: Need guidance in struts validator framework

2004-09-07 Thread Udaya Prakash
It is 1.1 Jim Barrows <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Udaya Prakash [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 07, 2004 2:52 PM > To: [EMAIL PROTECTED] > Subject: Need guidance in struts validator framework > >

RE: Need guidance in struts validator framework

2004-09-07 Thread Jim Barrows
> -Original Message- > From: Udaya Prakash [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 07, 2004 2:52 PM > To: [EMAIL PROTECTED] > Subject: Need guidance in struts validator framework > > > Hi, > > I am having a Dynavalidatorform and it has two

Need guidance in struts validator framework

2004-09-07 Thread Udaya Prakash
Hi, I am having a Dynavalidatorform and it has two properties A and B. I need to check for the following conditions Both should be equal to zero or Both should be greater than zero. Can u just me how it can be done in a declarative way using the struts validator framework

Re: Help : Server Side Validation + Client Side using Struts Validator Framework (beginner)

2004-08-27 Thread Erik Weber
You might find the examples on Rick Reumann's site helpful. http://www.reumann.net/do/struts/main Erik Ronald B wrote: Hello, I has been quite some time that I have been introduced to STRUTS. (beginner) Could any help write server side code. Thank U __

Help : Server Side Validation + Client Side using Struts Validator Framework (beginner)

2004-08-27 Thread Ronald B
Hello, I has been quite some time that I have been introduced to STRUTS. (beginner) Could any help write server side code. Thank U Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi

Re: Plugin struts validator framework to JSF

2004-08-12 Thread Craig McClanahan
s of the Struts-Faces integration library include two versions of the standard Struts example application -- one with Tiles and one without. Both of them use the Struts validator framework in conjunction with page that use JavaServer Faces components. Your best bet is to examine the sources in

RE: Plugin struts validator framework to JSF

2004-08-12 Thread Prasad, Kamakshya
List Subject: Re: Plugin struts validator framework to JSF On Fri, 13 Aug 2004 14:51:25 +0900, Prasad, Kamakshya <[EMAIL PROTECTED]> wrote: > HI, > > Thanks a lot for the information. > I was looking through the examples of Struts-faces integration library. > What I found wa

Re: Plugin struts validator framework to JSF

2004-08-12 Thread Craig McClanahan
On Fri, 13 Aug 2004 14:51:25 +0900, Prasad, Kamakshya <[EMAIL PROTECTED]> wrote: > HI, > > Thanks a lot for the information. > I was looking through the examples of Struts-faces integration library. > What I found was in the backing bean method a url with query string > parameters is created to di

RE: Plugin struts validator framework to JSF

2004-08-12 Thread Prasad, Kamakshya
); } Thanks and Regards, KP -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 12:37 AM To: Struts Users Mailing List Subject: Re: Plugin struts validator framework to JSF On Thu, 12 Aug 2004 20:46:33 +0900, Prasad, Kamakshya &

Re: Plugin struts validator framework to JSF

2004-08-12 Thread Craig McClanahan
On Thu, 12 Aug 2004 20:46:33 +0900, Prasad, Kamakshya <[EMAIL PROTECTED]> wrote: > Hi All, > > Is it possible to plugin struts validator framework to Javaserver faces > web framework? Yes, if you use the Struts-Faces integration library -- currently available in nightly bui

RE: Plugin struts validator framework to JSF

2004-08-12 Thread Matthias Wessendorf
; From: Prasad, Kamakshya [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 1:47 PM > To: Struts Users Mailing List > Subject: Plugin struts validator framework to JSF > > > Hi All, > > Is it possible to plugin struts validator framework to > Javaserver faces web

Plugin struts validator framework to JSF

2004-08-12 Thread Prasad, Kamakshya
Hi All, Is it possible to plugin struts validator framework to Javaserver faces web framework? Are there any examples available in the net? Kindly advice me on this. KP - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Struts Validator & Date Patterns

2004-07-15 Thread Enrique Medina
Hi, I would like to know if it's possible to indicate a validation of type "date" indicating as a dattePatern/datePatternStrict a key from an application resource message file. I mean, instead of: datePatternStrictMMdd to be able to indicate the "MMdd" dynamically (to be found through a

RE: Javascript error in struts validator.

2004-07-03 Thread Kote, Nijaguna Sangankal
;); //error is at this I used ms script debugger, it gives me error at above line... Please help me!! -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 8:29 PM To: Struts Users Mailing List Subject: Re: Javascript error in struts validat

Re: Javascript error in struts validator.

2004-07-02 Thread Niall Pemberton
Whoops yes 2nd July, thanks. Niall - Original Message - From: "Matt Bathje" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 02, 2004 2:57 PM Subject: Re: Javascript error in struts validator. > Niall - I

Re: Javascript error in struts validator.

2004-07-02 Thread Matt Bathje
: "Kote, Nijaguna Sangankal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 02, 2004 9:17 AM Subject: RE: Javascript error in struts validator. > I have debugged using firefox, it shows that invalidFunction. > > I

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
7:36 PM To: Struts Users Mailing List Subject: Re: Javascript error in struts validator. Nope, IE 6 should support it just fine. Get the ms script debugger and see if that helps in figuring out the problem. (Or better yet get Firefox and its script debugger) I really think the problem is you have

Re: Javascript error in struts validator.

2004-07-02 Thread Matt Bathje
that it would solve the problem. Matt Bathje - Original Message - From: "Kote, Nijaguna Sangankal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 02, 2004 9:03 AM Subject: RE: Javascript error in struts va

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
Am using IE 6.0 SP1, should I have msxml?? To work with..?? -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 7:27 PM To: Struts Users Mailing List Subject: Re: Javascript error in struts validator. Niall - I think you mean the 2nd of July. The

Re: Javascript error in struts validator.

2004-07-02 Thread Matt Bathje
, July 02, 2004 8:11 AM Subject: Re: Javascript error in struts validator. > Thats what I was trying to say - the patch (i.e. fix) was applied on the 1st > June to - try downloading the Struts nightly from June > 2nd. > > Niall > > - Original Message - > From: &qu

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
ilto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 6:41 PM To: Struts Users Mailing List Subject: Re: Javascript error in struts validator. Thats what I was trying to say - the patch (i.e. fix) was applied on the 1st June to - try downloading the Struts nightly from June 2nd. Niall -

Re: Javascript error in struts validator.

2004-07-02 Thread Niall Pemberton
MAIL PROTECTED]> Sent: Friday, July 02, 2004 2:01 PM Subject: RE: Javascript error in struts validator. So is there any fix for this??? I am using struts1.1 and this has stopped my work. Please give me some hints... -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent:

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
o: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 02, 2004 11:34 AM Subject: RE: Javascript error in struts validator. Hi, I downoaded, latest nightly build which was on 1st of June... and it seems its not working.. it gives some other javascript error.

Re: Javascript error in struts validator.

2004-07-02 Thread Niall Pemberton
ts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 02, 2004 11:34 AM Subject: RE: Javascript error in struts validator. Hi, I downoaded, latest nightly build which was on 1st of June... and it seems its not working.. it gives some other javascript error. function vali

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
t error in struts validator. Hi Seems it is not picking up your "formName" - Is there any misspelling ?. If you running IE (against advice from this list lately :)) you could download and use the script debugger. Or use Firefox with its script debugger plugin to debug his. Hermod

SV: Javascript error in struts validator.

2004-07-02 Thread hermod . opstvedt
error in struts validator. I don't thinksk its problem with picking up the form name, I guess the method called on form to get the form name is different .. Is it different version problem?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
EMAIL PROTECTED] Subject: SV: Javascript error in struts validator. Hi Seems it is not picking up your "formName" - Is there any misspelling ?. If you running IE (against advice from this list lately :)) you could download and use the script debugger. Or use Firefox with its script debugger

SV: Javascript error in struts validator.

2004-07-02 Thread hermod . opstvedt
Fra: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED] Sendt: 2. juli 2004 13:10 Til: Struts Users Mailing List Emne: RE: Javascript error in struts validator. I did all these, but there is a javascript error... "Object doesn't support this property".. In form.getAttributeNode("

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
4 4:25 PM To: [EMAIL PROTECTED] Subject: SV: Javascript error in struts validator. Hi Did you regenerate the static javascript part ? - Use to get it in your page and then cut and paste it into a .js file Hermod -Opprinnelig melding- Fra: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED]

SV: Javascript error in struts validator.

2004-07-02 Thread hermod . opstvedt
error in struts validator. Hi, I downoaded, latest nightly build which was on 1st of June... and it seems its not working.. it gives some other javascript error. function validateRequired(form) { var isValid = true; var focusField = null

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
inal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 3:22 PM To: [EMAIL PROTECTED] Subject: SV: Javascript error in struts validator. Hi I had the same problem - I think it was a mix of old and new struts components. What I did was get the latest nightly

SV: Javascript error in struts validator.

2004-07-02 Thread hermod . opstvedt
10:58 Til: Struts Users Mailing List Emne: RE: Javascript error in struts validator. Hi Hermod, Thanks for the reply and the suggestion, I should upgrade only the validator ?? Or entire struts?? Regards/Guna -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
: Javascript error in struts validator. Hi If you look at jsp (view-source) you will probably notice that the jscript method (required) has been prefixed with the formname. Upgrade to the latest build. This was an issue with validator. Hermod -Opprinnelig melding- Fra: Kote, Nijaguna Sangankal

SV: Javascript error in struts validator.

2004-07-02 Thread hermod . opstvedt
: 2. juli 2004 08:38 Til: [EMAIL PROTECTED] Emne: Javascript error in struts validator. Hi All, I had posted this question, but got now answer. Please give me some hints on this. I am getting javascript error when I click on submit to validate my form. It's a simple

RE: Javascript error in struts validator.

2004-07-02 Thread Kote, Nijaguna Sangankal
I found why is it giving javascript error... Because, when struts generates javascript code in jsp... Instead of generating required() method it generates xForm_required() method. This method is internally called by validateRequired() method. Attached is the generated struts javascript code

Javascript error in struts validator.

2004-07-01 Thread Kote, Nijaguna Sangankal
Hi All, I had posted this question, but got now answer. Please give me some hints on this. I am getting javascript error when I click on submit to validate my form. It's a simple login page with username and password. here is the code for login.jsp <%@ taglib uri=

Struts Validator and JCIFS issue while working remotely over VPN

2004-06-29 Thread Kevin Hutson
Perhaps someone can tell me if I'm crazy here. I have a web application using Struts 1.1. It also utilizes JCIFS 0.9.2 for NTLM authentication and the Struts validator among other things. I deploy to Tomcat 5.0.19. The app runs great. However, when I try to run and debug my app while rem

Struts validator unauthorized string value

2004-06-16 Thread Heligon Sandra
I have a field (string) in my DynaValidatorForm 'type' and I would like to return an error 'Invalid type name' when the selected value is 'undefined'. Has someone an example of validation.xml file wich do that ? Thanks a lot in advance

Struts Validator & Date Patterns

2004-06-08 Thread Enrique Medina
Hi, I would like to know if it's possible to indicate a validation of type "date" indicating as a dattePatern/datePatternStrict a key from an application resource message file. I mean, instead of: datePatternStrictMMdd to be able to indicate the "MMdd" dynamically (to be found through a

Struts Validator & Date Patterns

2004-06-04 Thread Enrique Medina
Hi, I would like to know if it's possible to indicate a validation of type "date" indicating as a dattePatern/datePatternStrict a key from an application resource message file. I mean, instead of: datePatternStrictMMdd to be able to indicate the "MMdd" dynamically (to be found through a

Struts Validator

2004-05-27 Thread Enrique Medina
Hi, I would like to know if it's possible to indicate a validation of type "date" indicating as a dattePatern/datePatternStrict a key from an application resource message file. I mean, instead of: datePatternStrictMMdd to be able to indicate the "MMdd" dynamically (to be found throug

struts-validator - Using constants in property attribute

2004-05-23 Thread Axel Groß
Hi there! Got a small problem with the constants in the validation.xml, which I couldn't solve using the docs and google. What I do is using the validator for indexed properties and using javascript to jump to the right field, if somebody clicks on the errormessage. validation.xml: systemcurr

Re: Can you help me about Struts validator?

2004-05-13 Thread Marcus Vinicius W. Ferreira
Hello , I´m brazilian guy and I don´t speak english very well, then, sorry for language mistakes. I saw the message of David Graham about bundle attribute in struts validator at http://www.mail-archive.com/[EMAIL PROTECTED]/msg06445.htm l <http://www.mail-archive.com/[EM

Struts validator?

2004-05-13 Thread Marcus Vinicius W. Ferreira
Hello , I´m brazilian guy and I don´t speak english very well, then, sorry for language mistakes. I saw the message of David Graham about bundle attribute in struts validator at http://www.mail-archive.com/[EMAIL PROTECTED]/msg06445.html Can you help me? The bundle attribute

Re: Mixed Struts Validator Framework and ValidationForm

2004-05-03 Thread Eric Noel
On 5/3/2004 10:29 PM, [EMAIL PROTECTED] wrote: Yes. Extend the DynaValidator override the validate method validate(...) { ActionErrors errors = super.validate(...); // do your stuff if (...) { errors.add(...); } return errors; } Pedro Salgado On 04/05/03

RE: Mixed Struts Validator Framework and ValidationForm

2004-05-03 Thread salgado.pc
Yes. Extend the DynaValidator override the validate method validate(...) { ActionErrors errors = super.validate(...); // do your stuff if (...) { errors.add(...); } return errors; } Pedro Salgado On 04/05/03 9:40, "Eric Noel" <[EMAIL PROTECTED]> wrote

Mixed Struts Validator Framework and ValidationForm

2004-05-03 Thread Eric Noel
Is it possible to use both Strut's Validator Framework for some fields and validate other fields using my own validation via ActionForm class. If yes, can someone site an example. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Problem with struts validator / solved

2004-04-07 Thread Marco Mistroni
37 To: 'Struts Users Mailing List'; 'Skip Hollowell' Subject: RE: Problem with struts validator HI, Yes, also the html:error tag is there. Regards marco -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Skip Hollowell Sent: 07 Ap

RE: Problem with struts validator

2004-04-07 Thread Marco Mistroni
HI, Yes, also the html:error tag is there. Regards marco -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Skip Hollowell Sent: 07 April 2004 17:29 To: [EMAIL PROTECTED] Subject: Re: Problem with struts validator "Saul Q Yuan" <[EM

Re: Problem with struts validator

2004-04-07 Thread Skip Hollowell
"Saul Q Yuan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > One thing I noticed is you're missing the argument for the required > message, ie. > in your validation.xml file. > > And as per my earlier post with this same problem, do you have the tag in your jsp to actually show th

RE: Problem with struts validator

2004-04-07 Thread Marco Mistroni
Hi, But the arg0 isnt supposed to be present if your message Needs a parameter? Regards marco -Original Message- From: Saul Q Yuan [mailto:[EMAIL PROTECTED] Sent: 07 April 2004 17:04 To: 'Struts Users Mailing List' Subject: RE: Problem with struts validator O

RE: Problem with struts validator

2004-04-07 Thread Saul Q Yuan
> Subject: RE: Problem with struts validator > > > Yes > I have also done some modifications, to try to write my own > validate method, and it gets called successfully. I made my > form extends DynaValidatorForm , I am calling super.validate > as well as doing

RE: Problem with struts validator

2004-04-07 Thread Marco Mistroni
have no clue on what is going on.. Any hints? Regards marco -Original Message- From: Saul Q Yuan [mailto:[EMAIL PROTECTED] Sent: 07 April 2004 16:51 To: 'Struts Users Mailing List' Subject: RE: Problem with struts validator A quick question, have you set validate=&quo

RE: Problem with struts validator

2004-04-07 Thread Saul Q Yuan
A quick question, have you set validate="true" in your action mapping? Saul > -Original Message- > From: Marco Mistroni [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 07, 2004 11:31 AM > To: 'Struts Users Mailing List' > Subject: Problem w

Problem with struts validator

2004-04-07 Thread Marco Mistroni
Hi all, I am experiencing problems with struts-validator, in that it seems That the validation is not done at all. I have created a form (named contactFomr) that extends DynaValidatorForm

RE: Struts Validator

2004-04-04 Thread Matthew Clark
ts due to it being the most widely used and documented... Matthew. -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 11:31 To: Struts Users Mailing List Subject: Re: Struts Validator Whats missing from your question is how are you identifying whi

Re: Struts Validator and Select boxes

2004-03-26 Thread Niall Pemberton
-- From: "Janarthan Sathiamurthy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, March 27, 2004 5:57 AM Subject: RE: Struts Validator and Select boxes Hi Niall, I am attaching the validation.xml and the jsp that i have used

<    1   2   3