On Tue, 26 Jul 2011 06:10:29 -0700 (PDT)
eugenebalt <[email protected]> wrote:

>                 li.add(new Label("bookId"), new Model("a"));

You're adding:

new Label("bookId"), new Model("a")

That is a new Label and a new Model. You want:

new Label("bookId", new Model("a"))

which is a new Label with an id and a model.

Carl-Eric
www.wicketbuch.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to