Lukasz Lenart created WW-5858:
---------------------------------

             Summary: Add a package view to the Config Browser
                 Key: WW-5858
                 URL: https://issues.apache.org/jira/browse/WW-5858
             Project: Struts 2
          Issue Type: New Feature
          Components: Plugin - Config Browser
            Reporter: Lukasz Lenart
             Fix For: 7.6.0


The Config Browser lists namespaces and actions but has no view of packages. 
Package-level configuration, including two settings added in 7.5.0, is 
therefore not visible at all:
* scoped constants (WW-3476): {{PackageConfig.getScopedConstants()}} (declared) 
and {{PackageConfig.getAllScopedConstants()}} (effective, inherited values 
overridden by the package's own)
* package extensions (WW-4164): {{PackageConfig.getExtensions()}} (declared) 
and {{PackageConfig.getFullExtensions()}} (effective)

*Proposal*
* A new page listing the packages in a namespace; the action page links to the 
package its action belongs to.
* Per package show: name, namespace, parents, abstract / final flags, declared 
and effective extensions, declared and effective scoped constants.
* Also show: default interceptor ref, default action ref, default class ref, 
default result type, result types, global results, global exception mappings 
and global allowed methods.

*Open question*

Should the effective scoped constants show which package each inherited value 
comes from? {{PackageConfig}} does not expose that directly; it would require 
walking the parents.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to