Tapestry
  1. Tapestry
  2. TAPESTRY-2294

The various link components should only generate an id attribute if the id parameter is bound

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.11
    • Fix Version/s: 5.0.12
    • Component/s: None
    • Labels:
      None

      Description

      This is the id parameter, not the t:id attribute. If bound, then the bound value is uniqued via the PageRenderSupport and output. If id is not bound, not id attribute is rendered.

        Activity

        Hide
        Howard M. Lewis Ship added a comment -

        Or, here's a better idea; an id should only be generated if getClientId() is invoked, at which point the id attribute of the element may be set. Dynamic updates to the DOM are a great thing.

        Show
        Howard M. Lewis Ship added a comment - Or, here's a better idea; an id should only be generated if getClientId() is invoked, at which point the id attribute of the element may be set. Dynamic updates to the DOM are a great thing.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development