RE: [OS-webwork] Validation Framework

2003-10-05 Thread Jason Carreira
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

Re: [OS-webwork] Validation Framework

2003-10-05 Thread Armond Avanes
+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

RE: [OS-webwork] Validation Framework details

2003-09-29 Thread Fred Lamuette
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

RE: [OS-webwork] Validation Framework details

2003-09-29 Thread Fred Lamuette
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

RE: [OS-webwork] Validation Framework details

2003-09-29 Thread Jason Carreira
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

RE: [OS-webwork] Validation Framework details

2003-09-29 Thread Jason Carreira
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 >

Re: [OS-webwork] Validation Framework details

2003-09-29 Thread Adam Fleming
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--

RE: [OS-webwork] Validation Framework details

2003-09-27 Thread Fred Lamuette
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

RE: [OS-webwork] Validation Framework details

2003-09-27 Thread Jason Carreira
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:

RE: [OS-webwork] Validation Framework details

2003-09-26 Thread Fred Lamuette
: [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

RE: [OS-webwork] Validation Framework details

2003-09-26 Thread Jason Carreira
> -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

RE: [OS-webwork] Validation Framework details

2003-09-25 Thread Fred Lamuette
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

RE: [OS-webwork] Validation Framework details

2003-09-25 Thread Jason Carreira
> -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

RE: [OS-webwork] Validation Framework details

2003-09-25 Thread Fred Lamuette
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

RE: [OS-webwork] Validation Framework details

2003-09-25 Thread Jason Carreira
> -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

RE: [OS-webwork] Validation Framework details

2003-09-25 Thread Fred Lamuette
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: [

RE: [OS-webwork] Validation Framework details

2003-09-24 Thread Jason Carreira
> -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" > <[

Re: [OS-webwork] Validation Framework details

2003-09-24 Thread Tracy Snell
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

RE: [OS-webwork] Validation Framework details

2003-09-24 Thread Jason Carreira
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. > -Original Message- > From: Adam Fleming [mailto:[EMAIL PROTECTED] > Sent: Wedn

RE: [OS-webwork] Validation Framework doubt

2003-09-02 Thread Jason Carreira
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

RE: [OS-webwork] Validation Framework doubt

2003-09-02 Thread Samuel Mota
MAIL PROTECTED] [EMAIL PROTECTED]cc: ceforge.net Subject: RE: [OS-webwork] Validation

RE: [OS-webwork] Validation Framework doubt

2003-09-01 Thread Jason Carreira
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

RE: [OS-webwork] Validation Framework doubt

2003-09-01 Thread Samuel Mota
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

RE: [OS-webwork] Validation Framework doubt

2003-08-28 Thread roughley
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? > > > > &

RE: [OS-webwork] Validation Framework doubt

2003-08-28 Thread Jason Carreira
either have a separate > > Interceptor for 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? > > > > > -O

RE: [OS-webwork] Validation Framework doubt

2003-08-28 Thread Jason Carreira
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

RE: [OS-webwork] Validation Framework doubt

2003-08-28 Thread Samuel Mota
ceforge.net

RE: [OS-webwork] Validation Framework doubt

2003-08-28 Thread roughley
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 --

RE: [OS-webwork] Validation Framework doubt

2003-08-28 Thread Jason Carreira
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

Re: [OS-webwork] Validation Framework doubt

2003-08-28 Thread Pat Lightbody
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

RE: [OS-webwork] Validation Framework doubt

2003-08-28 Thread Jason Carreira
> -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

RE: [OS-webwork] Validation Framework doubt

2003-08-28 Thread Samuel Mota
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

Re: [OS-webwork] Validation Framework doubt

2003-08-27 Thread Francisco Hernandez
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

RE: [OS-webwork] Validation Framework doubt

2003-08-27 Thread Jason Carreira
Sorry, I'll work on putting an example of its use into the example app. In the meantime, what this means is that it's going to add errors to the errors list and the lists of errors in the map of fieldErrors. It WILL NOT stop execution just because you have an error. You can apply the DefaultWork

RE: [OS-webwork] Validation Framework

2003-08-18 Thread roughley
:[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

RE: [OS-webwork] Validation Framework

2003-08-16 Thread Jason Carreira
I created an issue for this and assigned it to myself: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=XW-75 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, August 15, 2003 3:35 PM > To: [EMAIL PROTECTED] > Subject:

RE: [OS-webwork] Validation Framework

2003-08-15 Thread roughley
no it's not. This is because I want the password on a reusable User object, but not the confirmPassword (which is just an action attribute). Thanks, Ian -- >From Down & Around, Inc. Innovative IT solutions Software Architecture * Design * Development ~

RE: [OS-webwork] Validation Framework

2003-08-15 Thread Jason Carreira
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 validation framework, and am >

RE: [OS-webwork] Validation Framework (checked into Xwork)

2003-01-21 Thread Jason Carreira
> 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), >

Re: [OS-webwork] Validation Framework (checked into Xwork)

2003-01-21 Thread Anthony Eden
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

RE: [OS-webwork] Validation Framework (checked into Xwork)

2003-01-21 Thread Jason Carreira
-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

Re: [OS-webwork] Validation Framework (checked into Xwork)

2003-01-21 Thread Anthony Eden
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

Re: [OS-webwork] Validation Framework (checked into Xwork)

2003-01-21 Thread Hani Suleiman
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

RE: [OS-webwork] Validation Framework (checked into Xwork)

2003-01-21 Thread Jason Carreira
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,