[ 
https://issues.apache.org/struts/browse/WW-2746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Wallace updated WW-2746:
--------------------------------

    Component/s:     (was: Plugin - CodeBehind)
                 Plugin - Convention
    Description: It would be nice if we could take advantage of the 
package-info.java file to configure the package fully in Java rather than have 
to create the package configuration in xml and have a @ParentPackage annotation 
on every action in the package.  You should be able to use it to configure 
everything you could normally configure in a <package> element in the 
struts.xml such as default action, interceptors, etc.  (was: It would be nice 
if we could take advantage of the package-info.java file to configure the 
package fully in Java rather than have to create the package configuration in 
xml and have a @ParentPackage annotation on every action in the package.  You 
should be able to use it to configure everything you could normally configure 
in a <package> element inthe struts.xml.)

Moving to the convention plugin as codebehind seems to be at an evolutionary 
dead-end.

> @PackageConfig annotation that can be used in package-info.java files
> ---------------------------------------------------------------------
>
>                 Key: WW-2746
>                 URL: https://issues.apache.org/struts/browse/WW-2746
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Plugin - Convention
>            Reporter: Richard Wallace
>
> It would be nice if we could take advantage of the package-info.java file to 
> configure the package fully in Java rather than have to create the package 
> configuration in xml and have a @ParentPackage annotation on every action in 
> the package.  You should be able to use it to configure everything you could 
> normally configure in a <package> element in the struts.xml such as default 
> action, interceptors, etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to