You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/10/12 13:24:22 UTC
[jira] [Commented] (WW-4499) s:radio and s:checkbox tag doesn't
accept "readonly" attribute
[ https://issues.apache.org/jira/browse/WW-4499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952988#comment-14952988 ]
Hudson commented on WW-4499:
----------------------------
SUCCESS: Integrated in Struts-JDK7-master #371 (See [https://builds.apache.org/job/Struts-JDK7-master/371/])
WW-4499 - Removed readonly attribute from radio, checkbox and (aleksandr.7m: rev d587a687a85edb771d8d6421e45f7e699f116a94)
* core/src/main/java/org/apache/struts2/components/CheckboxList.java
* core/src/site/resources/tags/checkboxlist.html
* core/src/main/resources/template/simple/checkbox.ftl
* core/src/main/java/org/apache/struts2/components/Radio.java
* core/src/site/resources/tags/checkbox.html
* core/src/site/resources/tags/radio.html
* core/src/main/java/org/apache/struts2/components/Checkbox.java
* core/src/main/resources/template/simple/radiomap.ftl
> 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
> Fix For: 2.5
>
>
> <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)