click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naoki Takezoe (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CLK-558) Binding multi request parameter to Page class field
Date Tue, 03 Apr 2012 17:40:24 GMT

     [ https://issues.apache.org/jira/browse/CLK-558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Naoki Takezoe reassigned CLK-558:
---------------------------------

    Assignee: Naoki Takezoe
    
> Binding multi request parameter to Page class field
> ---------------------------------------------------
>
>                 Key: CLK-558
>                 URL: https://issues.apache.org/jira/browse/CLK-558
>             Project: Click
>          Issue Type: New Feature
>          Components: core
>            Reporter: Naoki Takezoe
>            Assignee: Naoki Takezoe
>         Attachments: CLK-558-test.patch, CLK-558.patch
>
>
> Click can bind request parameters to Page class public fields.
> However it can not bind multi parameter to an array or list field.
> I propose adding multi parameter binding support to 
> ClickServlet#processPageRequestParams()
> For example, here is the HTML which send a multi parameter.
> <input type="checkbox" name="option" value="1"/>
> <input type="checkbox" name="option" value="2"/>
> ...
> Click would bind this parameter to array or list public field
> of the Page class such as...
> public String[] option;
> or
> public List<String> option;

--
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

        

Mime
View raw message