History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: STRPL-40
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Yann Cébron
Reporter: Deryl Seale
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Struts 2 Plugin

<param> tag doesn't properly validate nested parameters

Created: 22 Jan 08 19:05   Updated: 22 Jan 08 21:01
Component/s: Struts Config Files
Affects Version/s: 0.36
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Relates
 
This issue is related to:
STRPL-14 <param> "name" resolving -- leftovers Normal Closed


 Description  « Hide
The <param> tag does not appear to properly validate nested parameters. If I have the following definition:

<action name="manage" class="MyAction" method="myMethod">
<result name="success">/success.jsp</result>
<param name="param.nestedParam">foobar</param>
</action>

.. the plugin does not find the nested parameter (in this case, param.nestedParam). If I remove the nested parameter, the plugin does correctly find the containing parameter (in this case, param). Nested parameters are supported in Struts 2.0.



 All   Comments   Work Log   Change History      Sort Order:
Yann Cébron - 22 Jan 08 21:01
Indeed nested params are not supported yet. Workaround: disable the Struts Model inspection for the <param>-tag in question to suppress wrong highlighting.