[ 
https://issues.apache.org/jira/browse/WICKET-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785920#action_12785920
 ] 

Juergen Donnerstag commented on WICKET-2503:
--------------------------------------------

I've implemented 1 and 2 based on trunk (1.5) (still on my laptop). Don't think 
we can reasonably implement it in 1.4



> 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.

Reply via email to