You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/10/09 14:40:02 UTC

[jira] [Resolved] (WICKET-2503) Simplified Markup IDs

     [ https://issues.apache.org/jira/browse/WICKET-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-2503.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0

The first two points are fixed in 1.5.0.
For Selenium tests the app can use wicket:path attribute.
                
> 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
>             Fix For: 1.5.0
>
>
> - 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira