I'm going to start working on the SmartURLs port. Here's what I'm planning:

1. Deprecate all the current codebehind annotations and classes

2. Create a new package named org.apache.struts2.plugin.codebehind

3. Move the SmartURLs classes over (simple re-package)

4. Move annotations into org.apache.struts2.plugin.codebehind.annotation

5. Remove component.xml handling code completely

6. Change current configuration properties to start with struts.plugin.codebehind instead of smarturls

7. Add support for locating action packages based on naming (i.e. all packages named action, struts2, etc)

8. Add configuration for changing the names used to find action packages via configuration property struts.plugin.codebehind.actionPackage.names

9. Add support for action package exclusions via configuration property struts.plugin.codebehind.actionPackage.excludes

10. Remove ActionNames and ActionName in favor of a new Action annotation for methods (not sure about this yet)

11. Remove Namespace annotation (this should probably be handled entirely in the action annotations)

12. Remove SmartURLsFilter in favor of extensionless support in core filter

13. Add annotations for selecting the interceptor chain at the action and package level

14. Add annotations for adding interceptor definitions and interceptor chain definitions at the package level (not sure about this)

Since the old codebehind code will still work, as long as it compiles and the tests pass it should be fine to check this stuff into trunk.

Thoughts, additions, subtractions?

-bp

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to