Don't add new constants to Action, only to Globals. I'm against making Action extend Globals because that's not what inheritance is for. Yes, it would be convenient but let's not go down that path. I'm confused about why the Action constants aren't deprecated, can someone explain?

I thought the plan was to remove the Action constants after 1.1.

David






From: Rob Leland <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Action.java & Globals.java questions.
Date: Thu, 07 Nov 2002 00:29:02 -0500

I know that the Globals were pulled out of Action.Java to
prevent direct dependencies on Action.java

Right now Action.java has duplicates KEYS fields from
Globals.java.

Some were for compatibility with 1.0,
BUT some were added for Struts 1.1.

Continuing to add new constants to BOTH
creates duplication which is not good...

Could we

1) Remove the keys added for Struts 1.1 from Action.java

AND/OR

2) Have Action extend the Globals so the duplicate
variables and JavaDoc can be deleted ?

-Rob


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

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


--
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