on
> offering a nice solution in order to preserve the
> real look of a reg. exp.
> in an XML file?
> Fr.
>
> -Original Message-
> From: David Winterfeldt
> [mailto:[EMAIL PROTECTED]]
> Sent: 25 June 2001 18:11
> To: [EMAIL PROTECTED]
> Subject: RE: server
PROTECTED]
Subject: RE: server-side, java-based validation rules for struts..
Regular expressions should be:
^"\(?(\d{3})\)?[-| ]?(\d{3})[-| ]?(\d{4})$"
Properties file version
^\"\\(?(\\d{3})\\)?[-| ]?(\\d{3})[-| ]?(\\d{4})\"$
David
--- David Winterfeldt <[EMAIL PROTEC
rday, June 23, 2001 9:51 PM
Subject: Re: server-side, java-based validation rules for struts..
> > Slightly more exact mechanics for registering the listeners are:
> > 1. Instantiate the form-bean
> > 2. Instantiate zero to many listeners
> > 3. Register each listener
d register.
-- Levi
> -Original Message-
> From: Jonathan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 9:18 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: server-side, java-based validation rules for struts..
>
>
> I thought that
onday, June 25, 2001 9:24 AM
Subject: RE: server-side, java-based validation rules for struts..
>
> Cook, Levi writes:
> > IMHO, expressing rules using first class Java objects *can* be just as
> > flexible as defining rules in an XML file.
> >
> > The analog to cha
Regular expressions should be:
^"\(?(\d{3})\)?[-| ]?(\d{3})[-| ]?(\d{4})$"
Properties file version
^\"\\(?(\\d{3})\\)?[-| ]?(\\d{3})[-| ]?(\\d{4})\"$
David
--- David Winterfeldt <[EMAIL PROTECTED]> wrote:
> When you are doing regular expressions you can
> basically just cut and paste them fro
When you are doing regular expressions you can
basically just cut and paste them from an example and
escape out the few XML sensitive characters, but you
have to escape out the escape characters in a java
properties file which I think makes something that is
already hard to read even more unreadab
I thought that the point was to NOT have to use a property editor, but
rather an xml file
- Original Message -
From: "Nick Afshartous" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, June 25, 2001 9:24 AM
Subject: RE: server-side,
Cook, Levi writes:
> IMHO, expressing rules using first class Java objects *can* be just as
> flexible as defining rules in an XML file.
>
> The analog to changing a value in an XML file is using a property editor to
> change values stored in a JavaBean (thus avoiding recompiling). The ups
r's aren't any better
> > at answering
> > > these questions than we are :)
> > >
> > > This point introduces the next responsibily I planned on handing the
> > > struts-controller: handling PropertyVetoExceptions. In
> > short, I'd like it
> > to
> > > basically turn these exceptions in
evi
> -Original Message-
> From: Nick Afshartous [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 22, 2001 12:44 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: server-side, java-based validation rules for struts..
>
> David Winterfeldt writes:
> > I d
PROTECTED]; [EMAIL PROTECTED]
Subject: RE: server-side, java-based validation rules for struts..
David Winterfeldt writes:
> I don't think there would be anything wrong with your
> idea, but I think it is a little more flexible keeping
> the validation separate from the ActionForm.
David Winterfeldt writes:
> I don't think there would be anything wrong with your
> idea, but I think it is a little more flexible keeping
> the validation separate from the ActionForm. I
> started working on a validation framework, but I put
> the info in an xml file. I would rather chang
Maybe I'm not doing that
> yet, but its where I'm trying to go :)
>
> Respectfully,
> Levi Cook
>
> > -Original Message-
> > From: David Winterfeldt
> [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 21, 2001 11:17 AM
> > To: [EMAIL PROTECTED]
> >
. Maybe I'm not doing that
yet, but its where I'm trying to go :)
Respectfully,
Levi Cook
> -Original Message-
> From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 21, 2001 11:17 AM
> To: [EMAIL PROTECTED]
> Subject: Re: server-side, java-b
zing the source code.
David
--- Levi Cook <[EMAIL PROTECTED]> wrote:
> comments below...
>
> - Original Message -
> > From: "Jonathan" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, June 20, 2001 12:55 PM
comments below...
> -Original Message-
> From: Jonathan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 21, 2001 10:38 AM
> To: [EMAIL PROTECTED]
> Subject: Re: server-side, java-based validation rules for struts..
>
> So at some point you will gat a handle to th
<[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 11:20 AM
Subject: RE: server-side, java-based validation rules for struts..
> Yes, the end result is ActionForms with Listeners registered prior to the
> ActionServlet populating our form with the users request values.
>
> Slightl
explanation.
Levi
> -Original Message-
> From: Jonathan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 21, 2001 9:10 AM
> To: [EMAIL PROTECTED]
> Subject: Re: server-side, java-based validation rules for struts..
>
>
> So you are saying that when an ActionForm is instan
Forms with their listeners already
registered. Did I get it?
- Original Message -
From: "Levi Cook" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 11:44 AM
Subject: Re: server-side, java-based validation rules for struts..
> I guess that&
/>
> >
> >
> >
- Original Message -
From: "Jonathan Asbell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 4:42 AM
Subject: Re: server-side, java-based validation rules for struts..
> Levi, you lost
sage -
From: "Levi Cook" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 10:02 PM
Subject: Re: server-side, java-based validation rules for struts..
> comments below...
>
> - Original Message -
> > From: "Jonathan&
comments below...
- Original Message -
> From: "Jonathan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 20, 2001 12:55 PM
> Subject: Re: server-side, java-based validation rules for struts..
>
> Hello Levi.
> I read you
I'll try to respond inline with your messages.
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 3:14 PM
> To: [EMAIL PROTECTED]
> Subject: Re: server-side, java-based validation rules for struts..
>
>
> +1
&g
+1
David Winterfeldt wrote:
> I don't think there would be anything wrong with your
> idea, but I think it is a little more flexible keeping
> the validation separate from the ActionForm. I
> started working on a validation framework, but I put
> the info in an xml file. I would rather change
I don't think there would be anything wrong with your
idea, but I think it is a little more flexible keeping
the validation separate from the ActionForm. I
started working on a validation framework, but I put
the info in an xml file. I would rather change a
value in an xml file than having to re
g you have validated via some
algorithm etc.etc. Check out some of the various posts about validation and
you will see what I mean.
;^>
- Original Message -
From: "Cook, Levi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 3:48 PM
Subject: RE:
I'm guessing my aforementioned ideas on validation fall into one of the
following categories:
1. its was a really bad idea, not worth commenting or elaborating on
2. i didn't provide a clearly articulated idea to review
3. they're fine and everyone's really busy, and i'm impatient
I'll a
28 matches
Mail list logo