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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.4
    • 5.4
    • tapestry-core
    • 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

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: