Re: Validation Help

2012-06-22 Thread Paul Mefford
lukasz.lenart, Thanks for your response. I am using Struts 2.1.8, Java 1.6 and tomcat 7. On Mon, Jun 18, 2012 at 12:02 AM, Łukasz Lenart < lukasz.len...@googlemail.com> wrote: > 2012/6/17 Paul Mefford : > > Can anyone give me some advice on how to fix the .xml loader so it finds > a > > xml fil

Re: Validation Help

2012-06-17 Thread Łukasz Lenart
2012/6/17 Paul Mefford : > Can anyone give me some advice on how to fix the .xml loader so it finds a > xml file using the wildcard in sturts.xml?  Or has anyone done this a > different way with validation? Struts 2 version ? App Sever ? You can implement your own logic how to handle validation u

struts2 validation help please

2009-02-17 Thread PEGASUS84
. -- View this message in context: http://www.nabble.com/struts2-validation-help-please-tp22068361p22068361.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts

Re: Validation Help?

2008-10-15 Thread Dave Newton
Don't mistake my curtness for disgust ;) --- On Wed, 10/15/08, David C. Hicks wrote: > If by "zero-config" you're referring to our network, that would be > No. We're on a fairly standard DHCP/DNS local network here > at the office. If you mean something else, then I'm afraid I'm > blonde again.

Re: Validation Help?

2008-10-15 Thread David C. Hicks
Hey Dave, Sorry - I didn't mean to be deliberately vague. I'm kind of stumbling through this to help the team. The real Struts "genius" of the bunch is wrapped up with other problems. I was just trying to help. If by "zero-config" you're referring to our network, that would be No. We're

Re: Validation Help?

2008-10-15 Thread Dave Newton
--- On Wed, 10/15/08, David C. Hicks wrote: > We are using the "simple" theme primarily, but even if the page won't > report errors shouldn't the action fail if it is validating and I give > it bad data on purpose? Yes, but you never actually said specifically what was or wasn't happening, so I

Re: Validation Help?

2008-10-15 Thread David C. Hicks
We are using the "simple" theme primarily, but even if the page won't report errors shouldn't the action fail if it is validating and I give it bad data on purpose? We believe it's simply not executing the validation. Our main layout has a tag that should get any reported validation, though. W

Re: Validation Help?

