Hi all, I have a page where one and the same table (in terms of markup) is rendered multiple times with different data at the same time, simply underneath each other. The markup uses "id" and "headers" attributes, but with static values in the markup and with multiple instances of the table this is wrong of course, because ids need to be unique across a whole page, not only across a single table.
In terms of Wicket the tables itself are rendered using IDataView with the table markup coming from a panel. The rows of the table are rendered using IDataView as well and each cell is e.g. a simple Label component. With each cell being a Label, I could add an AttributeReplacer or sich replacing the static "headers" from the markup with some generic value. But I would like to avoid the need to think of this for every table and a more generic approach. Additionally, the "thead" of the table with the column headers and ids is no wicket component currently, but I would need to make each column header one to be able to change the "id" using an AttributeReplacer as well. So is there some easy, somewhat clean way to change the markup of a component instance before it is used for rendering and produce some page unique ids in it? Thanks! Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...........05151- 9468- 55 Fax...............05151- 9468- 88 Mobil..............0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org