You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/12/22 03:43:12 UTC

[jira] [Commented] (TAP5-2039) Element.attribute() should treat "class" specially, appending the new value to the old

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

Hudson commented on TAP5-2039:
------------------------------

Integrated in tapestry-trunk-freestyle #983 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/983/])
    TAP5-2039: Element.attribute() should treat "class" specially, appending the new value to the old (Revision cf19bd9b11a807e1c885256906c280a68812f12a)

     Result = FAILURE
hlship : 
Files : 
* tapestry-core/src/main/java/org/apache/tapestry5/dom/Element.java
* tapestry-core/src/main/java/org/apache/tapestry5/internal/renderers/LocationRenderer.java
* tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Tree.java
* tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/FormInjector.java

                
> Element.attribute() should treat "class" specially, appending the new value to the old
> --------------------------------------------------------------------------------------
>
>                 Key: TAP5-2039
>                 URL: https://issues.apache.org/jira/browse/TAP5-2039
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.4
>
>
> This is a generally useful special case, that everytime you invoke element.attribute("class", "foo"), then "foo" is appended, after a space, to the existing value, rather than replacing it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira