Re: validation with struts 1.2

2004-04-20 Thread Adam Hardy
he Nachricht- Von: Adam Hardy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 10:41 An: Struts Users Mailing List Betreff: Re: AW: AW: AW: SV: validation with struts 1.2 OK, Frank, I've got the following below and it's not even attempting to validate. I haven't r

Re: AW: validation with struts 1.2

2004-04-07 Thread Adam Hardy
etreff: Re: validation with struts 1.2 It is now validating server-side as well as client-side for me. Don't know what my server was doing, but it's doing it OK now. But the problem with the bundle is still there. There is a bugzilla issue from about 9 months ago with patches, but I don'

AW: validation with struts 1.2

2004-04-07 Thread Otto, Frank
PROTECTED] Gesendet: Mittwoch, 7. April 2004 11:21 An: Struts Users Mailing List Betreff: Re: validation with struts 1.2 It is now validating server-side as well as client-side for me. Don't know what my server was doing, but it's doing it OK now. But the problem with the bundle is s

Re: validation with struts 1.2

2004-04-07 Thread Adam Hardy
endet: Mittwoch, 7. April 2004 10:41 An: Struts Users Mailing List Betreff: Re: AW: AW: AW: SV: validation with struts 1.2 OK, Frank, I've got the following below and it's not even attempting to validate. I haven't ruled out silly mistakes yet though. Where did you get the validatio

Re: validation with struts 1.2

2004-04-07 Thread Adam Hardy
.2/). With the version 1.1.2 it didn't validate my form too. Regards, Frank -Ursprüngliche Nachricht- Von: Adam Hardy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 10:41 An: Struts Users Mailing List Betreff: Re: AW: AW: AW: SV: validation with struts 1.2 OK,

AW: AW: AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Otto, Frank
resource bundle. -Ursprüngliche Nachricht- Von: Adam Hardy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 11:03 An: Struts Users Mailing List Betreff: Re: AW: AW: AW: AW: SV: validation with struts 1.2 I was actually asking about the DTD doctype reference - did you get it from an exam

Re: AW: AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Adam Hardy
April 2004 10:41 An: Struts Users Mailing List Betreff: Re: AW: AW: AW: SV: validation with struts 1.2 OK, Frank, I've got the following below and it's not even attempting to validate. I haven't ruled out silly mistakes yet though. Where did you get the validation.xml from? I'm i

AW: AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Otto, Frank
-Ursprüngliche Nachricht- Von: Adam Hardy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 10:41 An: Struts Users Mailing List Betreff: Re: AW: AW: AW: SV: validation with struts 1.2 OK, Frank, I've got the following below and it's not even attempting to validate. I

SV: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread hermod . opstvedt
Hi You are right- In that dtd there is a reference to bundle. I'll have a look at it. Hermod -Opprinnelig melding- Fra: Otto, Frank [mailto:[EMAIL PROTECTED] Sendt: 7. april 2004 10:35 Til: 'Struts Users Mailing List' Emne: AW: AW: AW: SV: validation with struts 1.2 P

