[ https://issues.apache.org/jira/browse/WICKET-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Guay-Paquet closed WICKET-3387. ---------------------------------------- > Usage of DataTable gives Child component of repeater x has a non-safe child > id of $toolbar$n > -------------------------------------------------------------------------------------------- > > Key: WICKET-3387 > URL: https://issues.apache.org/jira/browse/WICKET-3387 > Project: Wicket > Issue Type: Bug > Components: wicket-extensions > Affects Versions: 1.5-RC1 > Environment: Wicket in development mode > Reporter: Bertrand Guay-Paquet > Assignee: Igor Vaynberg > Priority: Minor > Fix For: 1.5-RC2 > > > With Wicket in development mode, using a > org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable > produces 2 warnings on each page view (at least with non-empty table data) : > WARN - AbstractRepeater - Child component of repeater > org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable$ToolbarsContainer:topToolbars > has a non-safe child id of $toolbar$0. Safe child ids must be composed of > digits only. > WARN - AbstractRepeater - Child component of repeater > org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable$ToolbarsContainer:bottomToolbars > has a non-safe child id of $toolbar$2. Safe child ids must be composed of > digits only. > Wicket 1.4.15 did not have this behaviour. > org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractToolbar > line 48 is the producer of the guilty "unsafe" child id. > (is the usage of a static counter to produce unique ids safe considering > multiple pages could be creating AbstractToolbars at the same time?) > Steps to reproduce : > Run the wicket-examples in development mode and navigate to > http://localhost:8080/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.DataTablePage. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira