Description
- If you set a markup id with Component.setMarkupId("..."), this should include setOutputMarkupId(true) automatically.
- If the HTML tag in the markup has an id="..." attribute, this should be equivalent to calling Component.setMarkupId("...").
- In development mode wicket should yield a warning if rendered markup ids are not unique.
- Automatically generated Markup IDs should be guaranteed to be stable and not depend on session / component ordering.
Motivation: Make it easier to work with automatically generated / manually assigned HTML IDs for refering to markup elements in test code (browser-based tests, for example Selenium) and for working with markup ids in javascript code.
Attachments
Issue Links
- is related to
-
WICKET-2111 Ability to generate markup ids in alternate fashion
- Resolved