I am overriding ListView and have the following issue:
add(new ListView("books", (IModel) books) {
@Override
protected void populateItem(ListItem li) {
li.add(new Label("bookId"), new Model("a"));
}
});
The line "li.add" is flagged as an error,
"Cannot find symbol add(Label,Model)"
I tried the direct string, as in "a", and also new Model("a"), and none of
these work. Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Problem-in-ListView-populateItem-tp3695627p3695627.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]