[ 
https://issues.apache.org/jira/browse/WW-5352?focusedWorklogId=902351&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-902351
 ]

ASF GitHub Bot logged work on WW-5352:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jan/24 15:53
            Start Date: 29/Jan/24 15:53
    Worklog Time Spent: 10m 
      Work Description: kusalk commented on PR #865:
URL: https://github.com/apache/struts/pull/865#issuecomment-1914990891

   I've just had a read of the following TypeConverter test and it seems it is 
only possible to set a List without a matching getter when using a serialized 
format.
   
`core/src/test/java/com/opensymphony/xwork2/test/annotations/PersonActionTest.java`
   
   So in the earlier example I gave, the request would have to be a custom 
format as defined in the type converter, e.g.:
   `example.action?models=kusal:lukasz`
   
   So I think we are indeed okay to close this PR.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 902351)
    Time Spent: 10h  (was: 9h 50m)

> Implement annotation mechanism for injectable fields via parameters
> -------------------------------------------------------------------
>
>                 Key: WW-5352
>                 URL: https://issues.apache.org/jira/browse/WW-5352
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core, Core Interceptors
>            Reporter: Kusal Kithul-Godage
>            Priority: Minor
>             Fix For: 6.4.0
>
>          Time Spent: 10h
>  Remaining Estimate: 0h
>
> struts.parameters.requireAnnotations
>  
> Require an explicit annotation '@StrutsParameter' on one of: 
> Getter/Setter/Field/ReturnType for injecting parameters.
>  
> This mechanism is intended to be a more usable replacement for 
> 'ParameterNameAware'



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to