You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2010/11/21 20:09:14 UTC
[jira] Commented: (WICKET-2503) Simplified Markup IDs
[ https://issues.apache.org/jira/browse/WICKET-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934333#action_12934333 ]
Juergen Donnerstag commented on WICKET-2503:
--------------------------------------------
patch attached to WICKET-2111
> Simplified Markup IDs
> ---------------------
>
> Key: WICKET-2503
> URL: https://issues.apache.org/jira/browse/WICKET-2503
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4.1
> Reporter: Ralf Ebert
>
> - 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.