2008-10-15 Thread Dave Newton
[EMAIL PROTECTED]> > Subject: Re: Validation Help? > To: "Struts Users Mailing List" > Date: Wednesday, October 15, 2008, 5:42 PM > We are not overriding the validate() method of > ActionSupport. I > double-checked to be sure of that. > > CustomerController (is

Re: Validation Help?

2008-10-15 Thread David C. Hicks
Oh geez. All of the indentation got waxed when I sent this. Sorry about that. It looked a lot neater when I composed it. David C. Hicks wrote: We are not overriding the validate() method of ActionSupport. I double-checked to be sure of that. CustomerController (is an extension of a couple of

Re: Validation Help?

2008-10-15 Thread David C. Hicks
We are not overriding the validate() method of ActionSupport. I double-checked to be sure of that. CustomerController (is an extension of a couple of base classes but eventually extends ActionSupport): public class CustomerController extends AbstractCrudController { private static final long s

Re: Validation Help?

2008-10-15 Thread Dave Newton
--- On Wed, 10/15/08, David C. Hicks wrote: > I can't really tell if validation is even being called. > If by "is workflow" you mean is it in the interceptor stack, > Yes. It is in the stack immediately following validation. > > I'll be happy to provide whatever information you need. > I would be

Re: Validation Help?

2008-10-15 Thread David C. Hicks
I can't really tell if validation is even being called. If by "is workflow" you mean is it in the interceptor stack, Yes. It is in the stack immediately following validation. I'll be happy to provide whatever information you need. I would be considered a "newbie". So, I'm not really sure what

Re: Validation Help?

2008-10-15 Thread Dave Newton
--- On Wed, 10/15/08, David C. Hicks wrote: > [...] Validation is on my interceptor stack. Is "workflow"? Do you know that *validation* doesn't occur, or that it just doesn't return to input on validation errors? Without any further information it'll be tough to help. Dave ---

Validation Help?

2008-10-15 Thread David C. Hicks
I'm sure I've just got some little something not set up right or out of place, but I can't seem to get validation working. I have a class com.allureglobal.harvey.controller.CustomerController that extends ActionSupport. There is a corresponding CustomerController-validation.xml file located i

Re: validation help

2007-02-09 Thread Niall Pemberton
y-To: "Struts Users Mailing List" > >To: user@struts.apache.org > >Subject: validation help > >Date: Thu, 08 Feb 2007 10:01:01 -0500 > > > > > > > >Have 2 radio buttons of ID and Name and an input field to enter criteria. > > > > > >

Re: validation help

2007-02-09 Thread Jim Reynolds
>From: "fea jabi" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" >To: user@struts.apache.org >Subject: validation help >Date: Thu, 08 Feb 2007 10:01:01 -0500 > > > >Have 2 radio buttons of ID and Name and an input field to enter criter

RE: validation help

2007-02-09 Thread fea jabi
can someone help me with this please. thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: validation help Date: Thu, 08 Feb 2007 10:01:01 -0500 Have 2 radio buttons of ID and Name and an inp

validation help

2007-02-08 Thread fea jabi
Have 2 radio buttons of ID and Name and an input field to enter criteria. When the ID is selected the criteria the user entered should be numeric. Should display the user with the appropriate message that only int value is allowed. When the Name is selected the criteria the user entered shoul

RE: Validation help: One struts form, multiple actions

2006-05-08 Thread Paul Benedict
Harsh. > > -Original Message- > From: Paul Benedict [mailto:[EMAIL PROTECTED] > Sent: Monday, May 08, 2006 5:27 PM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: Validation help: One struts form, multiple actions > > > Chaudhary, > > You

RE: Validation help: One struts form, multiple actions

2006-05-08 Thread Chaudhary, Harsh
From: Paul Benedict [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 5:27 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Validation help: One struts form, multiple actions Chaudhary, You need a custom validation key for each step in the process. Override the form's valida

Re: Validation help: One struts form, multiple actions

2006-05-08 Thread Paul Benedict
hat I think about it, my question is just this: > > Is there a way to selectively validate fields in a struts form? > > Harsh. > > -Original Message- > From: Quinn Stone [mailto:[EMAIL PROTECTED] > Sent: Monday, May 08, 2006 4:03 PM > To: 'Struts Users Maili

Re: Validation help: One struts form, multiple actions

2006-05-08 Thread Dave Newton
Chaudhary, Harsh wrote: > Now that I think about it, my question is just this: > > Is there a way to selectively validate fields in a struts form? > Yes, only put the fields you want into the validation rule. >>> >>> >>> >>> >>> >>> >>> >>>

Validation help: One struts form, multiple actions

2006-05-08 Thread Chaudhary, Harsh
Now that I think about it, my question is just this: Is there a way to selectively validate fields in a struts form? Harsh. -Original Message- From: Quinn Stone [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 4:03 PM To: 'Struts Users Mailing List' Subject: RE: Valid

RE: Validation help: One struts form, multiple actions

2006-05-08 Thread Chaudhary, Harsh
ere a way in struts to partially validate the fields of a struts form? I hope I was clear in my explanation. Harsh. -Original Message- From: Quinn Stone [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 4:03 PM To: 'Struts Users Mailing List' Subject: RE: Validation help:

RE: Validation help: One struts form, multiple actions

2006-05-08 Thread Quinn Stone
My bad. Missed that. How is it blowing out? Q > -Original Message- > From: Chaudhary, Harsh [mailto:[EMAIL PROTECTED] > Sent: Monday, May 08, 2006 1:27 PM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: RE: Validation help: One struts form, multiple ac

RE: Validation help: One struts form, multiple actions

2006-05-08 Thread Chaudhary, Harsh
3:26 PM To: 'Struts Users Mailing List' Subject: RE: Validation help: One struts form, multiple actions Your form name in validation.xml should be "InputDataForm" (no leading slash), not "/ClientA". > -Original Message- > From: Chaudhary, Harsh [mail

RE: Validation help: One struts form, multiple actions

2006-05-08 Thread Quinn Stone
Your form name in validation.xml should be "InputDataForm" (no leading slash), not "/ClientA". > -Original Message- > From: Chaudhary, Harsh [mailto:[EMAIL PROTECTED] > Sent: Monday, May 08, 2006 1:16 PM > To: Struts Users Mailing List > Subjec

Validation help: One struts form, multiple actions

2006-05-08 Thread Chaudhary, Harsh
Hi, I am having some trouble with struts validation. Here's the case: I have multiple actions corresponding to multiple pages. I have only one struts form for all these actions. I would appreciate it if someone could tell me how to set up my validation. I am using ValidatorActionForm for my strut

RE: Validation help required

2006-04-24 Thread Chaudhary, Harsh
validWhen. Harsh. -Original Message- From: Dinesh Mehra [mailto:[EMAIL PROTECTED] Sent: Monday, April 24, 2006 1:47 PM To: user@struts.apache.org Subject: Validation help required Hi, I am using struts 1.1 I have two textboxes (username, password). My requirements is - I need to display a

Re: Validation help required

2006-04-24 Thread Srinivas Jadcharla
Use Validate method instead Validator framework On 4/24/06, Dinesh Mehra <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using struts 1.1 > > I have two textboxes (username, password). > My requirements is > - I need to display a standard error message when both the fields are > empty > or when eith

Validation help required

2006-04-24 Thread Dinesh Mehra
Hi, I am using struts 1.1 I have two textboxes (username, password). My requirements is - I need to display a standard error message when both the fields are empty or when either of the field is empty. - I need to display a different error message when both the the fields are filled but username-

Re: Validation Help

2005-07-23 Thread Rafael Taboada
A good book about Struts and Validator framework is Jakarta Struts Live - Rick Hightower U can get it in www.theserverside.com -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"

Re: Validation Help

2005-07-23 Thread Rafael Taboada
the properties file is that u r using right now... I mean u can use it in order to call value keys. -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"

Re: Validation Help

2005-07-23 Thread Paul Goepfert
I have a question. I have decided to use the vaildation framework to do the validation in my web app. I have created a validation.xml file, and a vaildator-rules.xml file. I noticed in books about struts that I have there is a properties file associated with the vaildation. Am I right? If

Re: Validation Help

2005-07-20 Thread Glen Mazza
http://www.objectsource.com/Struts_Survival_Guide.pdf, Chapter 5. Paul Goepfert wrote: I have created a web app using struts and velocity. I am going to add vaildation on the struts end of the app. I am still learning struts. The only thing I have been able to do is use struts to move betwee

Re: Validation Help

2005-07-19 Thread Laurie Harper
Paul Goepfert wrote: I have created a web app using struts and velocity. I am going to add vaildation on the struts end of the app. I am still learning struts. The only thing I have been able to do is use struts to move between pages by way of buttons.Now I want to add validation to my w

Validation Help

2005-07-19 Thread Paul Goepfert
I have created a web app using struts and velocity. I am going to add vaildation on the struts end of the app. I am still learning struts. The only thing I have been able to do is use struts to move between pages by way of buttons.Now I want to add validation to my web app. I have no

Re: Validation Help On Large Dynamic List

2005-06-07 Thread gdeschen
ts Users Mailing List" To cc Subject Validation Help On Large Dynamic List Hello, I am using the struts framework for a project, and I am seeking advice on the following situation. To preface where I am, we have used server side validation (validation.xml) throughout the full

Re: Validation Help On Large Dynamic List

2005-06-07 Thread Xinsheng \[mike\] Huang
use dynamic form with dynamic array inside. Scott Purcell <[EMAIL PROTECTED]> wrote:Hello, I am using the struts framework for a project, and I am seeking advice on the following situation. To preface where I am, we have used server side validation (validation.xml) throughout the full project a

Validation Help On Large Dynamic List

2005-06-07 Thread Scott Purcell
Hello, I am using the struts framework for a project, and I am seeking advice on the following situation. To preface where I am, we have used server side validation (validation.xml) throughout the full project and all is good. I understand simple field validation and the attributes of the vali

Validation Help On Large Dynamic List

2005-06-07 Thread Scott Purcell
Hello, I am using the struts framework for a project, and I am seeking advice on the following situation. To preface where I am, we have used server side validation (validation.xml) throughout the full project and all is good. I understand simple field validation and the attributes of the valid

Re: Checkbox Validation Help Needed

2005-03-16 Thread Niall Pemberton
Just use the "required" validator. Niall - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 16, 2005 4:18 PM Subject: Checkbox Validation Help Needed I am working on a project where I have the need to

Checkbox Validation Help Needed

2005-03-16 Thread Scott Purcell
I am working on a project where I have the need to validate a checkbox being 'on' . It is the usual accept our license, or you cannot enter site. In the jsp page we are using this: And in my bean I have a getter and setter with a boolean value: eg: setTerms(boolean val) boolean getTerms() an

Re: [validation] Help with 'contains' validation

2005-03-01 Thread Erik Weber
To ignore case, just convert the two Strings to uppercase before you test if one contains the other. Hope I'm understanding the problem correctly . . . Erik Erik Weber wrote: This is untested (!), but adapted from a working "twofields" validation method (used to make sure password1 matches passw

Re: [validation] Help with 'contains' validation

2005-03-01 Thread Erik Weber
This is untested (!), but adapted from a working "twofields" validation method (used to make sure password1 matches password2, etc.), so it shouldn't be far off the mark. validation.xml: minlength 3 m

[validation] Help with 'contains' validation

2005-03-01 Thread Wendy Smoak
(No luck on commons-user; trying again here.) I'm trying to validate a password such that it cannot contain the userId. Is this something I can do in validation.xml? I'm currently using a mask in validation.xml: mask ^[0-9a-zA-Z!%*-_+=:,\.

Date validation help

2004-07-06 Thread Greg Hoven
We have a need to accept dates entered on a form in either "mm/dd/" or "mm-dd-" formats, depending on how the user keys it in. (Not our choice to support both formats.) We'd like to use the Struts Validator to validate the dates with the validateDate() method. We haven't been able