Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2039

Element.attribute() should treat "class" specially, appending the new value to the old

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: