Lukasz Lenart created WW-5857:
---------------------------------
Summary: Show HTTP methods and extensions on the Config Browser
action page
Key: WW-5857
URL: https://issues.apache.org/jira/browse/WW-5857
Project: Struts 2
Issue Type: Improvement
Components: Plugin - Config Browser
Reporter: Lukasz Lenart
Fix For: 7.6.0
7.5.0 added two action-level settings that the Config Browser action page
({{showConfig.ftl}}) does not display:
* the {{http-method}} attribute (WW-3717), exposed as
{{ActionConfig.getHttpMethods()}}
* the {{extension}} attribute (WW-4164), exposed as
{{ActionConfig.getExtensions()}}
*Proposal*
* Add an *HTTP methods* row to the action table: the declared methods, or "any"
when the set is empty.
* Add an *Extensions* row: the declared extensions, or "global default" when
the list is empty.
* When the declared HTTP methods do not include GET, mark the "Default
location" link as not reachable by a plain GET, so users understand why
following it fails.
Related: WW-5856 fixes the "Default location" link for actions with a declared
extension.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)