[jira] [Updated] (CLK-123) value of CheckBox should not be the same as "checked" attribute

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Updated] (CLK-123) value of CheckBox should not be the same as "checked" attribute

JIRA jira@apache.org

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

Adrian A. updated CLK-123:
--------------------------

    Issue Type: Improvement  (was: Bug)

> value of CheckBox should not be the same as "checked" attribute
> ---------------------------------------------------------------
>
>                 Key: CLK-123
>                 URL: https://issues.apache.org/jira/browse/CLK-123
>             Project: Click
>          Issue Type: Improvement
>          Components: core
>         Environment: click-RC1
>            Reporter: takata, satoshi
>            Assignee: Malcolm Edgar
>             Fix For: 3.0.0
>
>
> I came across with the problem of getting checkbox value.
> The current CheckBox implementation implies that only boolean values are
> expected, coupled with "checked" attribute.  
> But I wanted to get the value other than boolean, like the primary key of
> the database table.  I expected the html tag as bellow:
> <input name="optionalanswer" type="checkbox" id="form_optionalanswer"
> value="ANSWER1"  checked="checked"/>
> I think checkbox value should not go together with the "checked" toggle status,
> so it would not be necessary to override getValue(), setValue() etc. methods.



--
This message was sent by Atlassian JIRA
(v6.1#6144)
Loading...