You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/09/03 00:07:21 UTC
[jira] [Created] (TAP5-2382) Add support for disabling the
namespacing of ids during a partial page render
Howard M. Lewis Ship created TAP5-2382:
------------------------------------------
Summary: Add support for disabling the namespacing of ids during a partial page render
Key: TAP5-2382
URL: https://issues.apache.org/jira/browse/TAP5-2382
Project: Tapestry 5
Issue Type: Improvement
Components: tapestry-core
Affects Versions: 5.4
Reporter: Howard M. Lewis Ship
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)