Additional feature request :

a getConstant(key) method in the Form class, viz:

/**
 * Retrieve a <code>Constant</code> based on the constant name.
 */
public Constant getConstant(Object key) {
        Constant c = null;
        Object o = hConstants.get(key);
        
        if (o != null) {
                c = (Constant)o;
        }
        
        return c;
}

Won't break any additional code, but it will give me the functionality I
need in the core version. 

Roy.

> -----Original Message-----
> From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
> Sent: 05 March 2002 15:50
> To: Struts Developers List
> Subject: Re: Validator/Tiles integration in Struts
> 
> 
> I have no problems with moving what's left of the
> Validator to src/share.  My top goal right now is to
> go over all the javadoc comments for the Commons
> Validator and Struts Validator and work on
> documentation.  Then to apply any bug fixes that
> people have sent me e-mails about that I haven't
> gotten to.  I thought it would be nice to try have a
> 1.0 release of the Commons Validator around the same
> time as the Struts 1.1 release.
> 
> Are there any features or changes to the Validator
> that anyone thinks should be added right now?  One
> thing I can think of is changing the xml structure of
> the constant tag so you can use CDATA for it's value.
> 
> currently:
> <constant name="zip" value="^\d{5}(-\d{4})?$" />
> 
> proposed:
> <constant>
>    <constant-name>mask</var-name>
>    <constant-value>^\d{5}(-\d{4})?$</var-value>
> </constant>
> 
> There are other things that are behind the scenes, but
> I wouldn't want to do anything really major since it
> is fairly stable before having a release.  Unless
> someone thinks there is something important.
> 
> David
> 
> --- Martin Cooper <[EMAIL PROTECTED]>
> wrote:
> > I'd be fine with that, assuming David and Cedric are
> > too. If someone were to
> > propose it, that is. ;-)
> > 
> > What timeframe did you have in mind? Do you want to
> > do that before beta,
> > between beta and release candidate, or after the 1.1
> > release?
> > 
> > I'm OK with holding up beta for a couple of days,
> > for this and for Mike's
> > upload fixes, if that's what you'd like to do. It'll
> > give me a little more
> > time anyway...
> > 
> > --
> > Martin Cooper
> > 
> > 
> > ----- Original Message -----
> > From: "Ted Husted" <[EMAIL PROTECTED]>
> > To: "Struts Developers List"
> > <[EMAIL PROTECTED]>
> > Sent: Monday, March 04, 2002 8:59 AM
> > Subject: Re: Validator/Tiles integration in Struts
> > 
> > 
> > > If someone were to propose it =:o), personally I
> > would vote that we move
> > > the Struts-specific portions of the Validator and
> > Tiles up out of
> > > Contrib, and make them top-level packages under
> > share. In the case of
> > > the Validator, I believe that's everything that is
> > left, since the rest
> > > has been moved to the Commons.
> > >
> > > Cedric, if Tiles is stable for the time-being,
> > I'll (finally) start the
> > > ball rolling on a Taglibs proposal. In terms of
> > the 1.1/1.0 issues,
> > > could those be resolved in a Struts package in the
> > Struts.jar, or would
> > > we need two packages on the taglibs side?
> > >
> > > -Ted.
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to