struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4166) Allow "class" attribute on Struts tags
Date Tue, 29 Jul 2014 18:32:40 GMT

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

Hudson commented on WW-4166:
----------------------------

SUCCESS: Integrated in Struts-JDK6-develop #66 (See [https://builds.apache.org/job/Struts-JDK6-develop/66/])
WW-4166 Adds class and style aliases (lukaszlenart: rev 6fbd1bef3a91eb6992507086b75f6d22bcb95fb2)
* core/src/site/resources/tags/checkboxlist.html
* core/src/site/resources/tags/checkbox.html
* core/src/site/resources/tags/combobox.html
* core/src/site/resources/tags/actionmessage.html
* core/src/site/resources/tags/a.html
* core/src/site/resources/tags/debug.html
* core/src/site/resources/tags/datetextfield.html
* core/src/site/resources/tags/select.html
* core/src/site/resources/tags/fielderror.html
* core/src/site/resources/tags/textarea.html
* core/src/site/resources/tags/form.html
* core/src/site/resources/tags/component.html
* core/src/site/resources/tags/label.html
* core/src/site/resources/tags/password.html
* core/src/site/resources/tags/optiontransferselect.html
* core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java
* core/src/site/resources/tags/token.html
* core/src/site/resources/tags/textfield.html
* core/src/site/resources/tags/head.html
* core/src/site/resources/tags/submit.html
* core/src/site/resources/tags/hidden.html
* core/src/site/resources/tags/radio.html
* core/src/main/java/org/apache/struts2/components/UIBean.java
* core/src/site/resources/tags/doubleselect.html
* core/src/site/resources/tags/div.html
* core/src/site/resources/tags/reset.html
* core/src/site/resources/tags/updownselect.html
* core/src/site/resources/tags/file.html
* core/src/site/resources/tags/actionerror.html
* core/src/site/resources/tags/inputtransferselect.html
WW-4166 Adds autogenerated files (lukaszlenart: rev fc6a2c8777ba4bfd35dd9b2d3042beafd9d21278)
* core/src/site/resources/tags/a.html
* core/src/site/resources/tags/label.html
* core/src/site/resources/tags/ajax/tree.html
* core/src/site/resources/tags/ajax/datetimepicker.html
* core/src/site/resources/tags/debug.html
* core/src/site/resources/tags/div.html
* core/src/site/resources/tags/password.html
* core/src/site/resources/tags/actionerror.html
* core/src/site/resources/tags/file.html
* core/src/site/resources/tags/ajax/tabbedpanel.html
* core/src/site/resources/tags/ajax/autocompleter.html
* core/src/site/resources/tags/checkbox.html
* core/src/site/resources/tags/doubleselect.html
* core/src/site/resources/tags/token.html
* core/src/site/resources/tags/reset.html
* core/src/site/resources/tags/inputtransferselect.html
* core/src/site/resources/tags/hidden.html
* core/src/site/resources/tags/textfield.html
* core/src/site/resources/tags/datetextfield.html
* core/src/site/resources/tags/optiontransferselect.html
* core/src/site/resources/tags/ajax/textarea.html
* core/src/site/resources/tags/component.html
* core/src/site/resources/tags/select.html
* core/src/site/resources/tags/fielderror.html
* core/src/site/resources/tags/head.html
* core/src/site/resources/tags/ajax/a.html
* core/src/site/resources/tags/checkboxlist.html
* core/src/site/resources/tags/textarea.html
* core/src/site/resources/tags/ajax/div.html
* core/src/site/resources/tags/combobox.html
* core/src/site/resources/tags/submit.html
* core/src/site/resources/tags/ajax/treenode.html
* core/src/site/resources/tags/actionmessage.html
* core/src/site/resources/tags/updownselect.html
* core/src/site/resources/tags/radio.html
* core/src/site/resources/tags/ajax/submit.html
* core/src/site/resources/tags/form.html


> Allow "class" attribute on Struts tags
> --------------------------------------
>
>                 Key: WW-4166
>                 URL: https://issues.apache.org/jira/browse/WW-4166
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Other
>            Reporter: Eric Lentz
>            Assignee: Lukasz Lenart
>            Priority: Trivial
>             Fix For: 2.3.18
>
>
> In building a JSP, and working on web related things outside of the Java environment,
there are lots of tags which all receive the "class" attribute. The Struts developer must
_remember_ to call the attribute cssClass instead. Typing muscle memory drives me to half
of the time typing "class" instead, which leads to HTML which reads, 'class="class java.util.HashMap"'
> Why not just allow "class" like the rest of the HTML world? Why do we need to be different?
I have a billion things to remember when web developing, this shouldn't be one of them.
> We don't even have to to deprecate or obsolete cssClass, just also allow "class"... please!



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message