[ https://issues.apache.org/jira/browse/WICKET-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512816 ]
Frank Bille Jensen commented on WICKET-758: ------------------------------------------- imho it's more complicated to maintain id's in different places instead of once and for all ensure that the markup id is valid. It's fine that the repeater uses num as wicket id. I totally agree that it doesn't have to be something involving heavy regex, but imo it should be in the getMarkupId so other components don't have to worry about it. > HTML validation cleanliness > --------------------------- > > Key: WICKET-758 > URL: https://issues.apache.org/jira/browse/WICKET-758 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.3.0-beta1, > 1.3.0-beta2 > Environment: osx jvm etc etc > Reporter: Victor Igumnov > Assignee: Frank Bille Jensen > Priority: Minor > Attachments: WICKET-758.patch > > > AbstractRepeater generates IDs starting with integers, html ids can't start > with a number. > Modication > public String newChildId(); change -> return > "id"+String.valueOf(childIdCounter); > WicketAjaxIndicatorAppender append an alt tag to the indicator, line 74. > Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.