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

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
It appears you are probably using the ValidatorForm or ValidatorActionForm in 1.x? Just a thought ... could you just implement the validate method in the Action form and handle it with logic? I did some looking, and see that you can validate two fields against each other, but I couldn't find

Re: validation help

2007-02-09 Thread Niall Pemberton
I don't think you can do this without either a custom validator or as Jim suggests, implementing it in the validate method of your form. Niall On 2/9/07, Jim Reynolds [EMAIL PROTECTED] wrote: It appears you are probably using the ValidatorForm or ValidatorActionForm in 1.x? Just a thought ...

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

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

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
The fact that you are getting 2 messages makes sense as you are running validation against both the fields. It does not matter if the arg key is the same. That would just pick the same message from your properties file twice. You could try using the validWhen validator and accociating that

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

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

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
This may help you: http://wiki.apache.org/struts/StrutsCatalogLazyList http://www.developer.com/java/ejb/article.php/3321521 http://www.developer.com/java/ejb/article.php/2233591 - Glenn Scott Purcell [EMAIL PROTECTED] 07/06/2005 09:19 AM Please respond to Struts Users Mailing List

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