I've implemented a CheckGroupColumn which is supposed to easily extend the DataTable with multi-row actions. But when i add it to my DataTable i get the following exception: --- WicketMessage: Component label must be applied to a tag of type 'input', not '<span wicket:id="label">' (line 0, column 0) [markup = jar:file:/D:/work/base/LIB_POOL/wicket/wicket-extensions-1.4.9.jar!/org/apache/wicket/extensions/markup/html/repeater/data/table/HeadersToolbar.html <wicket:panel> <tr class="headers"> <span wicket:id="headers"> <th wicket:id="header"><span wicket:id="label">[header-label]</span></th> </span> </tr> </wicket:panel>, index = 6, current = '<span wicket:id="label">' (line 21, column 27)] ---
I do understand whats wrong here, but i have no clue how to work a round that problem. Any ideas? Heres the CheckGroupColumn.java: public class CheckGroupColumn<T> extends AbstractColumn<T> { private static final long serialVersionUID = 1L; private CheckGroup<T> checkGroup; public CheckGroupColumn(CheckGroup<T> checkGroup) { super(new Model<String>("")); this.checkGroup = checkGroup; } @Override public Component getHeader(String componentId) { return new CheckGroupSelector(componentId, checkGroup); } @Override public void populateItem(Item<ICellPopulator<T>> cellItem, String componentId, IModel<T> rowModel) { cellItem.add(new Check<T>(componentId, rowModel, checkGroup)); } } --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org