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

Add support for disabling the namespacing of ids during a partial page render

    Details

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

      Description

      Tapestry traditionally has namespaced all ids generated during an Ajax partial page render (the result of clicking a link, or submitting a form, that updates a Zone on the client). The namespacing is the injection of a arbitrary string (a nanosecond timestamp, in hex) into the middle of all ids. This ensures no name collisions on the client ... but it breaks other features, such as rendering of validation errors for a Form nested inside the Zone.

      By disabling this feature, and allocating ids exactly the way they would be during a traditional full-page render, some features (such as rendering validation errors) can be restored ... for simple pages!

      This feature should only be used as a last resort, since it can have unexpected consequences.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: