Fantastic thanks, I knew I was going in the wrong direction.
Regards,
-Corey
On Mon, 22 Nov 2004 16:51:56 +0200, Radu Badita <[EMAIL PROTECTED]> wrote:
> I think the problem might be that you don't get the right
> MessageResources. Here is what Struts API says about
> public MessageResources
I think the problem might be that you don't get the right
MessageResources. Here is what Struts API says about
public MessageResources getInternal() : "Return the MessageResources
instance containing our internal message strings."
You should use:
MessageResources resources = request.getSession().g
Sorry, I have been having huge troubles with my email lately.
I am using Struts 1.2.4, is this wrong?
Thanks again,
Corey
On Sun, 21 Nov 2004 23:18:44 -0500, David G. Friedman
<[EMAIL PROTECTED]> wrote:
> Corey,
>
> We get it that you're resending it! Now, on to helping mode...
>
> What vers
Corey,
We get it that you're resending it! Now, on to helping mode...
What version of Struts are you using?
-Original Message-
From: Corey Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 12:37 PM
To: [EMAIL PROTECTED]
Subject: [Validation] and local string insertion
This has already been raised as an issue in the following bugzilla ticket:
http://issues.apache.org/bugzilla/show_bug.cgi?id=21760
Currently the bundle attribute on both the Arg and Msg elements in the
validator dtd are ignored, as well as the "resource" property on the Msg
element. The reason fo
You can turn off declaritve validation. Then put the validation in your
Action.execute and do whatever you want:
ActionMessages am = form.validate( mapping, request );
if( am.size() != 0 ){
-Ben
Quoting Tate Austin <[EMAIL PROTECTED]>:
> I have a page in which I would like to di
Anuraag Shinde.
Programmer Analyst
Syntelinc Pune.
- Original Message -
From: "Marco Mistroni" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: Validation
Date: Tue, 19 Oct 2004 10:25:44 +0100
>
> Hel
Hello,
Have you defined any action forwards?
Maybe problem is not validation
Regards
marco
-Original Message-
From: Ankur Gupta [mailto:[EMAIL PROTECTED]
Sent: 18 October 2004 19:18
To: 'Struts Users Mailing List'
Subject: Validation
Hello,
I have setup validation
turn null;
> } else {
> return super.validate(actionMapping, httpServletRequest);
> }
> }
>
>
>
> - Original Message -
> From: "Joe Hertz" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROT
, httpServletRequest);
}
}
- Original Message -
From: "Joe Hertz" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, October 19, 2004 11:43 AM
Subject: RE: validation question
> > Joe, do u mean checking the
> Joe, do u mean checking the field with "validwhen" using
> validation.xml or
> implement the actionForm.validate() ?
> I really want to use the basic struts validation framework instead of
> implementing validate() function to minimize the maintainence cost.
You can do it both ways.
Use valida
for your answer!! that means I've no other choices apart from
changing my program
- Original Message -
From: "Eddie Bush" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 19, 2004 10:53 AM
Subject: Re:
Nice trick, Joe - hadn't thought of doing that :-)
- Original Message -
From: "Joe Germuska" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, October 18, 2004 9:40 PM
Subject: Re: validation question
At 10:28 AM
- Original Message -
From: "Justy Wong" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, October 18, 2004 9:28 PM
Subject: Re: validation question
Thx for your suggestions.
1) 2 action mappings -- 1 with validation tu
At 10:28 AM +0800 10/19/04, Justy Wong wrote:
Thx for your suggestions.
1) 2 action mappings -- 1 with validation turned off (welcome.do) and 1
with it on (login.do).
that means for every action, I've to create 1 more action. but it will
almost double the maintainence affort.
In practice, it's rar
uot;Durham David R Jr Contr 805 CSPTS/SCE" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 19, 2004 1:23 AM
Subject: RE: validation question
> > The validation works fine however, when I just type the
> http://l
Hello Ankur,
I think u are getting the error page only because u did not define the
output page. ie in
Hope it helps u .
Regards :)
Krishna
- Original Message -
From: "Ankur Gupta" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'
> The validation works fine however, when I just type the
http://localhost:8080/login.do
> in my browser (no submit), the validation error will show up at once.
> I understand that it's just like I submit a form to login.do action
without any
> parameter. My question is, do struts provide any sim
Hi,
Struts doesn't have anything like that.
IMHO, I also think that using validator on the login page is not good
practice as it would give malicious users a good idea on how your app
handles authentication.
Usually, you'd just return a generic error message such as
"Username/password invalid" w
One more: you need something like this in your ApplicationResources:
errors.required={0} is required.
In article <[EMAIL PROTECTED]>,
Caroline Jen <[EMAIL PROTECTED]> wrote:
> To add to the list:
>
> 5. the validator-rules.xml and validation.xml must be
> in the AppName/WEB-INF directory.
>
leaving out?
>
> Erik
>
>
>
> Priya Jotwani wrote:
>
> >Yes I have set the validate= "true" in and the
> field names are same too
> >:(
> >
> >-Original Message-
> >From: Erik Weber [mailto:[EMAIL PROTECTED]
> >Sent: Tuesday,
your form-bean declarations)
What else am I leaving out?
Erik
Priya Jotwani wrote:
Yes I have set the validate= "true" in and the field names are same too
:(
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 11:32 PM
To: Priya
In your JSP, where are your selects? Are you using html:select tags to
produce them?
Erik
Priya Jotwani wrote:
Hi ,
I have a JSP Page where I have two dropdowns displaying default values.
Before submitting that page, the user should select something from these
two dropdowns and if he doesn't sel
, 2004 3:26 PM
To: [EMAIL PROTECTED]
Subject: Re: validation - mask help
Peng, Meimin wrote:
> Thanks.
>
> I just make it work by doing this.
>
> ^[0-9a-zA-Z-\-]*$
>
> I couldn't find info on any strut books. But, here is the original
> validation package. Cheers!
>
>
Peng, Meimin wrote:
Thanks.
I just make it work by doing this.
^[0-9a-zA-Z-\-]*$
I couldn't find info on any strut books. But, here is the original
validation package. Cheers!
http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html
That will allow any number of '-' signs to be valid:
'--
D] On Behalf Of Jeff Beal
Sent: Friday, October 01, 2004 1:25 PM
To: [EMAIL PROTECTED]
Subject: Re: validation - mask help
Peng, Meimin wrote:
> Hi,
> Please help.
> I want to use strut's validation to validate a form field called number.
> This field allows to input text, numbe
Peng, Meimin wrote:
Hi,
Please help.
I want to use strut's validation to validate a form field called number.
This field allows to input text, number and -.
The code bellows right now is only to validate text and number without
space.
How can I make it work with '-'?
Thanks.
Yeah. I know.
But, I can't do anything about it.
It attaches to all my outgoing emails automatically.
-Original Message-
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Sent: Friday, October 01, 2004 12:54 PM
To: Struts Users Mailing List
Subject: OT - RE: validation - mask
> CONFIDENTIALITY NOTICE: The information in this e-mail is privileged
and
> confidential. Any use, copying or dissemination of any portion of
this
> e-mail by or to anyone other than the intended recipient(s) is
> unauthorized.
> If you have received this e-mail in error, please reply to sender
No, you don't need to duplicate the entire validation set for the form
in the localised formset -- however, I am not sure what the problem --
the error is being thrown by the tag -- why don't you
try removing this tag (thereby, just using server-side validation) and
see your validations work c
--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, September 20, 2004 5:42 PM
Subject: Re: Validation p
Brian,
To answer your question:
> Both the client-side and the server-side validation
> are executing instead of just the client-side.
Set your action in struts-config.xml to validate="false".
Your html:javascript will still work for the client-side
validation but NOTHING will be done on the ser
I could be wrong, and i don't have the time to verify this with code
right now, but it's possible that the reason the form still gets
submitted is because you're calling form.submit() directly. That
might be bypassing the onsubmit="return validateMyForm(this)". You
*do* have that, right? I don't
If I'm understanding your scenario correctly your onclick needs to call a
function that will call the submit() on the form only if the validation
passes.
"Barnett, Brian W." <[EMAIL PROTECTED]> wrote on 09/20/2004 04:51:55
PM:
> Both the client-side and the server-side validation are executi
In your ActionForm, add the validation to the validate method.
For example, you would have something like this:
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
ActionErrors errors = new ActionErrors();
if ((person == null) || (person.le
Priya,
Use the "required" validator rule and be sure to use the html:javascript tag
in your JSP to have the client-side Javascript embedded in the page given
out to the user. See the first validator, "required", at the below URL:
http://struts.apache.org/userGuide/dev_validator.html#builtin
Rega
o.uk/#validateextends
Niall
- Original Message -
From: "Hubert Rabago" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 14, 2004 8:11 PM
Subject: Re: Validation for Two Levels of Indexed Properties
Well, it's
L PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 14, 2004 8:11 PM
Subject: Re: Validation for Two Levels of Indexed Properties
> Well, it's good to know you already have a solution working.
>
> Just fyi, my guess on th
I may be assuming too much, but you didn't give me any of your xml files
to look at so this is the best I can do. One thing you might be doing
wrong is in your struts-config. You need to make sure that your input
parameter in your action mapping points to the tiles definition for you
page, and no
Divya,
if your problem is just to display an error message box instead of the
message. use the tag inside validator-rules.xml for your
validation and map it with appropriate message key that you want to
display. :)
Jitender Kumar C.V.
: Jitender K Chukkavenkata [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 15, 2004 6:40 PM
To: Struts Users Mailing List
Subject: RE: Validation in struts
Hi Divya,
I think you need to extend your form class with
org.apache.struts.validator.action.ValidatorForm or ValidatorActionFrom
Hi Divya,
I think you need to extend your form class with
org.apache.struts.validator.action.ValidatorForm or ValidatorActionFrom
instead of org.apache.struts.action.ActionForm.
have u done it?
Regards,
Jitender.
o point to
validate(this)
Is there something else that I am missing ?
Thanks,
Divya.
-Original Message-
From: Jitender K Chukkavenkata [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 15, 2004 9:51 AM
To: Struts Users Mailing List
Subject: Re: Validation in struts
U can use struts v
hi Divya,
For doing clinet side validation you will have to configure
validation framework and write
ur own custom validation in that xml file or use the basic validation
provided by that framework. In the jsp page
you will have to put one struts javascipt tag. This tag will actua
Subject: Re: Validation in struts
> It is said that the validation(client side validations like say a
> particular textbox field can contain numbers only etc) should not be
> explicitly written in client-side validation javascripts in a struts
> framework. How can such things be
> It is said that the validation(client side validations like say a particular
> textbox field can contain numbers only etc) should not be explicitly written
> in client-side validation javascripts in a struts framework. How can such
> things be accomplished using struts without writing specific cl
U can use struts validations framework as well go thru struts
validation framework..
Jitender Kumar C.V.
IBM Global Services India (Pvt.) Ltd.,
Embassy Golf Links Business Park, Block C,
Bangalore - 560 071.
Phone : + 91 (80) 51056320
Mobile: + 91 9886219429
Location : EGC-3*-058.
Matt,
In my case, it wouldn't be very useful to provide the source code for my
workaround as it would require too much background information.
However, here is a summary of what I did to validate my second level of
nested properties...
First, I use the Validator to validate as much of the form
Unfortunatley not, because my workaround was to re-work the class so it
wasn't necessary. The user interface for that area became a little bit
"clunkier" but it was the quickest thing to do at the time.
Matt
Terry Roe wrote:
Matt,
Thank you for your comments. Could you point me to where you po
Matt,
Thank you for your comments. Could you point me to where you posted
your workaround for nested validation?
Thanks,
TR
Matt Bathje wrote:
Might I suggest (to everybody, not just Terry) that when you come up
with a solution to these or other things, you either put it into the
struts wiki (
Might I suggest (to everybody, not just Terry) that when you come up
with a solution to these or other things, you either put it into the
struts wiki (http://wiki.apache.org/struts) Or do it in a generic enough
manner that you can put in a bugzilla report with the new code, and it
could be adde
ace that I thought would be of some
help and have received no response. Could someone please tell me where
to go (and, yes, you may say GTH if that is the correct answer) to find
answers to questions on Struts functionality and usage?
Thanks,
TR
Terry Roe wrote:
Re: Validation for Two Levels of Ind
searched and searched for information on the issue below and have
come up empty. I came to the one place that I thought would be of
some
help and have received no response. Could someone please tell me
where
to go (and, yes, you may say GTH if that is the correct answer) to
find
answers to q
no one
addresses
> >>"tough" ones like the one below. Maybe it's too much effort, or maybe
> >>I've breached protocol somehow in the way I've asked for help. It
would
> >>be nice to at least get a response to an issue that is directly
related
>
e
> >>I've breached protocol somehow in the way I've asked for help. It would
> >>be nice to at least get a response to an issue that is directly related
> >>to the topic of this mailing list.
> >>
> >>I don't mean to be rude, and I hop
issue below and have
come up empty. I came to the one place that I thought would be of some
help and have received no response. Could someone please tell me where
to go (and, yes, you may say GTH if that is the correct answer) to find
answers to questions on Struts functionality and usage?
Th
hed for information on the issue below and have
> come up empty. I came to the one place that I thought would be of some
> help and have received no response. Could someone please tell me where
> to go (and, yes, you may say GTH if that is the correct answer) to find
> answers to questi
OK, I unfortunatley won't be very much help then. If I had to guess I
would say that this is not supported, but maybe somebody else will chime in.
Sorry for the lack of help.
Matt
Terry Roe wrote:
Matt,
I have several nested levels of properties on one page. First level is
"plan" which has some
Matt,
I have several nested levels of properties on one page. First level is
"plan" which has some general information and also contains a collection
of "phase" properties called phaseList. Each "phase" has some
information associated with it, as well as containing a collection of
"procedure"
Terry - maybe I'm a dope...but can you define what you mean by multiple
level? I at first though you meant the validations such as
(required,intRange) but looking at it, I think I may be wrong and it
means something else.
A better definition of what phaseList and procedureList are, and how
the
vid G. Friedman" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: Validation error,
Date: Sat, 11 Sep 2004 17:14:06 -0400
Ruben,
Please include the full error
Ruben,
Please include the full error.
Regards,
David
-Original Message-
From: Ruben Cepeda [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 11, 2004 4:46 PM
To: [EMAIL PROTECTED]
Subject: Validation error,
Hey Guys,
I get the following error when tring to use the struts-validator.
Matt Bathje <[EMAIL PROTECTED]> wrote on 09/10/2004 12:27:10 PM:
> [EMAIL PROTECTED] wrote:
>
> >
> >
> >
> > I pulled this old thread off the archives in order to give context to
a
> > couple of questions
> >
> >
> >
> >>And if you want to do a javascript validation on it as well, don'
[EMAIL PROTECTED] wrote:
I pulled this old thread off the archives in order to give context to a
couple of questions
And if you want to do a javascript validation on it as well, don't forget
to set the attribute to be regexp in the validation.xml.
Is this a valid tag? I don't see any refe
I pulled this old thread off the archives in order to give context to a
couple of questions
>And if you want to do a javascript validation on it as well, don't forget
to
>set the attribute to be regexp in the validation.xml.
Is this a valid tag? I don't see any reference to it in the
-Original Message-
From: Betty Koon [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:37 PM
To: [EMAIL PROTECTED]
Subject: validation error (struts 1.2.3)
Anyone has idea on this error?
I upgraded to 1.2.3 just now from 1.2.1
-Betty
*
Solved my own problem. Just for those that do not know ...
Since mask is based on regular expressions, you can use:
$[\x21-\x7E\xA0-\xFF]*
to match characters 32-126 and 160-255 of a character set.
-- James
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL
Not sure, but if you run out of time, write your own pluggable validator
for those fields. See the Struts docs, or the example on Matt Raible's
site for a "twofields" pluggable validator. It's easy.
Erik
Brown, James wrote:
We are in a bind so I reposting under a different topic. Sorry, but ...
Subject
Please respond to Re: Validation plug-in & Websphere
"Struts Users Studio 5.0.1
Mailing List"
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 18, 2004 1:28 PM
> To: Struts Users Mailing List
> Subject: RE: Validation plug-in & Websphere Studio 5.0.1
>
>
>
>
>
>
> >>OH that'
08/18/2004 03:14 <[EMAIL PROTECTED]>
PM cc
Subject
Please respond to RE: V
> 08/18/2004 02:54 <[EMAIL PROTECTED]>
>
>
> PM cc
>
> Subject
> Please respond to RE: Validation plug-in & Webs
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 18, 2004 12:06 PM
> To: Struts Users Mailing List
> Subject: RE: Validation plug-in & Websphere Studio 5.0.1
>
>
>
>
>
>
> My bad.
>
&g
cc
Subject
Please respond to RE: Validation plug-in & Websphere
"Struts Users Studio 5.0.1
Mailing List"
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 18, 2004 11:38 AM
> To: Struts Users Mailing List
> Subject: RE: Validation plug-in & Websphere Studio 5.0.1
bunch of code
> if(physicalAudit == true){
Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 2004 1:55 PM
Subject: RE: Validation plug-in & Websphere Studio 5.0.1
Validator sucks. Learn to live without it - use forms validation.
Mark
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PR
]>
PM cc
Subject
Please respond to RE: Validation plug-in & Websphere
To unsubscribe, e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: Jones, Demian [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 18, 2004 2:13 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Validation plug-in & Websphere Studio 5.0.1
>
&
PLEASE TAKE ME OFF THIS MAILING
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 1:49 PM
To: [EMAIL PROTECTED]
Subject: Validation plug-in & Websphere Studio 5.0.1
I'm new to Struts and couldn't find anything about this on the arch
PLEASE TAKE ME OFF THIS MAILING
-Original Message-
From: Galbreath, Mark A [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 1:55 PM
To: 'Struts Users Mailing List'
Subject: RE: Validation plug-in & Websphere Studio 5.0.1
Validator sucks. Learn to live without
PLEASE TAKE ME OFF THIS MAILING
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 1:59 PM
To: Struts Users Mailing List
Subject: RE: Validation plug-in & Websphere Studio 5.0.1
> -Original Message-
> From: [EMAIL PROTECTE
PLEASE TAKE ME OFF THIS MAILING
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 1:59 PM
To: Struts Users Mailing List
Subject: Re: Validation plug-in & Websphere Studio 5.0.1
I thought we got rid of you!!!;)
--
James Mitc
PLEASE TAKE ME OFF THIS MAILING
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 1:59 PM
To: Struts Users Mailing List
Subject: Re: Validation plug-in & Websphere Studio 5.0.1
I thought we got rid of you!!!;)
--
James Mitc
PLEASE TAKE ME OFF THIS MAILING
-Original Message-
From: Galbreath, Mark A [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 2:06 PM
To: 'Struts Users Mailing List'
Subject: RE: Validation plug-in & Websphere Studio 5.0.1
I went to JavaOne and Craig told me
I went to JavaOne and Craig told me how much I was missed ;-)
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 2:00 PM
I thought we got rid of you!!!;)
-
To uns
AIL PROTECTED]>
Sent: Wednesday, August 18, 2004 1:55 PM
Subject: RE: Validation plug-in & Websphere Studio 5.0.1
> Validator sucks. Learn to live without it - use forms validation.
>
> Mark
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 18, 2004 10:49 AM
> To: [EMAIL PROTECTED]
> Subject: Validation plug-in & Websphere Studio 5.0.1
>
>
>
>
>
>
> I'm new to Struts and couldn't find anything about this on
> the archive
Validator sucks. Learn to live without it - use forms validation.
Mark
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 1:49 PM
I'm developing a Struts 1.1 web app and trying to implement the validation
plug-in. Things went well as l
Sorry guys. I figured it out. It helps extending ValidatorForm. Doh. ;)
Anders,
Quoting "Anders R. Sveen" <[EMAIL PROTECTED]>:
> I've got a formbean and a action that is working, but I can't apply
> validation.
> (config below) Through my debugger I can see that the validate() method is
> called
Correction:
...
...
-Oorspronkelijk bericht-
Van: Kris Barnhoorn [mailto:[EMAIL PROTECTED]
Verzonden: maandag 2 augustus 2004 22:42
Aan: 'Struts Users Mailing List'
Onderwerp: RE: Validation question. Disallow < > characters using regex
mask
Had the same p
Had the same problem
Solution:
...
...
kris
-Oorspronkelijk bericht-
Van: Eric Dahnke [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 18 mei 2004 20:24
Aan: Struts Users Mailing List
Onderwerp: Validation question. Disallow < > characters using regex mask
Hello List,
Validation works
I get my problem solved as well by using the nightly build and ensuring
that I specified ActionMessages in the methodParams in the
validator-rules.xml.
Thanks Niall -- as we say in the States -- you da man!
Niall Pemberton wrote:
The method signatures in FieldChecks changed from using ActionErro
New it had to be something simple like that!
Everything works now thanks!
On Jul 27, 2004, at 1:34 PM, Niall Pemberton wrote:
The method signatures in FieldChecks changed from using ActionErrors to
ActionMessages. Your error seems to indicate that its trying to use
the old
method signature with A
The method signatures in FieldChecks changed from using ActionErrors to
ActionMessages. Your error seems to indicate that its trying to use the old
method signature with ActionErrors.
Have you updated the version of validation-rules.xml you are using?
Also there has been a change to the dtd decla
I have encountered (but not yet solved) a similar problem. I am trying
to use a custom validation rule (Matt Raible's TwoFields check) and am
getting the same error :(
I think its jar related -- let me know if you are able to resolve the
issue -- I will do the same.
Nathan Maves wrote:
I have
Wow. That looks promising.
Thank you again for all of your help.
Robert
>>> [EMAIL PROTECTED] 7/26/2004 12:59:21 PM >>>
> -Original Message-
> From: Robert Miller [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 10:50 AM
> To: [EMAIL PROTECTED]
>
> -Original Message-
> From: Robert Miller [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 10:50 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Validation prevents Action from creating session
> scopeobject
>
>
> Thanks for the information.
>
&
Thanks for the information.
I have been trying to keep my validation in one place
(validation.xml).
Is it possible to have a page that validates through XML be entered
(and initialized) through an Action?
And if so how?
Thanks,
Robert
>>> [EMAIL PROTECTED] 7/26/2004 12:43:17 PM >>>
> -Or
> -Original Message-
> From: Robert Miller [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 26, 2004 10:36 AM
> To: [EMAIL PROTECTED]
> Subject: Validation prevents Action from creating session scope object
>
>
> The browser displays "Error 500: Cannot find bean list
> in any scope". It
y, July 15, 2004 3:14 PM
Subject: Re: validation wierdness possibly related to multiple struts config
files
> h ... if i put that in mine I get a file not found exception the
> commons-validator jar doesn't include that one.
> with this definition it seems
801 - 900 of 948 matches
Mail list logo