[
https://issues.apache.org/jira/browse/WW-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14576788#comment-14576788
]
ASF GitHub Bot commented on WW-4499:
------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/struts/pull/41
> 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)