IL PROTECTED]
> Subject: Re: [OS-webwork] Validation Framework
>
>
> +1 for having the validations action-based! Since maybe a
> class handles
> different actions (read methods) it will need to have
> different set of
> validation rules for each action.
>
> Ar
+1 for having the validations action-based! Since maybe a class handles
different actions (read methods) it will need to have different set of
validation rules for each action.
Armond
Fred Lamuette wrote:
It seems that the validation framework applies only to the action
properties.
In this cas
It seems that the validation framework applies only to the action
properties.
In this case, using the ModelDriven interface for action and
ModelDrivenInterceptor prevent from using the validation framework
correctly, because we need reference the properties as follows :
- "model.name" in the MyActi
Yes... Any runtime exception can be thrown...
> -Original Message-
> From: Fred Lamuette [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 29, 2003 5:01 PM
> To: [EMAIL PROTECTED]
> Subject: Spam:RE: [OS-webwork] Validation Framework details
>
>
> In this ca
In this case, you have to throw an exception for a user-defined converter?
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de
Jason Carreira
Envoye : lundi 29 septembre 2003 20:32
A : [EMAIL PROTECTED]
Objet : RE: [OS-webwork] Validation Framework de
It's really a problem, i cant understand anybody else is requesting that !!
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de
Adam Fleming
Envoye : lundi 29 septembre 2003 18:49
A : [EMAIL PROTECTED]
Objet : Re: [OS-webwork] Validation Framework de
tember 29, 2003 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] Validation Framework details
>
>
> Hi,
>
> This is a problem I am having trouble with too (as I am sure many
> others). How can you get the original input if the field you are
> validating is
ginal Message-
> From: Fred Lamuette [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 27, 2003 2:20 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Validation Framework details
>
>
> Ok, you say "Type conversion handle this". But when will be
>
to:[EMAIL PROTECTED] la part de
Jason Carreira
Envoye : samedi 27 septembre 2003 14:19
A : [EMAIL PROTECTED]
Objet : RE: [OS-webwork] Validation Framework details
You thought what I said was overcomplicated? This sounds WAY too
complicated... Type conversion handles this...
-Original Message--
Jason Carreira
Envoye : samedi 27 septembre 2003 14:19
A : [EMAIL PROTECTED]
Objet : RE: [OS-webwork] Validation Framework details
You thought what I said was overcomplicated? This sounds WAY too
complicated... Type conversion handles this...
> -Original Message-
> From: Fred La
ne-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> la part de Jason Carreira Envoye : vendredi 26 septembre 2003
> 16:54 A : [EMAIL PROTECTED]
> Objet : RE: [OS-webwork] Validation Framework details
>
>
> > -Original Message-
> > From:
: [EMAIL PROTECTED]
Objet : RE: [OS-webwork] Validation Framework details
> -Original Message-
> From: Fred Lamuette [mailto:[EMAIL PROTECTED]
>
> My question : how can i do to see the message "Your text "Foo
> Bar" could not be parsed as a date", w
> -Original Message-
> From: Fred Lamuette [mailto:[EMAIL PROTECTED]
>
> My question : how can i do to see the message "Your text "Foo
> Bar" could not be parsed as a date", what can i do in my
> dateconverter to add a FieldError
>
> Cheers.
> Richard.
Short answer: You can't
Lon
Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de
Jason Carreira
Envoye : jeudi 25 septembre 2003 20:40
A : [EMAIL PROTECTED]
Objet : RE: [OS-webwork] Validation Framework details
> -Original Message-----
> From: Fred Lamuette [mailto:[EMAIL PROTE
> -Original Message-
> From: Fred Lamuette [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 25, 2003 1:58 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Validation Framework details
>
>
> You have a model class in your action to populate, one
A : [EMAIL PROTECTED]
Objet : RE: [OS-webwork] Validation Framework details
> -Original Message-
> From: Fred Lamuette [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 25, 2003 5:23 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Validation Framework details
> -Original Message-
> From: Fred Lamuette [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 25, 2003 5:23 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Validation Framework details
>
>
> That was my idea in one of my previous post, but finally
PROTECTED] la part de
Jason Carreira
Envoye : jeudi 25 septembre 2003 04:28
A : [EMAIL PROTECTED]
Objet : RE: [OS-webwork] Validation Framework details
> -Original Message-
> From: Tracy Snell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 24, 2003 10:17 PM
> To: [
> -Original Message-
> From: Tracy Snell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 24, 2003 10:17 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] Validation Framework details
>
>
> On 9/24/03 8:45 PM, "Jason Carreira"
> <[
On 9/24/03 8:45 PM, "Jason Carreira" <[EMAIL PROTECTED]> wrote:
> The type conversion framework will handle this part... It sounds like we
> (Patrick and I) need to get together on making these work together
> better and make it so the type conversion can provide good messages.
Wouldn't having t
> Sent: Wednesday, September 24, 2003 8:34 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Validation Framework details
>
>
> Hello, I'm new to WebWork and Xwork :)
>
> I've been trying to use the validation framework. I want to
> be able to
> use the
Hello, I'm new to WebWork and Xwork :)
I've been trying to use the validation framework. I want to be able to
use the correct type for my Action bean properties, ie:
Integer selectedId;
I also want to be able to have a message such as "Sorry, -123abcde is
not a valid ID".
Is this possible?
I got it, but haven't had time to look yet. I'll take a look tonight.
> -Original Message-
> From: Samuel Mota [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 02, 2003 10:23 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Validation Framework dou
MAIL
PROTECTED]
[EMAIL PROTECTED]cc:
ceforge.net Subject: RE:
[OS-webwork] Validation
the getter and the param type in the setter are the
same, or the Java introspector code can get confused.
> -Original Message-
> From: Samuel Mota [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 01, 2003 9:08 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] V
Hi,
Continuing my doubts about this topic ...
I'm debugging my form to see WHY even if I post some content at my validated fields
(using the XWork
validation framework and the interceptor) I get error messages.
The field types are corret at the validation.xml file (ranges and so on) ... names
or it or add it to this one. In general, I was
> > planning
> > > on doing validations using the validation framework and
> > anything else
> > > would be done in the execute() method. What do others think?
> > >
> &
ED]
> Subject: RE: [OS-webwork] Validation Framework doubt
>
>
> I personally like the fact that most actions do not have to
> deal with UI validations, and that it is nicely seperated. I
> think the grey area is when you may be required to do
> business validations for UI fi
See below
> -Original Message-
> From: Samuel Mota [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 2:18 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Validation Framework doubt
>
>
>
> Hi Jason, guys,
>
> Now the interceptor is
ceforge.net
rom: Pat Lightbody [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 28, 2003 11:24 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [OS-webwork] Validation Framework doubt
> >
> >
> > Jason,
> > One request --
ng on
doing validations using the validation framework and anything else would
be done in the execute() method. What do others think?
> -Original Message-
> From: Pat Lightbody [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 11:24 AM
> To: [EMAIL PROTECTED]
> Subj
o see this change and doExecute() go away.
> -Original Message-
> From: Samuel Mota [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 9:10 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Validation Framework doubt
>
>
>
> Hi,
>
> &g
> -Original Message-
> From: Samuel Mota [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 9:10 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] Validation Framework doubt
>
>
>
> Hi,
>
> >map of fieldErrors. It
Hi,
>map of fieldErrors. It WILL NOT stop execution just because you have an error. You
>can apply the
>DefaultWorkflowInterceptor after the validation to have it automatically return
>"input" if you have
any errors >applied to your Action. Otherwise, you can decide how to deal with them in
yo
at the top of my execute() method I just check ActionSupport.hasErrors()
INPUT if its got errors.
but now that Jason mentioned the DefaultWorkFlowInterceptor I think I
will use that instead, man theres so many things I still don't know
exist in WW2.
Samuel Mota wrote:
Hi,
I'm using the XWork
TECTED]
> Sent: Wednesday, August 27, 2003 4:14 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Validation Framework doubt
>
>
> Hi,
>
> I'm using the XWork validation framework but I'm in doubt
> about how to use it's results.
>
> The wiki says &q
Hi,
I'm using the XWork validation framework but I'm in doubt about how to use it's
results.
The wiki says " Bear in mind that even if errors are added due to failed
validation, the action
will still be executed."
So I must add the errors to the stack on my own doValidation() method? Seems
:[EMAIL PROTECTED]
> > Sent: Friday, August 15, 2003 3:35 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [OS-webwork] Validation Framework
> >
> >
> > no it's not. This is because I want the password on a
> > reusable User object, but not the
gt; >
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, August 15, 2003 1:34 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [OS-webwork] Validation Framework
> > >
> > >
>
iday, August 15, 2003 1:34 PM
> > To: [EMAIL PROTECTED]
> > Subject: [OS-webwork] Validation Framework
> >
> >
> > I have just started to use the validation framework, and am
> > coming up with some issues. Not sure if I am not doing
> > things correctly
Is your action ModelDriven, or no?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 15, 2003 1:34 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Validation Framework
>
>
> I have just started to use the vali
I have just started to use the validation framework, and am coming up with some
issues. Not sure if I am not doing things correctly, or whether this is a bug.
I am creating a simple registration class - which uses a User object with
setters and getter for username and password, as well as a confi
> FormProc can do as much or as little as you like. If you
> only specify a
> validator then the values will only be validated. If you want to use
> FormProc to do type conversion then you can specify a type converter.
> This goes the same for storing the data (in a bean, hash map, etc),
>
going to do
form validation in a vastly different fashion then you may as well take
advantage of FormProc's maturity.
Sincerely,
Anthony Eden
-Original Message-
From: Anthony Eden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 6:03 PM
To: [EMAIL PROTECTED]
Subject: Re
-Original Message-
> From: Anthony Eden [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 21, 2003 6:03 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] Validation Framework (checked into Xwork)
>
>
> Jason,
>
> Why are you writing a new validation frame
27;s definitely more to be done here.
-Original Message-
From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 4:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Validation Framework (checked into Xwork)
How would you handle i18n support, and parametrised me
How would you handle i18n support, and parametrised messages?
Eg, if you wanted '${0} is an invalid name' as your message
Quoting Jason Carreira <[EMAIL PROTECTED]>:
> I checked a new validation framework into Xwork this morning that I got
> running last night. It's based on some ideas like runt
to be done here.
> -Original Message-
> From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 21, 2003 4:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] Validation Framework (checked into Xwork)
>
>
> How would you handle i18n support,
I checked a new validation framework into Xwork this morning that I got
running last night. It's based on some ideas like runtime attributes and
deployment descriptors. What it does (triggered by a
ValidationInterceptor in the interceptor list for an action) is to load
validation xml files for the
50 matches
Mail list logo