Support multiple parent packages defined on package
---------------------------------------------------
Key: WW-2677
URL: https://issues.apache.org/struts/browse/WW-2677
Project: Struts 2
Issue Type: New Feature
Components: Plugin - CodeBehind
Affects Versions: 2.1.2
Reporter: Don Brown
Fix For: 2.1.3
Currently, it is pretty confusing how to set the parent package for an action
in the codebehind plugin. Basically, it gathers all the @ParentPackage
annotations on all actions in the package, then sets the generated parent
package list based on the created list. This is confusing and unintuitive.
The better approach would be to allow the @ParentPackage annotation on the
package via the package-info.java file, and let a list of parents be specified.
Then, it is no longer necessary to decorate any action in the package.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.