Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2677

Support multiple parent packages defined on package

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.2
    • 2.1.3
    • Plugin - CodeBehind
    • None

    Description

      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.

      Attachments

        Activity

          People

            mrdon Donald J. Brown
            mrdon Donald J. Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: