I like the concept of the validator, but personally I don't have a lot of
confidence in it. The second thing I tried to do with it was use the
inRange (or whatever) test, and it didn't work. I use it server-side and
only for required fields.
Matt
- Original Message -
From: &q
+1 for it works for me too.
Not knowing javascript well, using the validator allowed me
to quickly do client side validation.
+1 for it isn't so easy to use. I think a "REALLY" simple default app
that shows exactly how each different field validation works would
dramatically i
Mark Galbreath wrote:
I am not looking for a war here. All I ask is to get the damn thing right
before offering it as a release to our community.
Release early, release often.
Most open source software would -never- get released if people waited
till they got the damn thing right before offer
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 14, 2003 11:01 AM
> To: Struts Users Mailing List
> Subject: RE: Struts Validator-nextreleasewhen (was validwhen)
>
>
> > I suspect that not too much has changed since
Just forgot to explain that I do the following:
mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 11:44 AM
To: 'Struts Users Mailing List'
Subject: RE: Using Struts Validator on Map-backed ActionForms
Hi Panchasheel,
I am working with map backed action forms and the way to
Keith, I have done the same and to do that I would suggest taking as a
starting point the code from the Struts source code. more specifically
have a look at FieldChecks.java (Struts src code) under
shared/.../struts/validator/FieldChecks.java. It will much clearer once
you do that. It worked for
> ... Am I so special :)
;-)
If I remember it well, it's an open issue in the bug-list.
cheers Reinhard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Let me state the blindingly obvious:
1. Validator works. Other people seem to be able to use it.
2. Validator is not perfect. Valid bug reports would help make it better.
3. This is a community project. There is no Us and Them, only Us. And, for
better or worse, that includes you.
Since
Working with the validator I found that the client-side javascript code
automatically generated by the validator tag does not handle correctly
or at all fields that are radio group , checkbox group or any other type
of group that exist.
I have posted few times on that but no response. After that I
> -Original Message-
> From: Brian McSweeney [mailto:[EMAIL PROTECTED]
> Sent: August 14, 2003 6:29 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Struts Validator
>
>
> +1 for it works for me too.
> Not knowing javascript well, using the valida
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED]
> Sent: August 10, 2003 9:42 AM
> To: Struts Users Mailing List
> Subject: Re: Struts Validator Javascript
>
>
> Sgarlata Matt wrote:
> > I like the concept of the validator, but pers
You can reach Bugzilla at:
http://nagoya.apache.org/bugzilla
Matt
- Original Message -
From: "Erez Efrati" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Sunday, August 10, 2003 1
On Sun, 10 Aug 2003, Adam Hardy wrote:
> Date: Sun, 10 Aug 2003 18:41:32 +0200
> From: Adam Hardy <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Re: Struts Validator J
I actually did use that but nothing was being returned. All it showed was a
"null".
From: "Nagendra Kumar O V S" <[EMAIL PROTECTED]>
Reply-To: "Nagendra Kumar O V S" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: Displaying an incorre
I am trying to figure out the code in struts.validator.FieldsCheck.java
in order to write one of my own.
Can someone explain what the purpose of the following lines of code in
all of the validateXXX() in Struts:
validateIntRange (...) {
if (isString(bean)) {
MAIL PROTECTED]
Subject: Displaying an
incorrect email using email validator
Hi everyone,I currently have a JSP page with a
textbox that holds email data which is to be validated using the
struts validator. Currently with other types of validations one can
view
Validator is crap; don't waste your time.
Mark
-Original Message-
From: Stephen Bennett [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 11:39 AM
To: [EMAIL PROTECTED]
Subject: Struts Validator
Has anyone had any problems getting the Struts Validator to work?
I h
ubject: RE: Struts Validator
Hi Steve,
>Have you looked at the struts-validator sample app? The 'types'
examples
>show most of the basic validations. If you've already looked at it, is
>there anything that would make it easier to understand?
No I had not heard about the samp
m: Mark Galbreath [mailto:[EMAIL PROTECTED]
> Sent: August 13, 2003 5:40 PM
> To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
> Subject: RE: Struts Validator
>
>
Just look at the archive for this list and
> I'll wager there
> are more questions/complaints abo
Dave,
My only complaint with the authors of validator is that (a) they say it's
really cheeky, but (b) a host of developers, including me, have complaints
about it. It just doesn't work within the framework documented. The List
is full of complaints and requests along these lines
Cheers David,
I'll take a look
Brian
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: 14 August 2003 16:14
To: Struts Users Mailing List
Subject: RE: Struts Validator
--- Brian McSweeney <[EMAIL PROTECTED]> wrote:
> Hi Steve,
>
> >Have y
--- Jerry Jalenak <[EMAIL PROTECTED]> wrote:
> +1 - Validator works. I started using it wy back in the pre-RC1
> days.
> Everytime that Validator hasn't worked for me, I've found that it was
> due to
> a screw up on my part (usually something in the validati
t the setup step it's *far*
easier to use the Validator and supplement it with custom coding when
needed.
David
>
> Mark
>
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 13, 2003 4:50 PM
> To: Strut
With great trepidation, I must inquire as to the likelihood of a next
release of the commons-validator in the near term future. (ducking for cover
now as the flames telling me to read the Apache release process policy on
the web site are fired off in my direction ;-)).
Seriously, I did look in
Hi,
The struts Validator
'validwhen' I could not find anywhere in struts,even though it was
mensioned
in documentation.
If it is available Could anybody please help me where exactly it is
available?
Thanks,
Shailaja
-- A . S . C . A . P.--
Th
Hi Steve,
>Have you looked at the struts-validator sample app? The 'types'
examples
>show most of the basic validations. If you've already looked at it, is
>there anything that would make it easier to understand?
No I had not heard about the sample app. I looked again
isString(Object o) {
if (o == null) {
return (true);
}
return (String.class.isInstance(o));
}
One reason I can think of your validator needing to know the difference
between if validating for a String or say a String[] (returned if a
multi-select or if someone
> Keep investigating the problem. If you can come up with new information
> or a
> patch, then that will serve as a much more useful reminder than just
> repeating yourself.
I couldn't agree more with this statement. Many reported bugs are poorly
described and just left in bugzilla for someone el
I am trying to figure out the code in struts.validator.FieldsCheck.java
in order to write one of my own.
Can someone explain what the purpose of the following lines of code in
all of the validateXXX() in Struts:
validateIntRange (...) {
if (isString(bean)) {
Is there a way to use vars in validation.xml that are not
constants in a way that the javascript will use these values?
Thanks,
Erez
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
Hey everyone,
I've got some nice custom validations working using the validation
framework. However, I'm having a hard time with one seemingly imple issue.
In the validation method in my custom validation class, how do I get the
value of the field I'm validating?
I found one example that did this,
???
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
osted 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
o: 'Struts 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 val
x27;[EMAIL PROTECTED]'
Subject: Using Struts Validator on Map-backed ActionForms
Hi,
I am trying to use the Struts Validator to generate Javascript validation on
a Map-backed action form, but I keep getting "type is null or not an object"
javascript error (I am using Struts 1.1
RE: Using Struts Validator on Map-backed ActionForms
Just forgot to explain that I do the following:
mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 11:44 AM
To: 'Struts Users Mailing List'
Subject: RE: Using Struts Validator on Map-backed ActionForms
Hi Panchasheel,
I
Hi;
Does anyone know of a simple sample struts page (like logon) that includes
Internationalization and validators so it shows how to use everything?
thanks - dave
Hi all,
I am using DispatchActionClass with DynaValidator form .
I have two mehods in the DispatchActionClass , one is retrieve and other is
update .
The problem is when I set the Validations for the form , the Validaor
validates the form before calling both the methods ..
In retrieve
helps,
Erez
-Original Message-
From: Gandle, Panchasheel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 4:48 AM
To: 'Struts Users Mailing List'
Subject: RE: Using Struts Validator on Map-backed ActionForms
Has anybody come up with any validations for map-backed fiel
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 S
ich 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-select
AFAIK, the standard "required" validator doesn't
ation 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 Stri
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 s
I sort of already sent this message to the list but I made a mistake (didn't
proof read my message) so here it is again but corrected ...
Validator "required" validation is NOT working for my String[] (in a
dynaform. I have seen others on the list say it works for the
Hi list
I'm using the validation framework that comes with Struts 1.1. Client
side validation with JavaScript works fine. I read the manuals and the
'Struts in Action' book but somehow I still do not understand how
dynamic (automatic?) validation server side works! What exactly do I
have to set
I don't think this is legal, i.e., you can not have a bracket inside of property
attribute:
mailto:[EMAIL PROTECTED]
Sent: August 1, 2003 11:24 AM
To: '[EMAIL PROTECTED]'
Subject: Using Struts Validator on Map-backed ActionForms
Hi,
I am trying to use the Struts Valida
Hi,
I am trying to use the Struts Validator to generate Javascript validation on
a Map-backed action form, but I keep getting "type is null or not an object"
javascript error (I am using Struts 1.1). Non map-backed properties on the
form work fine.
In the JSP I am creating text b
with internal reorganization 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
2003 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 buil
lease 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...
t: Re: Validator: Is validwhen available ?
--
Content-Type: Multipart/Alternative;
boundary="Boundary-00=_SHSVLVC0"
--
Content-Type: Text/Plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
hi,=0D
'validwhen'
Subject: Validator: Is
validwhen available ?
HiIn the Struts Validator User Guide (http://jakarta.apache.org/struts/userGuide/dev_validator.html)I
read under "Designing Complex Validations with validwhen" the
followingsentence:The new validwhen validatio
Hi
In the Struts Validator User Guide
(http://jakarta.apache.org/struts/userGuide/dev_validator.html)
I read under "Designing Complex Validations with validwhen" the following
sentence:
...
The new validwhen validation rule, which will be included into the Struts
release immediately
Hello!
This field is not declared as a password field yet. It is a normal
textfield..
Other ideas?
Dirk
-Ursprüngliche Nachricht-
Von: David Graham [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 30. Juli 2003 23:25
An: Struts Users Mailing List
Betreff: Re: Validator Framework: Can
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. Th
Hi!
No, I do not have an extra '<' in my code. The regular expression is not
evaluated.
Example:
When I use ^[a]$ the user only should input "a".
But in my case you can input anything you want.
There are some ideas?
Dirk
If your code is a direct cut-n-paste, you've got an extra '>' i
_.-]*$
-Ursprüngliche Nachricht-
Von: Dirk Behrendt [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 30. Juli 2003 14:14
An: [EMAIL PROTECTED]
Betreff: AW: Problem in using Validator Framework with Struts
Hello!
I found the problem. I poited to a wrong DTD...
Thanx!
Dirk
-Ursprüngliche
If your code is a direct cut-n-paste, you've got an extra '>' in
your first regular expression?
>^[a-zA-Z0-9_.-]*$
-jeff
On Wednesday, July 30, 2003, at 07:14 AM, Dirk Behrendt wrote:
>^[a-zA-Z0-9_.-]*$
-
To unsubscribe, e-m
Hello!
I want to check login and password fields.
If I submit with empty textfields, the errors are shown correct (
required). But my regular expression was ignored. (see code below).
What is necessary to check regular expressions?
Dirk
Struts-config.xml
-
form-bean na
Hello!
I found the problem. I poited to a wrong DTD...
Thanx!
Dirk
-Ursprüngliche Nachricht-
Von: Stephan Wiesner [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 30. Juli 2003 06:58
An: Struts Users Mailing List
Betreff: Re: Problem in using Validator Framework with Struts
Hi Dirk,
did
Hi Dirk,
did you activate the plugin in struts-config? Maybe a typo? Struts 1.1
already contains the activated plugin and there is an example war where
you might want to copy paste some lines.
Dirk Behrendt wrote:
Hello!
I have a problem in using the Validator framework with Struts.
I want
Make sure your doctype is correct:
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
David
--- Dirk Behrendt <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I have a problem in using the Validator framework with Struts.
>
> I want to check textfields.
>
Hello!
I have a problem in using the Validator framework with Struts.
I want to check textfields.
When I start Tomcat, I got a lot of parse erros like this:
element type "plug-in" must be declared.
org.xml.SAXParseException
I looked at other validation examples, but I did the sa
() in struts1.0, so I have quit using it.
I was not using logs in struts 1.1.
I will use Log4j and commons-logging. it's nice.
Gabriel.
Steve Caswell wrote:
The validator does logging, but it is mostly at the debug level, which is typically turned off by default. You have to configure a logg
July 28, 2003 3:13 PM
To: Struts (E-mail)
Subject: Validator Syntax
Hey everyone,
I finally got the validator working! Turned out to be issues with the
version of struts I was using or somthing like that. In any case, it's
fixed.
I'm slightly confused about this one statemen
Hey everyone,
I finally got the validator working! Turned out to be issues with the
version of struts I was using or somthing like that. In any case, it's
fixed.
I'm slightly confused about this one statement in the online documentation.
It says that "Only two items may be joined
Hey all,
Whenever I try to use the maxlength validator on one of my form fields and
submit that field as empty or whitespace, I receive the "{0} is required"
ActionError message. Is this behavior by design? If not, am I missing
something stupid? I was under the impression that if a
The validator does logging, but it is mostly at the debug level, which is typically
turned off by default. You have to configure a logger to turn on debug level logging
to see the validator's log messages. Otherwise the validator will operate (and in some
cases hide errors) sil
The Struts Validator plug-in delegates to Commons Validator for the real work. Commons
Validator uses Commons Logging for logging. You can enable logging by configuring one
of the loggers supported by Commons Logging. I use Log4J. Here is my log4j.properties
files in WEB-INF/classes
Hi,
I am integrating struts-validator in a struts-based application.
Validadion does not return errors in the server-side validation.
Whith this simple test form:
min
0
max
999
validations.
You can apply the patch yourself. It's only two files ValidatorPlugIn.java
and JavascriptValidatorTag.java.
BAL
- Original Message -
From: "Steve Raeburn" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Satur
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 wi
Lee [mailto:[EMAIL PROTECTED]
> Sent: July 27, 2003 6:34 AM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: Can Validator javascript show more than one error at a
> time?
>
>
> There's currently a defect
> (http://issues.apache.org/bugzilla/show_bug
lugIn.java
and JavascriptValidatorTag.java.
BAL
- Original Message -
From: "Steve Raeburn" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, July 26, 2003 2:33 PM
Subject: RE: Can Validator javascript show more than one er
rs would be
grouped together. But if you had only one missing required field and another
type of error, you would not see the second error message until you correct
the missing field error.
See the struts-validator sample application (shipped with Struts) for
examples.
Steve
> -Origin
On Behalf Of Brian Chaplin
> Sent: Saturday, July 26, 2003 1:35 PM
> To: [EMAIL PROTECTED]
> Subject: Can Validator javascript show more than one error at a time?
>
> Somehow Ted Husted was able to get the javascript to show more than
one
> error at a time in the javascript al
Somehow Ted Husted was able to get the javascript to show more than one
error at a time in the javascript alert message.
See screen shot on page 373 of Struts in Action.
I'm using Struts 1.1 final and it seems the javascript won't support that?
--
Just FYI, I found a post in the newsgroup archives that solved my problems.
The author's name eludes me, but he's certainly sharp.
All one must do is set validate to false for the action mapping in the
struts-config.xml and then, in the methods in which one wishes to validate,
call something like:
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.
#x27;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
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
T
I'm validating a BigDecimal (money) form field and when I put a range
validation on, it assumes that the data type must be integer.
The javascript is okay but the server-side validation checks for integer:
min
5
max
100
yields an error message of
fee amount must be an intege
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 *part
- www.soujava.org.br
- Original Message -
From: "Lukas Bradley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 23, 2003 6:35 PM
Subject: Validator validwhen
> A quote from http://jakarta.apache.org/struts/userGuide/dev_validator.html
>
> &qu
e required get
satisfied. ??
I'm not sure but that's the way my validation functions as well. I
imagine the validator has certain rules such as this built in so that
you don't get overwhelmed with validation messages when you have
complex validations to do.
How can that be a
ed. ??
I'm not sure but that's the way my validation functions as well. I
imagine the validator has certain rules such as this built in so that
you don't get overwhelmed with validation messages when you have complex
validations to do.
How can that b
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;
Hello
I'm running Netbeans 3.5 with Tomcat 4.0.6 and Struts 1.1. Since I use
validation my application sometimes dies at startup. When I restart the
server it throws the following exeption:
--
java.lang.NullPointerException
at
org.apache.struts.taglib.html.JavascriptValidat
Hi,
I am using Struts Validator for validating my Application. i am using
"required" for many of the fields and using minlength and maxlength for
the userName field.
my validation.xml reads like this,
/Ex :
minlength
5
maxlength
10
/
If
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
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 in 1.1? I can inter
Teaches me to skim the docs. I missed the part in the Validator dev docs
where it says it can generate javascript... You might be able to get
somewhere by overriding the
org.apache.commons.validator.ValidatorResources that's set as an
application scope attribute. I just skimmed through i
Hi,
thanks Derek, thanks Chuck.
Am Mittwoch, 23.07.03 um 17:24 Uhr schrieb Derek Chen-Becker:
[..]
I hadn't thought of client-side validation, but that's kind of tricky
[..]
Or am I misunderstanding what you mean by "client-side"?
No, that's what I meant. But: the va
Hey,
I could really be missing the point and I haven't had time to delve into the
struts/validator code. To me, it sounds like you might want to look into
dynamically building a validator action (or whatever object is defined in
the validation.xml) and map that to your form. If your jsp the
m?
It adds a layer, but since ActionForms are objects and not interfaces
I don't see an easier way than delegation.
I'm not sure I understand that. Do you mean to use the validator
"outside" struts (in the business layer) and delegate all validations in
the form to the busi
7;t see an easier way than delegation.
I'm not sure I understand that. Do you mean to use the validator
"outside" struts (in the business layer) and delegate all validations
in the form to the business object? Like this:
MyForm extends ActionForm {
..
pub
ello,
I'm wondering if anybody has already extended the validator framework
- to use it in the business layer instead of the controller layer
- supporting dynamically loaded/created forms
Validating user input is no special struts or web application
requirement. In my case, all applications are w
Hello,
I'm wondering if anybody has already extended the validator framework
- to use it in the business layer instead of the controller layer
- supporting dynamically loaded/created forms
Validating user input is no special struts or web application
requirement. In my case, all application
read
maxlength
16
minlength
2
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 yo
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
character
501 - 600 of 1868 matches
Mail list logo