[ 
https://issues.apache.org/jira/browse/WW-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14566061#comment-14566061
 ] 

ASF GitHub Bot commented on WW-4499:
------------------------------------

GitHub user aleksandr-m opened a pull request:

    https://github.com/apache/struts/pull/41

    WW-4499 - Removed readonly attribute from radio, checkbox and checkboxlist 
tags.

    Readonly attribute is ignored in radio and checkbox inputs.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aleksandr-m/struts feature/WW-4499

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/struts/pull/41.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #41
    
----
commit d587a687a85edb771d8d6421e45f7e699f116a94
Author: Aleksandr Mashchenko <aleksandr...@gmail.com>
Date:   2015-05-30T15:35:25Z

    WW-4499 - Removed readonly attribute from radio, checkbox and checkboxlist 
tags.

----


> s:radio and s:checkbox tag doesn't accept "readonly" attribute
> --------------------------------------------------------------
>
>                 Key: WW-4499
>                 URL: https://issues.apache.org/jira/browse/WW-4499
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.3.20
>         Environment: Struts-2.3.20
> Tomcat 7.0.47
> JDK 1.8.0 (Windows x64)
>            Reporter: Iwasa Kazmi
>
> <s:radio> and <s:checkbox> tag in JSP doesn't accept "readonly" attribute.
> On Tomcat, org.apache.jasper.JasperException is thrown and it says unable to 
> find the setter method.
> In org.apache.struts2.components package, 5 classes have setReadonly() method.
>   Checkbox
>   CheckboxList
>   Radio
>   TextArea
>   TextField
> In org.apache.struts2.views.jsp.ui package, only two classes have 
> setReadonly() method.
>   TextareaTag
>   TextFieldTag
> RadioTag class, CheckboxTag class, and CheckboxListTag class need 
> setReadonly() method ?
> According to the struts-tags.tld and tag reference on the web site, these 
> three tags should accept "readonly" attribute.
> If "readonly" attribute is not supported on these tags, struts-tags.tld and 
> reference pages should be corrected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to