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 paulmeff...@gmail.com: Can anyone give me some advice on how to fix the .xml loader so it

Re: Validation Help

2012-06-18 Thread Łukasz Lenart
2012/6/17 Paul Mefford paulmeff...@gmail.com: 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

struts2 validation help please

2009-02-17 Thread PEGASUS84
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.apache.org

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

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

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: 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
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 AbstractCrudControllerCustomer { private static

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 Dave Newton
: Validation Help? To: Struts Users Mailing List user@struts.apache.org 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 an extension of a couple of base classes but eventually

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 s:actionerror/ tag that should get any reported

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 had

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 on

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

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 user@struts.apache.org 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

Re: validation help

2007-02-09 Thread Jim Reynolds
[EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org 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. When the ID is selected the criteria the user entered

Re: validation help

2007-02-09 Thread Niall Pemberton
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. 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

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

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

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 Subject: Validation help: One struts form, multiple actions

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 [mailto:[EMAIL PROTECTED] Sent: Monday, May 08

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 actions I intentionally

RE: Validation help: One struts form, multiple actions

2006-05-08 Thread Chaudhary, 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: One struts form, multiple actions My bad. Missed that. How is it blowing out? Q -Original Message- From: Chaudhary

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: Validation help

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. formset form name=/ClientA field property=clientaFirstName

Re: Validation help: One struts form, multiple actions

2006-05-08 Thread Paul Benedict
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: Validation help: One struts form, multiple

RE: Validation help: One struts form, multiple actions

2006-05-08 Thread Chaudhary, Harsh
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 validate() and create

RE: Validation help: One struts form, multiple actions

2006-05-08 Thread Paul Benedict
:[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 validate() and create a key

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

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 either of the

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

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-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 Rafael Taboada
A good book about Struts and Validator framework is Jakarta Struts Live - Rick Hightower U can get it in www.theserverside.com http://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-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

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

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

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

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

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

Re: Validation Help On Large Dynamic List

2005-06-07 Thread gdeschen
@struts.apache.org To user@struts.apache.org 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

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: trtd colspan=4brhtml:checkbox property=terms value=0/ And in my bean I have a getter and setter with a boolean

Re: Checkbox Validation Help Needed

2005-03-16 Thread Niall Pemberton
Validation Help Needed 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: trtd colspan=4brhtml:checkbox property=terms value=0/ And in my bean I have a getter and setter

[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: field property=password depends=required,mask arg0 key=label.password/

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: !-- nothing real unusual here -- field property=userID depends=required,minlength,maxlength

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

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 to