You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Raul Montes (JIRA)" <ji...@apache.org> on 2011/01/06 19:47:45 UTC

[jira] Created: (TAP5-1403) Add support for Arrays in request parameters

Add support for Arrays in request parameters
--------------------------------------------

                 Key: TAP5-1403
                 URL: https://issues.apache.org/jira/browse/TAP5-1403
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.2
            Reporter: Raul Montes
            Priority: Minor


@RequestParameter annotation should work on parameters that are Arrays (obtained throw Request.getParameters()) so you could have something like this:

Object onEventName(@RequestParameter("parameterName[]") String[] params) { 
     //... 
}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Updated] (TAP5-1403) Add support for Arrays in request parameters

Posted by "Thomas Scheinecker (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Scheinecker updated TAP5-1403:
-------------------------------------

    Attachment: [TAP5-1403] Add support for Arrays in request parameters.patch

added a patch with a possible solution - at least it did the work for me
                
> Add support for Arrays in request parameters
> --------------------------------------------
>
>                 Key: TAP5-1403
>                 URL: https://issues.apache.org/jira/browse/TAP5-1403
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Raul Montes
>            Priority: Minor
>         Attachments: [TAP5-1403] Add support for Arrays in request parameters.patch
>
>
> @RequestParameter annotation should work on parameters that are Arrays (obtained throw Request.getParameters()) so you could have something like this:
> Object onEventName(@RequestParameter("parameterName[]") String[] params) { 
>      //... 
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TAP5-1403) Add support for Arrays in request parameters

Posted by "Thomas Scheinecker (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Scheinecker updated TAP5-1403:
-------------------------------------

    Attachment: [TAP5-1403] Add support for Arrays in request parameters.patch

added a patch with a possible solution - at least it did the work for me
                
> Add support for Arrays in request parameters
> --------------------------------------------
>
>                 Key: TAP5-1403
>                 URL: https://issues.apache.org/jira/browse/TAP5-1403
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Raul Montes
>            Priority: Minor
>         Attachments: [TAP5-1403] Add support for Arrays in request parameters.patch
>
>
> @RequestParameter annotation should work on parameters that are Arrays (obtained throw Request.getParameters()) so you could have something like this:
> Object onEventName(@RequestParameter("parameterName[]") String[] params) { 
>      //... 
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira