[ https://issues.apache.org/jira/browse/WW-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14576787#comment-14576787 ]
ASF subversion and git services commented on WW-4499: ----------------------------------------------------- Commit 7d2370e0177e0cb39dce6b0d2b5d241bea739dc2 in struts's branch refs/heads/master from [~lukaszlenart] [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=7d2370e ] WW-4499 Drops misleading readonly attribute Closes #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)