You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Naoki Takezoe (JIRA)" <ji...@apache.org> on 2009/03/29 16:51:50 UTC

[jira] Commented: (CLK-491) HiddenList control

    [ https://issues.apache.org/jira/browse/CLK-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693567#action_12693567 ] 

Naoki Takezoe commented on CLK-491:
-----------------------------------

I committed HiddenList into click-extras.
I will also add usage of HiddenList to examples.

> HiddenList control
> ------------------
>
>                 Key: CLK-491
>                 URL: https://issues.apache.org/jira/browse/CLK-491
>             Project: Click
>          Issue Type: New Feature
>          Components: extras
>    Affects Versions: 2.0.1
>            Reporter: Naoki Takezoe
>            Assignee: Naoki Takezoe
>            Priority: Minor
>
> Form control does not allow to add fields as same name.
> So we can't send multi parameters using hidden field.
> I think new HiddenList control can solve this issue.
> For example:
> ----
> HiddenList hiddenList = new HiddenList("hiddenList");
> hiddenList.addValue("1");
> hiddenList.addValue("2");
> hiddenList.addValue("3");
> form.add(hiddenList);
> ----
> Generated HTML:
> ----
> <input type="hidden" name="hiddenList" value="1"/>
> <input type="hidden" name="hiddenList" value="2"/>
> <input type="hidden" name="hiddenList" value="3"/>
> ----

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


Re: [jira] Commented: (CLK-491) HiddenList control

Posted by Bob Schellink <sa...@gmail.com>.
> 
> I committed HiddenList into click-extras.
> I will also add usage of HiddenList to examples.


Looks great, thanks Naoki.