You're going to have to provide us the stack trace so we can tell with
method is not being found.
K.C.
Venkat Jambulingam wrote:
Hi there,
I extended my Action classes with DispatchAction class and it works
just fine. Now I am trying to use validator framework in my app.
JavaScript
Ok, I see one potential problem. Your methods are declared as throwing
ServletException and IOException, but for Struts 1.1 they should be declared
as throwing Exception.
public ActionForward create(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
:
Subject: Re: Validator with property
String array problem
08/26/2003 02:27
PM
Matt,
Are you using the Struts html:radio tag to display the radio buttons? If so,
you should initialize the field in the FormBean that contains the value of
the radio button so that Struts marks one of the buttons as 'checked' for
you.
Regards,
Richard
-Original Message-
From: Matt E
here is another means to do it:
http://nagoya.apache.org/wiki/apachewiki.cgi?ValidatorDispatchAction
-Original Message-
From: Trent Fisher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 9:26 PM
To: [EMAIL PROTECTED]
Subject: Re: RE : RE : Validator and Dispatch Actions
hi
validator has nothing to do with Dispatch action.
paste ur code here if possible to trace ur problem
--nagi
---Original Message---
From: Struts Users Mailing
List
Date: Wednesday, August
27, 2003
Hi Nagi,
Here is the error I'm getting while using validator with
DispatchAction:
[ERROR] DispatchAction - -Action[/tr518page1] does not contain method
named error java.lang.NoSuchMethodException:
errorjava.lang.NoSuchMethodException: error
at java.lang.Class.getMethod0(Native Method)
defined in the dispatchaction class.
have u defined the parameter for this action mapping??
-- nagi
---Original Message---
From: Venkat Jambulingam
Date: Wednesday, August 27, 2003 09:13:27 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Validator and DispatchAction
Hi Nagi
[mailto:[EMAIL PROTECTED]
Sent: August 27, 2003 8:43 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Validator and DispatchAction
Hi Nagi,
Here is the error I'm getting while using validator with
DispatchAction:
[ERROR] DispatchAction - -Action[/tr518page1] does not contain method
Raeburn [mailto:[EMAIL PROTECTED]
Sent: August 27, 2003 10:05 AM
To: Struts Users Mailing List
Subject: RE: Validator and DispatchAction
This is the relevant part of the message: Action[/tr518page1] does not
contain method named error
Does your DispatchAction class
PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Validator and DispatchAction
Hi Nagi,
Here is the error I'm getting while using validator with
DispatchAction:
[ERROR] DispatchAction - -Action[/tr518page1] does not contain method
named error java.lang.NoSuchMethodException
:[EMAIL PROTECTED]
Sent: August 27, 2003 8:43 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Validator and DispatchAction
Hi Nagi,
Here is the error I'm getting while using validator with
DispatchAction:
[ERROR] DispatchAction - -Action[/tr518page1] does not contain
method
named
:[EMAIL PROTECTED]
Sent: August 27, 2003 9:58 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Validator and DispatchAction
Hi Steve,
I don't have a method named error in my action class. I don't need
one. Why is it looking for such a method in my action class? Help me
please. I have
://www.ninsky.com/struts/
-Original Message-
From: Venkat Jambulingam [mailto:[EMAIL PROTECTED]
Sent: August 27, 2003 8:43 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Validator and DispatchAction
Hi Nagi,
Here is the error I'm getting while using validator
://www.ninsky.com/struts/
-Original Message-
From: Venkat Jambulingam [mailto:[EMAIL PROTECTED]
Sent: August 27, 2003 8:43 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Validator and DispatchAction
Hi Nagi,
Here is the error I'm getting while using validator
://www.ninsky.com/struts/
-Original Message-
From: Venkat Jambulingam [mailto:[EMAIL PROTECTED]
Sent: August 27, 2003 9:58 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Validator and DispatchAction
Hi Steve,
I don't have a method named error in my action class. I don't need
Venkat,
What was the solution?
-R
-Original Message-
From: Venkat Jambulingam [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 11:06 AM
To: [EMAIL PROTECTED]
Subject: RE: Validator and DispatchAction
It works now. Thank you everyone for helping me.
[EMAIL PROTECTED] 08/27
PROTECTED]
Subject: RE: Validator and DispatchAction
It works now. Thank you everyone for helping me.
[EMAIL PROTECTED] 08/27/03 12:58PM
Hi Steve,
I don't have a method named error in my action class. I don't need
one.
Why is it looking for such a method in my action class? Help me please.
I
have
Thomas,
How do i have 3 actions here?
I have only one action with three methods each working on SEARCH, CREATE
and EDIT.(which is why i use the dispatch Action)
Appreciate any other thoughts.
TIA,
Manglu
thomas Sontheimer wrote:
you have to use (Dyna)ValitatorActionForm instead of
IIRC, it's invalid HTML unless exactly one of the radio
button options is selected.
That's not true. Not really. From the specs:
QUOTE
Radio buttons are like checkboxes except that when several share the same
control name, they are mutually exclusive: when one is switched on, all
others
Hi Matt,
As the other said I would suggest to have one button already selected unless
your business logic says not to suggest something to the user.
I think your generated Javascript doesn't check to see if at least one
button is selected. Can you post the JS code and the code for the submit
if (!errors.isEmpty())
{
saveErrors(request, errors);
return new ActionForward(mapping.getInput());
}
thomas
-Original Message-
From: manglu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 5:44 PM
To: [EMAIL PROTECTED]
Subject: Re: RE : Validator
thomas Sontheimer wrote:
Could you add this to the Validator Wiki FAQ ?
At :
http://nagoya.apache.org/wiki/apachewiki.cgi?ValidatorFAQ
Be sure to give yourself credit
if you want to use different validation rules with the validator you
have to declare different action elements in your
To: 'Struts Users Mailing List'
[EMAIL PROTECTED]
thomas.sontheimecc:
[EMAIL PROTECTED] Subject: RE : RE : Validator
and Dispatch
-validator for validating propety String
arrays ?
Thanks and regards
Suhel
- Original Message -
From: David Graham [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 2:41 PM
Subject: Re: Validator with property String array problem
Commons
Hi David,
Thanks for the info but still not made progress and wonder if you
can help or point me in the right direction for implementation
guidance.
I tried downloading latest nightly build of commons-validator
(commons-validator-20030826.zip)as you suggested and deployed it
into my
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 2:41 PM
Subject: Re: Validator with property String array problem
Commons Validator was recently modified to allow the required
validation
in Struts to run on String[] or Collection objects
approach that is recommended vs. this one?
From: thomas Sontheimer [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE : RE : Validator and Dispatch Actions
Date: Mon, 25 Aug 2003 17:04:35 +0200
you don't need 2 action
you have to use (Dyna)ValitatorActionForm instead of
(Dyna)ValidatorForm.
Then in your validation.xml file for each new rule you specify you have
to replace the name of the form by the name of the action using the
form. And the rule will be applied to the form only if it's called from
the action
accomplished.
From: thomas Sontheimer [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE : Validator and Dispatch Actions
Date: Mon, 25 Aug 2003 15:21:47 +0200
you have to use (Dyna)ValitatorActionForm instead of
(Dyna
, 2003 4:05 PM
To: [EMAIL PROTECTED]
Subject: Re: RE : Validator and Dispatch Actions
This being the case, say you had a situation where your form
had a few
fields that would be disabled/not displayed if a user didnt
have a certain
access level.
If you wanted 2 separate validation
The Javascript checking generated by the Validator
framework doesn't give an error if neither on is
selected, however the backend will, and produce an
error I can see with the html:errors tag.
IIRC, it's invalid HTML unless exactly one of the radio button options is
selected. In your case
Hi Thomas
Here what I would do.
struts-config.xml:
actionpath=/logon/action/logon
type=test.web.struts.action.logon.LogonAction
name=logonForm
scope=request-- !!!
validate=false -- !!!
preferred way of accomplishing this?
Thanks
From: thomas Sontheimer [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE : RE : Validator and Dispatch Actions
Date: Mon, 25 Aug 2003 17:04:35 +0200
you don't need 2 action
Commons Validator was recently modified to allow the required validation
in Struts to run on String[] or Collection objects. You can download the
latest Validator nightly build to try it out.
David
--- java-dude [EMAIL PROTECTED] wrote:
Hi,
I am having problems using Validator framework to
Hi Robert,
I put some stuff on there but my knowledge of wiki is only sketchy, so I
have left a page where all the capitalized words have got a question
mark after them for creating new pages.
I couldn't find any wiki instructions anywhere - if you give me a good
link, I can post it on the
Adam Hardy wrote:
Hi Robert,
I put some stuff on there but my knowledge of wiki is only sketchy, so
I have left a page where all the capitalized words have got a question
mark after them for creating new pages.
I couldn't find any wiki instructions anywhere - if you give me a good
link, I can
I also went through my old emails and added a few items to the FAQ +
one Validator Extension
On 08/18/2003 06:08 AM Robert Leland wrote:
There is now a Commons Validator Wiki !
Beware this is only a shell to start collecting tips, FAQs, and examples
for using validator. You can make a much
Warning: really, really basic questions (apologies in advance) ...
On 08/18/2003 09:45:44 AM Robert Leland wrote:
Adam Hardy wrote:
Hi Robert,
I put some stuff on there but my knowledge of wiki is only sketchy, so
I have left a page where all the capitalized words have got a question
Susan Bradeen wrote:
Warning: really, really basic questions (apologies in advance) ...
On 08/18/2003 09:45:44 AM Robert Leland wrote:
Adam Hardy wrote:
Hi Robert,
I put some stuff on there but my knowledge of wiki is only sketchy, so
I have left a page where all the capitalized words
Matt Raible wrote:
First question - Should I be using Floats or Doubles?
Well Javascript has something it call float but no double. I don't know
what the
precision is but as you noticed validator only has a validateFloat() JS
function.
Robert Leland [EMAIL PROTECTED]
It's in the code of FieldsCheck.java. I was trying to create one of my
own validator and I saw these lines there.
Erez
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 12:10 AM
To: 'Struts Users Mailing List'
Subject: RE: Validator
???
I
Alex Shneyderman wrote:
Out of curiosity, how do you group a number of checkboxes?
You name then tha same and what you get on the server side is a list of
values.
Yup! List, fisicaly an Array!
I didn't look to the source code, in the HTTP request using TCPReflector you may
see for a group of
You would have to roll your own I presume, since a checkbox is either
checked or null. How would you check for null? It seems counter-intuitive.
Out of curiosity, how do you group a number of checkboxes?
Adam
José Fortunato H. Tomás wrote:
Hi!
Any one has an example or code using Validator
PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Validator
Date: Mon, 11 Aug 2003 08:52:04 -0700
Are you running Struts 1.1? I think this is a problem that was fixed before
1.1 final was released.
Steve
-Original Message-
From: Adolfo
José Fortunato H. Tomás wrote:
Hi!
Any one has an example or code using Validator for a form-bean where
exists an input that is a group of checkboxes?
I need to use required, and number of cheks checked, but until now I
couldn't find any way to use validator correctly for this kind of
Even thought about using multibox? Here is a good tutorial by Ted Husted:
http://husted.com/struts/tips/007.html
As to numer of checks, you might want to write your own validator. That's very
customized functionality.
Hope this helps!
-Original Message-
From: José Fortunato
Out of curiosity, how do you group a number of checkboxes?
You name then tha same and what you get on the server side is a list of
values.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
You give the same name for all checkboxes, this is obvious I think!
If you define an property as an Integer[] for example, then you receave an Array
with a number of entries equal to the number of boxes checked.
I have, some weeks ago, made an basic ActionForm, and if I'm correct, when the
]
Sent: Sunday, June 22, 2003 9:42 PM
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
Are you running Struts 1.1? I think this is a problem that was fixed before
1.1 final was released.
Steve
-Original Message-
From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]
Sent: August 11, 2003 8:12 AM
To: [EMAIL PROTECTED]
Subject: Re: Validator
What about replacing reference
[EMAIL PROTECTED]
Subject: Re: Validator
Date: Mon, 11 Aug 2003 09:15:59 -0500
On one of our machines that cannot get to the internet, the DTD references
definitely cause validation to be ignored completely. I believe we can see
errors during the web application's startup (or we probably wouldn't
: August 6, 2003 5:13 PM
To: 'Struts Users Mailing List'
Subject: RE: Validator
It's in the code of FieldsCheck.java. I was trying to create one of my
own validator and I saw these lines there.
Erez
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Thursday, August
a check on the String[].length and
determine that nothing is there and throw the user back to the form.
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 7:13 PM
To: 'Struts Users Mailing List'
Subject: RE: Validator
It's in the code
???
I don't see it in my validation-rules.xml. Which version are you using?
-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: August 6, 2003 3:33 PM
To: 'Struts Users Mailing List'
Subject: Validator
I am trying to figure out the code in
Users Mailing List'
Subject: RE: Validator
I don't think it is the formbean that is checked for isString() it is the
data members of the formbean. Since it is http I guess there is only 2
choices: String and String[] and so the test determines how the validation
for a value is to be done.
Kinda
here...
It would be the difference between testing .length and .length() !!
:-)
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 6:30 PM
To: 'Struts Users Mailing List'
Subject: RE: Validator
I guess it's more efficient if bean is a String
AFAIK, the standard required validator doesn't work with arrays. Or, if it
does, I wasted time writing a custom validator ;-). I'd be intersted to hear if
anyone really has used the required validator successfully for an array field.
I suppose I should check to see if there's a bug/RFE for an
problem for String[] and doesn't appear to
have broken and validations which worked before.
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 3:52 PM
To: Struts Users Mailing List
Subject: Re: Validator required not working with String[] multi
before.
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 3:52 PM
To: Struts Users Mailing List
Subject: Re: Validator required not working with String[] multi-select
AFAIK, the standard required validator doesn't work with arrays
I've never done this before with apache bugzilla so let me know if I did Ok.
View bug number 22121.
-Original Message-
From: Rob Leland [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 5:17 PM
To: Struts Users Mailing List
Subject: Re: Validator required not working with String
hi,
'validwhen' is available in the nightly builds...
-- nagi
---Original Message---
From: Struts Users Mailing
List
Date: Thursday, July
31, 2003 02:08:30 PM
To: [EMAIL PROTECTED]
Subject:
So it's not available in the initial Struts 1.1 final release?
Is there an alternative to validwhen that can do the same job?
- Keith
-Original Message-
From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 4:49 AM
To: [EMAIL PROTECTED]
Subject: Re
did :-)
Steve
-Original Message-
From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED]
Sent: July 31, 2003 1:49 AM
To: [EMAIL PROTECTED]
Subject: Re: Validator: Is validwhen available ?
hi,
'validwhen' is available in the nightly builds...
-- nagi
10:59 AM
To: Struts Users Mailing List
Subject: RE: Validator: Is validwhen available ?
The nightly builds are not working for now because of a problem with the
build machine.
ValidWhen has been added to the source but, for now, you'll need to check it
out from CVS and do your own build
of the code and removal of
deprecations.
Keep monitoring the struts-dev list for activity.
Steve
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: July 31, 2003 8:00 AM
To: 'Struts Users Mailing List'
Subject: RE: Validator: Is validwhen available
If your code is a direct cut-n-paste, you've got an extra '' in
your first regular expression?
var-value^[a-zA-Z0-9_.-]*$/var-value
-jeff
On Wednesday, July 30, 2003, at 07:14 AM, Dirk Behrendt wrote:
var-value^[a-zA-Z0-9_.-]*$/var-value
Password fields are only run against the required validation in the
client side javascript for security purposes. Password fields are
validated with all rules on the server side though.
David
--- Dirk Behrendt [EMAIL PROTECTED] wrote:
Hi!
No, I do not have an extra '' in my code. The
.
-Original Message-
From: Gabriel Guerreiro [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 12:58 PM
To: Steve Caswell
Subject: Re: Validator not working
Thanks for your advice.
Logging is a subject I didn´t care much about.
In Struts 1.0 I used only servlet.log(...).
I gess the validator
By the way, that field that I gave as an example should only accept any of
those 4 values. I think I need to use == rather than !=, but it doesn't
work either way.
Any ideas?
- Keith
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: Monday, July
After a few direct questions about how I solved the problem, here the
answer:
The database for my application was missing eg. not started. The error
(NullPointerException) shown in the browser was more than strange but
now it works fine...
Koni
Koni Roth wrote:
Hello
I'm running Netbeans 3.5
Then use doubleRange:).
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Brian Chaplin
Sent: July 24, 2003 4:56 PM
To: [EMAIL PROTECTED]
Subject: Re: Validator range server-side check assumes Integer?
I want to check that it's within range and also a double
Hi, I think i'm having a similar problem with struts validation in that
there seems to be a two stage validation process. All 'required' fields
seem to be validated first and only once they are resolved then the min
and max length validation is processed.
My validation.xml is as follows;
R Balaji wrote:
If i fail to give the userName it is prompting, that userName is
required. But if i input only 2 characters for the userName, while all
other ( some of the other ) fields are empty it prompts only about all
other required fields, and not validating the *minlength* condition
Adam Hardy wrote:
R Balaji wrote:
If i fail to give the userName it is prompting, that userName is
required. But if i input only 2 characters for the userName, while
all other ( some of the other ) fields are empty it prompts only
about all other required fields, and not validating the
It is not supported, but you can get it from the CVS repository.
[]s
Michael Nascimento Santos
JSR-207 Expert Group Member
Sun Certified Programmer for the Java 2 Platform
Sun Certified Programmer for the Java 2 Platform 1.4
Sun Certified Web Component Developer for J2EE
Moderador SouJava -
R Balaji wrote:
I think it would be better if we prompt all the errors at once to the
user. The user should not wait till entering the valid fields and then
check for the validity of the entered values.
The Required condition should take the precedence over all other
condition for that
Try to use 'intRange' instead of 'range'. 'range' is deprecated.
Also if it's a int, why there is a 'double' in depends?
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Brian Chaplin
Sent: July 24, 2003 2:02 PM
To: [EMAIL PROTECTED]
Subject: Validator range
I want to check that it's within range and also a double.
With or without the double it still tries to validate it as an integer. I
suspect intRange will continue to do that.
Yansheng Lin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try to use 'intRange' instead of 'range'. 'range'
Lukas Bradley wrote:
A quote from http://jakarta.apache.org/struts/userGuide/dev_validator.html
The new validwhen validation rule, which will be included into the Struts
release immediately after the 1.1 release, is designed to handle these
cases.
Does this mean validwhen is or is not supported
Hi prashant,
In the validation.xml file, you have to give a name for the args. (how can it
know that for what validation it has to use the args ?) So the arg0 shuld also
contain a property called name=required
Please let me know whether it works,
Sivakumar
[EMAIL PROTECTED] wrote:
Hi,
I
PROTECTED]Subject: Re: Validator Problem
entnet.com
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 than 2 characters
for the minlength validation, but I get title cannot be more than null
characters for the maxlength validation.
field property=title
Chuck
-Original Message-
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
, 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 than 2 characters
for the minlength validation, but I get title cannot be more than null
/var
var
var-nameminlength/var-name
var-value2/var-value
/var
/field
Chuck
-Original Message-
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
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 from there we can set
You must define a datePattern var in your validation.xml config, such as:
field property=aDate depends=date
var
var-namedatePattern/var-name
var-valueMM-dd-/var-value
/var
/field
This way, the validator knows when the value entered is valid according to
your pattern. In
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:
field property=aDate depends=date
var
var-namedatePattern/var-name
var-valueMM-dd-/var-value
/var
/field
Same error, but
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.
ssn_1,
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, Johnny [EMAIL PROTECTED
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 form on a different JSP,
therefore, I need to submit my
form indirectly using a link and javascript (see
code
[mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 10:48 AM
To: Struts Users Mailing List
Subject: Re: Validator using A href instead of
html:submit
should it be a validatorForm?
sandeep
--- Poon, Johnny [EMAIL PROTECTED] wrote:
Hi,
I'm using trying to use ValidatorActionForm
];));
}
-Original Message-
From: Sandeep Takhar [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 11:29 AM
To: Struts Users Mailing List
Subject: RE: Validator using A href instead of html:submit
What is the javascript created by the custom tag when
looking at the source?
I think
select your state of
residence to continue., new Function (varName,
return
this[varName];));
}
-Original Message-
From: Sandeep Takhar
[mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 11:29 AM
To: Struts Users Mailing List
Subject: RE: Validator using A href instead
MaFai rta:
validator-rules.xml
!DOCTYPE form-validation PUBLIC
-//Apache Software Foundation//DTD Commons Validator Rules Configuration
1.0//EN
http://jakarta.apache.org/commons/dtds/validator_1_0.dtd;
form-validation
global
validator name=required
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
!DOCTYPE form-validation PUBLIC
-//Apache Software Foundation//DTD Commons Validator
MaFai rta:
Hello, Gemes Tibor,
why?I only need the require function.
This line of yours contradicts the above statement:
fieldproperty=symbol
depends=required,mask,minlength
and which validator must be add in validator-rules.xml?
Why cannot be all of them
to
implement, but I am always open to suggestions :-)
Nick
-Original Message-
From: Sandeep Takhar
[mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 1:35 PM
To: Struts Users Mailing List
Subject: RE: Validator with LookupDispatchAction and
Tiles
You seem
: 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) html:javascript formName=your_form_name/ in page header
10a) for form tag: onsubmit=return
101 - 200 of 538 matches
Mail list logo