Are you using the validator.xml and validation-rules.xml files shipped
with Struts 1.2, or copies from an older version? Do you have the right
versions of all jars in your WEB-INF/lib?
L.
Kanuri, Chand wrote:
Hi all,
i have problem with validator plugin.
in my struts config i enabled
It seems this is the latest.
http://struts.apache.org/struts-doc-1.1/userGuide/dev_validator.html
On 11/9/05, Antony Paul [EMAIL PROTECTED] wrote:
Hi all,
The files
http://struts.apache.org/struts-core/userGuide/dev_validator.html
On 11/9/05, Yujun Liang [EMAIL PROTECTED] wrote:
It seems this is the latest.
http://struts.apache.org/struts-doc-1.1/userGuide/dev_validator.html
That's the documentation that shipped with Struts 1.1, so it's not the
latest. :)
Here's the latest version for the 1.2 branch:
.
how can i validate these properties using struts validator(using
validator-rules.xml,validation.xml and struts-config.xml).
i can validate the simple properties in my action form but how can i
validate the nested properties?
the simple properties in my form are type and code.
i am validating them
hi all,
i am having a list of users in my actionform in which each user is a bean
with 3 properties.
how can i validate the list?
the constructor of my form looks like this:
private List users = new ArrayList(5);
public UserForm() {
super();
for
On 11/2/05, Niall Pemberton [EMAIL PROTECTED] wrote:
Release Candidate 3 of Validator 1.2.0 is now available for download at:
http://people.apache.org/~niallp/commons-validator/1.2.0-rc3/
A summary of whats new in Validator 1.2.0 is available on the Wiki:
http://wiki.apache.org
hi all,
i am new to struts validation.
i foung some nice tutorials which validates action forms using
validator-rules.xml and validation.xml(which connects validator-rules.xml and
formbean name in stuts-config.xml).
but my form bean looks like this(i am using 2 more beans in my action form
hi all,
i am new to struts validation.
i foung some nice tutorials which validates action forms using
validator-rules.xml and validation.xml(which connects validator-rules.xml and
formbean name in stuts-config.xml).
but my form bean looks like this(i am using 2 more beans in my action
form
hi,
try to use onClick instead of onSubmit when you are using the javaScript
submit
Cheers,
Vishal
-Original Message-
From: Jim Reynolds [mailto:[EMAIL PROTECTED]
Sent: Friday, November 04, 2005 7:12 PM
To: user@struts.apache.org
Subject: Client Side Validator Fails When Submit from
Aah, so this is why you were too busy to make it to the user group
meet-up, Niall! ;)
Niall Pemberton on 03/11/05 15:48, wrote:
On 11/3/05, David G. Friedman [EMAIL PROTECTED] wrote:
Niall,
Some of those listed extensions are long awaited. :)
Regards,
David
Great, if you get a chance
...as long as you don't have 12 betas like Tapestry
:-)
__
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
-
To unsubscribe, e-mail:
=left
html:text property=emailAddress size=30 maxlength=30/
/td
/tr
tr
td align=right
html:submitSave/html:submit
/td
td align=left
html:cancelCancel/html:cancel
/td
/tr
/table
/div
!-- Begin Validator Javascript Function--
html:javascript formName=AddressForm/
!-- End of Validator Javascript
Hello,
I'm building a wizard style webapp with 3 pages. I'm using the page
attribute to make validator check inputs.
I've got this problem :
first page validate an userId selection (required)
When this rules failes on page 2 or 3 (let's consider the user has used
a bookmark), I'd like struts
hope this helps.
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Thu 11/3/2005 3:07 AM
To: Struts Users Mailing List
Subject: wizard-style form and validator
Hello,
I'm building a wizard style webapp with 3 pages. I'm using the page
attribute to make validator
On 11/3/05, Nicolas De Loof [EMAIL PROTECTED] wrote:
Hello,
I'm building a wizard style webapp with 3 pages. I'm using the page
attribute to make validator check inputs.
I've got this problem :
first page validate an userId selection (required)
When this rules failes on page 2 or 3 (let's
I'll have a look, thansk for the link.
Thanks also to bsimonin for code suggestion.
Michael Jouravlev a écrit :
On 11/3/05, Nicolas De Loof [EMAIL PROTECTED] wrote:
Hello,
I'm building a wizard style webapp with 3 pages. I'm using the page
attribute to make validator check inputs.
I've
On 11/3/05, David G. Friedman [EMAIL PROTECTED] wrote:
Niall,
Some of those listed extensions are long awaited. :)
Regards,
David
Great, if you get a chance to try it out, any feedback would be much
appreciated.
Niall
-
I am a bit confused between the commons validator and the struts validator.
I am trying to incorporate javascript:validations within some JSP
files, and I am having a hard time deciding what to configure. I found
a struts-validtor.tld, but it appears old, and when I search google
for struts
Just for the record, I've tried to search about Validator in Struts docs
yesterday, and it wasn't finding the page(405 error), but today is working
fine. The link is
http://struts.apache.org/struts-doc-1.2.x/userGuide/dev_validator.html.
Best Regards
Rafael Mauricio Nami
2005/11/3, Jim Reynolds
WellI am not a Struts expert yetbut according the book Struts The
Complete Reference Chapter 6 on page 91 a guy named David Winterfeldt created
the Validator framework as a third party add-on to Struts. Validator was later
integrated into the core Struts code base and has since been
The web site was recently reorganised and Google's still catching up
with its indexes. Glad you found the page you needed.
For the record, 'Commons Validator' is the general-purpose validation
framework andd 'Struts Validator' is the component in Struts that wraps
Commons Validator. The docs
hello,
I'm trying to use validator with lookupdispatchaction, it will be great to
generate the client JS validation.
Have you any links, samples?
Thanks in advance
--
Regards
Arnaud Gonzales.
Release Candidate 3 of Validator 1.2.0 is now available for download at:
http://people.apache.org/~niallp/commons-validator/1.2.0-rc3/
A summary of whats new in Validator 1.2.0 is available on the Wiki:
http://wiki.apache.org/jakarta-commons/ValidatorVersion120
Full details of changes
Arnaud,
Validator is independent on any actions, it can handle JS validation as
well,
http://66.102.7.104/search?q=cache:4urwhau-PQcJ:struts.apache.org/userGuide/dev_validator.html+struts+validatorhl=enclient=firefox-a
Regards
On 11/3/05, arnaud gonzales [EMAIL PROTECTED] wrote:
hello,
I'm
Don and Niall,
I see RC3 of Commons Validator 1.2! Makes me excited
as my favorite bugs (oxymoron) seem to be fixed. But
besides fixes, can you detail what new features it
contains?
__
Yahoo! Mail - PC Magazine Editors' Choice 2005
On 11/3/05, Paul Benedict [EMAIL PROTECTED] wrote:
Don and Niall,
I see RC3 of Commons Validator 1.2! Makes me excited
as my favorite bugs (oxymoron) seem to be fixed. But
besides fixes, can you detail what new features it
contains?
I've put up a wiki page that tries to give a summary
Niall,
Some of those listed extensions are long awaited. :)
Regards,
David
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 9:36 AM
To: Struts Users Mailing List
Subject: Validator 1.2.0 RC3 now available for review
Release
Hello,
I have an odd page, which requires some non-normal validation. I would like
to be able to write my own validator, to handle this. I am having trouble
finding examples, references on how to do this.
Does anyone have any links, on how, to, or configure a custom validator for
my project
Jim Reynolds wrote:
Does anyone have any links, on how, to, or configure a custom validator
http://struts.apache.org/struts-doc-1.2.x/userGuide/dev_validator.html
did not help?
Dave
-
To unsubscribe, e-mail: [EMAIL
On 10/31/05, Jim Reynolds [EMAIL PROTECTED] wrote:
Hello,
I have an odd page, which requires some non-normal validation. I would like
to be able to write my own validator, to handle this. I am having trouble
finding examples, references on how to do this.
Does anyone have any links, on how
Using Validator in struts 1.2
Problem:
I have a form that has two rows of data: The first column is a radio
button and its value is either new or old
See mimic form below
So the user must select either the new or existing but not both. No big
deal. Problem is for each row, there are two columns
Jim Reynolds wrote:
Using Validator in struts 1.2
Problem:
I have a form that has two rows of data: The first column is a radio
button and its value is either new or old
See mimic form below
So the user must select either the new or existing but not both. No big
deal. Problem is for each row
On 10/27/05, Laurie Harper [EMAIL PROTECTED] wrote:
There are a couple of validation rules you can look at for this; the
first, and older option, is the 'validif' rule. The more modern option
is the 'validwhen' option. Unfortunately, I can't see where the
validator documentation has moved
: dinsdag 25 oktober 2005 6:37
Aan: user@struts.apache.org
Onderwerp: Validator start immediately when page displays?
When the first time the web page displays,
the validator hightlights fields which are blank.
However submit button is not clicked yet.
Instead of hightlighting errors at the first
When the first time the web page displays,
the validator hightlights fields which are blank.
However submit button is not clicked yet.
Instead of hightlighting errors at the first time of web page displays,
can the errors be shown up after the submit button is clicked?
(My web page has a tile
html:form...
..
...
td
html:text name=Form1 property=name size=40
errorStyleClass=errormessage/
/td
/html:form
Css is working except for this.
When I hit the submit button it just forwards to the different jsp. it
doesn't validate the field which I set to be required. I did make it
Hi,
Is there a way to perform 'requiredif' validation on nested objects ?
I would like to check for the value of an object only if the object
containing
it is not null.
In the following example scenario:
Class A{
String x;
String y;
}
Class Obj{
A sub1;
May be you could use validWhen. I'm not sure if this works, may be you
could give it a try
field property=sub1 depends=validWhen
var
var-nametest/var-name
var-value((*this*==null) or ((*this*!=null) and (sub1.x!=null
)))/var-value
/var
/field
On 10/18/05, Ashutosh Satyam [EMAIL PROTECTED]
Hi All,
Can anyone please help me with the following error message.
I'm using Struts 1.2.7 and commons-validator-1.1.4
I had the validator working previously, but now for some reasons..its not
working..
Please help me in this.
The following is the error message Iam getting.
11:01:12,039 ERROR
Miren,
I have a working example now
this is the validator-rules.xml (nothing changed in fact the normal one
delivered with apache)
!DOCTYPE form-validation PUBLIC
-//Apache Software Foundation//DTD Commons Validator Rules
Configuration 1.1.3//EN
http://jakarta.apache.org
Here is an example of subclassing DynaValidatorActionForm with
validation-rules.xml outlined
Miren-
Great article located here detailing validator-rules.xml identified
validator.xml
which contains field depends clause identifiying the field to validate
good example of inlining JavaScript thru
David G. Friedman on 11/10/05 20:58, wrote:
Wouldn't XDoclet's Struts Validator features work for you
in this regard? It wouldn't be i nthe JSP or at startup
but at build/compile time. See:
http://xdoclet.sourceforge.net/xdoclet/tags/[EMAIL PROTECTED]
David,
that looked tantalising
Hi All,
Iam using struts 1.2.7 and commons validator 1.1.4..
I made the validator working with these, but after a while, its not
validating the jsp form for some reasons..
This following is the error message, I get when I try validating the form.
--
17:00:22,292 ERROR
validator?
I use it within Eclipse v3.1 sometimes.
Regards,
David
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 5:03 PM
To: Struts Users Mailing List
Subject: Re: startup time validator validation?
David G. Friedman on 11/10/05 20:58, wrote
I am trying to figure out if there is a way to have the Validator
framwork verify that the form element names defined in the
validation.xml, are in synch with my ActionForms, but not jst at
runtime. Right now if there is a mismatch, then I get an error in the
form of an error, sometimes obscure
Mick Knutson wrote:
I am trying to figure out if there is a way to have the Validator
framwork verify that the form element names defined in the
validation.xml, are in synch with my ActionForms, but not jst at
runtime. Right now if there is a mismatch, then I get an error in the
form
It could be at build time just fine, but I am using maven.
So how could I integrate this into my build then?
Dave Newton wrote:
Mick Knutson wrote:
I am trying to figure out if there is a way to have the Validator
framwork verify that the form element names defined in the
validation.xml
Mick Knutson wrote:
It could be at build time just fine, but I am using maven.
So how could I integrate this into my build then?
I have no idea :)
In my case, with ant, I was just running an external task. I don't even
remember how I was getting status information back and all that. Just
Wouldn't XDoclet's Struts Validator features work for you
in this regard? It wouldn't be i nthe JSP or at startup
but at build/compile time. See:
http://xdoclet.sourceforge.net/xdoclet/tags/[EMAIL PROTECTED]
evel_Tags
I am trying to figure out if there is a way to have the Validator
framwork
no, because my code is being generated from wsdl2java, and not xdoclet.
David G. Friedman wrote:
Wouldn't XDoclet's Struts Validator features work for you
in this regard? It wouldn't be i nthe JSP or at startup
but at build/compile time. See:
http://xdoclet.sourceforge.net/xdoclet/tags
Using Struts 1.1
Problem:
Problem displaying available choices in Select option list when using
Validator sends me back to my input page.
Details:
I have 2 html select dropdown boxes on my web page. The values that appear
inside come from my database, and are sent to my form inside my form bean
[EMAIL PROTECTED] wrote:
Using Struts 1.1
Problem:
Problem displaying available choices in Select option list when using
Validator sends me back to my input page.
Details:
I have 2 html select dropdown boxes on my web page. The values that appear
inside come from my database, and are sent
I'm using validwhen rule and find great for complex validation
I'm just frustrated on the requirement to use braces to group conditions
by pairs :
I must make a 4 element or validation, each element beeing itself a
and expression.
I'd like to write test = (A and B) or (C and D) or (E and F)
d'origine-
De : Niall Pemberton [mailto:[EMAIL PROTECTED]
Envoyé : 4 octobre 2005 12:28
À : Struts Users Mailing List
Objet : Re: Question about validator and multiple message ressources
OK, you still don't say what version of Struts you're using? I'll assume
Struts 1.2.7
As Martin pointed
Hi,
How can I set different validator resources in struts
action before calling validate(...) method ?
I have got one jsp and one form/ declaration in
validation.xml that are common for 2 types of
customers, abc and xyz.
I have got message resource elements like below:-
message-resources
...
/html:messages
Niall
- Original Message -
From: Ramesh Mohan Reddy [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Wednesday, October 05, 2005 12:39 PM
Subject: How to provide different Validator Resources
Hi,
How can I set different validator resources in struts
action before calling
html:messages bundle=customer.xyz
...
/html:messages
Niall
- Original Message -
From: Ramesh Mohan Reddy [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Wednesday, October 05, 2005 12:39 PM
Subject: How to provide different Validator
Resources
Hi,
How can I
:39 PM
Subject: How to provide different Validator
Resources
Hi,
How can I set different validator resources in
struts
action before calling validate(...) method ?
I have got one jsp and one form/ declaration in
validation.xml that are common for 2 types of
customers
AM
Subject: Question about validator and multiple message ressources
Hi there,
I need to add multiple message ressources to an application and to access
them from a custom validation class created with the validator framework.
I've added the following in struts-config.xml
Well, I've already tried to change the key of my message ressources but it
seems that it doesn't change anything.
Because I add errors from a validator plugin class, which is coded in java
inside my application, I cannot specify the key of my message ressource, like
if I was in the jsp page
What version of Struts are you using? If its Struts 1.2.7, then it is
possible to do this - Commons Validator 1.1.4 had bundle and resource
attributes added which enable you to specify alternate resource bundles. If
you look at Strut's FieldChecks class, which contains all the standard
validators
validation class which posses
it's own message ressources and when I launch a validation, it returns null if
it's valid or throws an exception containing a message key if an error is
encountered. This message key is then added to the validator framework's errors
to display via :
catch
is then added to the validator
framework's errors to display via :
catch (ValidationException exception)
{
errors.add(field.getKey(), new ActionMessage(exception.getMessage()));
}
I can only access one message ressource from my struts-config.xml and it's
either the last one I've defined
The Struts Validator floatRange seems to have roundoff error.
For the validation.xml configuration snippet below, user input of
90.1 fails validation, as expected, but 90.01 does not.
field property=baseLocalities.latitude depends=float,floatRange
var
var-namemin
Michael Vogt wrote:
The Struts Validator floatRange seems to have roundoff error.
For the validation.xml configuration snippet below, user input of
90.1 fails validation, as expected, but 90.01 does not.
field property=baseLocalities.latitude depends=float,floatRange
var
java.math.BigDecimal to represent your values -- though note that
Validator may not support BigDecimal out of the box; you may need to
write custom validation rules for that (I haven't checked so YMMV).
L.
Thanks Laurie.
It makes sense. Initially I was surprised that precision was this low
for a 32
It's a standard build in validation of the validator see
http://struts.apache.org/userGuide/dev_validator.html
Gr,
Bram
I'm looking for a regular expression or something I can plug into Struts
1.2 to validate e-mail addresses off of a DynaForms. Anyone have any
pointers?
Thanks
What is the matter with the Struts Validator? Can't you use it? It's easy.
[EMAIL PROTECTED] escreveu:
I'm looking for a regular expression or something I can plug into Struts
1.2 to validate e-mail addresses off of a DynaForms. Anyone have any
pointers?
Thanks
Wow, even better. Thanks.
It's a standard build in validation of the validator see
http://struts.apache.org/userGuide/dev_validator.html
Gr,
Bram
I'm looking for a regular expression or something I can plug into Struts
1.2 to validate e-mail addresses off of a DynaForms. Anyone have
I'm looking for a regular expression or something I can plug into Struts
1.2 to validate e-mail addresses off of a DynaForms. Anyone have any
pointers?
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I'm looking for a regular expression or something I can plug into Struts
1.2 to validate e-mail addresses off of a DynaForms. Anyone have any
pointers?
Never mind. I found this one on an ASP.Net page:
[EMAIL PROTECTED],3}
it is good enough for my needs.
Have you looked at the validWhen validation that comes with
Validator/Struts? You should be able to get what you need using that,
without having to go to the trouble of writing/maintaining your own
validator.
L.
Ted Chau wrote:
I have a form that I would like to validate. The rule is simple
Hi there,
Where can I specify what locale should Validator use? I have problems with
float numbers which in Poland are represented as ##,## while Validator float
rule is complaining about ##.## format...
I have session scope LOCALE set by request filter to pl_PL already but it
doesn't help
The latest stable Struts, 1.2.7, doesn't support locale-specific numeric
validations. This feature, having been added to Commons Validator 1.2.0,
will be available in Struts 1.3 and is currently available in the source
code repository and probably nightlies.
Don
On 9/20/05, Wojciech
Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: 19 September 2005 06:51
To: 'Struts Users Mailing List'
Subject: RE: Validator woes, modifying the input forward on the fly?
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Sunday
Hi I have a situation like this:
User clicks on /viewUser.do?id=4 action, which loads the specific user
with
id4 to be viewed.
On that page is a form, the form is submitted, if some part of the xml
validation fails I need to return back to /viewUser.do?id=4. It would be
ideal if the
To: Struts Users Mailing List
Subject: RE: Validator woes, modifying the input forward on the fly?
Hi David,
One way to get around the problem would be to store the form bean in the
session, or at least the id, and it will exist between requests. You'll
just need to make sure your
-Original Message-
From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
Sent: Monday, September 19, 2005 4:03 AM
To: 'Struts Users Mailing List'
Subject: RE: Validator woes, modifying the input forward on the fly?
Hi I have a situation like this:
User clicks on /viewUser.do?id=4
On 9/19/05, David Erickson [EMAIL PROTECTED] wrote:
-Original Message-
From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
Use ActionRedirect class in your STRUTS Action's execute:
ActionRedirect ar = new
ActionRedirect(mapping.findForward(myRedirectForward);
On 9/19/05, David Erickson [EMAIL PROTECTED] wrote:
-Original Message-
From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
Use ActionRedirect class in your STRUTS Action's execute:
ActionRedirect ar = new
ActionRedirect(mapping.findForward(myRedirectForward);
Does anyone know if StrutsTestCase works with the Struts Validator? ie.
If I make a test case and set up the request parameters for a FormBean,
will the FormBean be validated using the Validator Configuration in my
struts-config.xml file.
Thanks,
Richard
Hi I have a situation like this:
User clicks on /viewUser.do?id=4 action, which loads the specific user with
id4 to be viewed.
On that page is a form, the form is submitted, if some part of the xml
validation fails I need to return back to /viewUser.do?id=4. It would be
ideal if the information
David Erickson wrote:
Hi I have a situation like this:
User clicks on /viewUser.do?id=4 action, which loads the specific user with
id4 to be viewed.
On that page is a form, the form is submitted, if some part of the xml
validation fails I need to return back to /viewUser.do?id=4. It would be
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Sunday, September 18, 2005 7:26 PM
To: user@struts.apache.org
Subject: Re: Validator woes, modifying the input forward on the fly?
David Erickson wrote:
Hi I have a situation like
List
Subject: RE: Struts Validator Framework
Hi Hubert,
Thanks for your response. It worked the way you told by using dot delimiters
to point
out the nested object. On the same lines, I have one more question. How do I
validate an array of objects. This is my class strucutre
Hello,
No matter what I type into my creditCard field the creditCard validator
check allways comes back with the message Card Number is not a valid credit
card number. If I substitute the 'creditCard' check to a 'long' check then
I can pass validation by placing a 16 digit long number. Come
(1) Could I add extra message to html:errors property=username
header=empty/ in addition to empty message?
Does html:errors only capture ActionErrors, not ActionMessages?
(2) I have fixed it by modifying validation.xml.
Thank
2005/8/25, 梁炳場 [EMAIL PROTECTED]:
Struts 1.2.7
(1)
The
I cannot get my struts application to work with the Validator plugin. Can
someone please review my code below to see if I'm doing something wrong. I
have omitted the LoginForm class
The only formset in validation.xml...
formset
form name=LoginForm
field property
Hi guys!
I have a sample-application I've build together from couple of
tutorials. It have HibernateStruts and works (fine) using Titles.
My problem:
* When I try to plug-in the Validator and change the parent of my forms
* from ActionForm to ValidatorForm or ValidatorActionForm
Whoa. Hate is a strong word. Maybe Validator just dislikes
ActionDispatcher? :)
I'm having trouble making the connection between a change in form to
ActionDispatcher not working. Then again maybe it's just me. Can you
provide more info? Like, what flavor of ActionDispatcher are you
using
DispatchAction {...} in
my Action-Classes and ActionForwards in it to do my persistant stuff and
then forward to specific JSP. Without validator it works fine.
What's your validation look like?
Basic stuff, I just checking if the Autor.name is not shorter then 3
symbols and is not empty... (seems
to specific JSP. Without validator it works fine.
What's your validation look like?
Basic stuff, I just checking if the Autor.name is not shorter then 3
symbols and is not empty... (seems to work fine standing alone).
What are your form values?
Nothing specific... seems to work without big
(Validator.java:367)
Could you tell me where am I doing wrong.
Regards,
Ashutosh
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Thu 8/25/2005 1:36 AM
To: Struts Users Mailing List
Cc:
Subject: Re: Struts Validator
Hi,
I am using the Struts Validator(Commons Validator) outside the Struts
framework, to do validation.
I would like to know how to validate an object when it has objects nested
within it, and I need to
validate the fields in those nested objects, too.
Precisely I intend to achieve
I've never used Validator outside of Struts, but I do know I've
successfully referenced nested elements while validating, by using dot
notation. In your case, you can refer to fields a, b, obj.i,
obj.j, obj.obj.k.
Hubert
On 8/24/05, Ashutosh Satyam [EMAIL PROTECTED] wrote:
Hi,
I am using
Struts 1.2.7
(1)
The following tag can test the emptiness of the field.
html:errors property=username header=empty/
If I want to display a specific message when it is not empty
and display error message when it is empty,
what should be done in header=??? or something else
(2)
I have a message
If inherited some code. I'm not sure what its trying to tell me. The
user is simpley forwarded on to the next page and there is no
indication of a problem other than this logged exception.
[11 Aug 2005 13:38:42,886] [org.apache.struts.validator.ValidatorForm]
[ERROR] validateRequired
Hi all,
I'm curious ... shouldn't it be possible to override the
default error message assigned to a validator rule ?
Here's the example:
validator.xml
[...]
field depends=validwhen property=salutation
msg name=testmsg key=error.saluation.makechoice/
arg key=label.salutation
:23 PM
To: 'Struts Users Mailing List'
Subject: Validator...the 1001st question...
Hi all,
I'm curious ... shouldn't it be possible to override the default error
message assigned to a validator rule ?
Here's the example:
validator.xml
[...]
field depends=validwhen property=salutation
msg
default error message ;)
Stopped scratching his head
albi
-Original Message-
From: Albrecht Leiprecht [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 10, 2005 9:23 PM
To: 'Struts Users Mailing List'
Subject: Validator...the 1001st question...
Hi all,
I'm curious ... shouldn't
1001 - 1100 of 1759 matches
Mail list logo