On Thu, 7 Nov 2002, Rob Leland wrote:

> Date: Thu, 07 Nov 2002 01:20:24 -0500
> From: Rob Leland <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: Struts Developers List <[EMAIL PROTECTED]>
> Subject: Re: Action.java & Globals.java questions.
>
> Ted Husted wrote:
>
> > Do we have many more constants to add right now?
> >
> > How about if we stay the course though the 1.1 release, for
> > consistency,
>
> +1
>

+1 as well.

> >
> > We should probably go ahead deprecate the Action statics that pass
> > through references to Globals, so we can change it all over on the
> > next run.
>
> About an hour ago I marked a few of these as deprecated then thought it
> better to ask the list before. There are still a few that need to be
> marked deprecated.
>
> If you think about it really the ResponseUtils & RequestUtils
> & Globals could be combined into a more appropiate class.
> Then the constants wouldn't need to be used externally
> except by developers extending the basic Struts classes.
>
> Maybe for 1.2 ?!
>

We're going to need to be real cautious about deprecating the Action
constants in any 1.x release, because this would affect lots of user
application code.  I'd lean towards removing them in 2.x instead.

For example, Action.LOCALE_KEY will be referenced by any app that wants to
offer the user a chance to switch locales ...

> -Rob
>

Craig


--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to