Lukasz Lenart created WW-5859:
---------------------------------

             Summary: Config Browser Show Beans page misses beans registered by 
StrutsBeanSelectionProvider
                 Key: WW-5859
                 URL: https://issues.apache.org/jira/browse/WW-5859
             Project: Struts 2
          Issue Type: Improvement
          Components: Plugin - Config Browser
            Reporter: Lukasz Lenart
             Fix For: 7.6.0


{{ShowBeansAction}} displays a hard-coded list of nine bean types 
({{ObjectFactory}}, {{XWorkConverter}}, {{ActionProxyFactory}}, 
{{ObjectTypeDeterminer}}, {{ActionMapper}}, {{MultiPartRequest}}, 
{{FreemarkerManager}}, {{VelocityManager}}, {{UrlRenderer}}).

{{StrutsBeanSelectionProvider}} selects many more beans through constants, 
including {{ScopedConstantProvider}} ({{struts.scopedConstantProvider}}) added 
in 7.5.0, and none of those appear on the page. The list falls further behind 
with every release that adds a selectable bean.

*Proposal*

Derive the displayed bean types from the same source 
{{StrutsBeanSelectionProvider}} uses, instead of maintaining a second 
hand-written list. If that is not practical, at minimum add the missing types.



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

Reply via email to