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
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
--- 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
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
--- 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
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
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
: 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
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
--- 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
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
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. :-)
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
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
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 ...
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
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
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
.
-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
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
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
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
:[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
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
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
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
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
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
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
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
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
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
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
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
34 matches
Mail list logo