Re: AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Adam Hardy
se the commons-validation-1.1.2.jar (http://www.apache.org/~martinc/validator/v1.1.2/) And I take a look at the dtd. arg0 is deprecated. Use instead. -Ursprüngliche Nachricht- Von: Adam Hardy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 09:46 An: Struts Users Mailing List Betr

AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Otto, Frank
struts 1.2 Hi NO, they don't ! Are you sure you are looking at validation_1.1.dtd ? Mine is from last nights build Hermod -Opprinnelig melding- Fra: Otto, Frank [mailto:[EMAIL PROTECTED] Sendt: 7. april 2004 10:18 Til: 'Struts Users Mailing List' Emne: AW: AW: AW: SV: validat

SV: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread hermod . opstvedt
Hi NO, they don't ! Are you sure you are looking at validation_1.1.dtd ? Mine is from last nights build Hermod -Opprinnelig melding- Fra: Otto, Frank [mailto:[EMAIL PROTECTED] Sendt: 7. april 2004 10:18 Til: 'Struts Users Mailing List' Emne: AW: AW: AW: SV: validation

AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Otto, Frank
The field has no bundle attribute, but the msg and arg node. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 10:15 An: [EMAIL PROTECTED] Betreff: SV: AW: AW: SV: validation with struts 1.2 Hi Sorry typo ! In the

SV: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread hermod . opstvedt
value rather than a bundle key. [true] Regards, Frank -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 09:53 An: [EMAIL PROTECTED] Betreff: SV: AW: AW: SV: validation with struts 1.2 Hi the bundle attribute sh

AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Otto, Frank
bundle key. [true] Regards, Frank -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 09:53 An: [EMAIL PROTECTED] Betreff: SV: AW: AW: SV: validation with struts 1.2 Hi the bundle attribute should be either "

AW: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Otto, Frank
Hardy [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 7. April 2004 09:46 An: Struts Users Mailing List Betreff: Re: AW: AW: SV: validation with struts 1.2 I just updated my DTD declaration to validator-1.1 and now it is giving me some SAXParseException Attribute "bundle" must be decla

SV: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread hermod . opstvedt
value rather than a bundle key. Hermod -Opprinnelig melding- Fra: Adam Hardy [mailto:[EMAIL PROTECTED] Sendt: 7. april 2004 09:46 Til: Struts Users Mailing List Emne: Re: AW: AW: SV: validation with struts 1.2 I just updated my DTD declaration to validator-1.1 and now it is giving me s

Re: AW: AW: SV: validation with struts 1.2

2004-04-07 Thread Adam Hardy
I just updated my DTD declaration to validator-1.1 and now it is giving me some SAXParseException Attribute "bundle" must be declared for element type "arg0" This is new to me and I'll have to check it out. I now have a test validate.xml with only one form, one field and one arg, and that has t

AW: AW: SV: validation with struts 1.2

2004-04-06 Thread Otto, Frank
Hi Adam, I use the validation.xml in this way: http://jakarta.apache.org/commons/dtds/validator_1_1.dtd";> Regards, Frank

Re: AW: SV: validation with struts 1.2

2004-04-06 Thread Adam Hardy
? Regards, Frank -Ursprüngliche Nachricht- Von: Adam Hardy [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. April 2004 10:42 An: Struts Users Mailing List Betreff: Re: SV: validation with struts 1.2 If these things are not already logged as bugs, then the quickest way to a solution is to

Re: SV: SV: validation with struts 1.2

2004-04-06 Thread Adam Hardy
; this[varName];"));<br> } </tt><br> <br> <tt>//End --> Now when the validation routine is run, it expects to find required - NOT formA_required. This shows up as a popup script error stating "required is undefined" Hermod -Opprinnelig

AW: SV: validation with struts 1.2

2004-04-06 Thread Otto, Frank
Hi, The bundle attribute of msg and arg tag works fine in your application? Regards, Frank -Ursprüngliche Nachricht- Von: Adam Hardy [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. April 2004 10:42 An: Struts Users Mailing List Betreff: Re: SV: validation with struts 1.2 If these

SV: SV: validation with struts 1.2

2004-04-06 Thread hermod . opstvedt
alidation routine is run, it expects to find required - NOT formA_required. This shows up as a popup script error stating "required is undefined" Hermod -Opprinnelig melding- Fra: Adam Hardy [mailto:[EMAIL PROTECTED] Sendt: 6. april 2004 10:42 Til: Struts Users Mailing

SV: validation with struts 1.2

2004-04-06 Thread hermod . opstvedt
Hi Which is exactly what I am doing - Looking into it and fixing it when/if I find the problem Hermod -Opprinnelig melding- Fra: Jesse Alexander (KXT) [mailto:[EMAIL PROTECTED] Sendt: 6. april 2004 11:20 Til: 'Struts Users Mailing List' Emne: RE: validation with struts 1

RE: validation with struts 1.2

2004-04-06 Thread Jesse Alexander (KXT)
Isn't Struts an opensource-application? If it really hurts you: investigate and propose a bug-fix... -Original Message- From: Otto, Frank [mailto:[EMAIL PROTECTED] Sent: Dienstag, 6. April 2004 09:24 To: 'Struts Users Mailing List' Subject: AW: validation with struts 1.2

Re: SV: validation with struts 1.2

2004-04-06 Thread Adam Hardy
Hi Not as far as I know Hermod -Opprinnelig melding- Fra: Otto, Frank [mailto:[EMAIL PROTECTED] Sendt: 6. april 2004 09:24 Til: 'Struts Users Mailing List' Emne: AW: validation with struts 1.2 And is there any solution? -Ursprüngliche Nachricht- Von: [EMAIL PROTE

SV: validation with struts 1.2

2004-04-06 Thread hermod . opstvedt
Hi Not as far as I know Hermod -Opprinnelig melding- Fra: Otto, Frank [mailto:[EMAIL PROTECTED] Sendt: 6. april 2004 09:24 Til: 'Struts Users Mailing List' Emne: AW: validation with struts 1.2 And is there any solution? -Ursprüngliche Nachricht- Von: [EMAIL PROTECTE

AW: validation with struts 1.2

2004-04-06 Thread Otto, Frank
And is there any solution? -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. April 2004 08:53 An: [EMAIL PROTECTED] Betreff: SV: validation with struts 1.2 Hi So now we know of two problems with it :) 1. Bundles don't work 2. It pre

SV: validation with struts 1.2

2004-04-05 Thread hermod . opstvedt
27;Struts Users Mailing List' Emne: AW: validation with struts 1.2 It doesn't search the message text in this bundle. It was been ignored. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. April 2004 08:44 An: [EMAIL PROTECTED] Betreff: S

AW: validation with struts 1.2

2004-04-05 Thread Otto, Frank
It doesn't search the message text in this bundle. It was been ignored. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. April 2004 08:44 An: [EMAIL PROTECTED] Betreff: SV: validation with struts 1.2 Hi And what excactly is the pr

SV: validation with struts 1.2

2004-04-05 Thread hermod . opstvedt
Hi And what excactly is the problem ? Hermod -Opprinnelig melding- Fra: Otto, Frank [mailto:[EMAIL PROTECTED] Sendt: 6. april 2004 08:42 Til: Struts-User (E-Mail) Emne: validation with struts 1.2 Hi, i have downloaded struts 1.2. It contains a new commons-validation.jar. This

validation with struts 1.2

2004-04-05 Thread Otto, Frank
Hi, i have downloaded struts 1.2. It contains a new commons-validation.jar. This supported the bundle attribute of the msg element. But it doesnt't function. Does someone use this kind of validation? Regards, Frank