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
:[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
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
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
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:
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
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
Marco,
is missing.
> my validation.xml Is as follows..
>
>
>
>
>
> key="error.field.required"/>
>
>
>
>
>
>
>
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
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
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
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
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 "
> -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
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
>
>
> -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
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
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
__
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
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
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
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
);
}
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
&
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
; 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
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
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
;); //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
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
: "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
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
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
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
, 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
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
-
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:
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.
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
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
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
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
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("
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]
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
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
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
: 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
: 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
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
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=
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
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
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
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
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
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
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
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
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
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
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
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
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
"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
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
> 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
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
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
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
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
--
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
201 - 271 of 271 matches
Mail list logo