Your HTML didn't come through. Maybe your e-mail client is blocking it? If you want to use an HTML table, why not use a DataTable along with its HeaderToolbar instead of a simple ListView repeater?
See the repeaters at: http://www.wicket-library.com/wicket-examples/index.html ~ Thank you, Paul Bors -----Original Message----- From: appwicket [mailto:wwx....@gmail.com] Sent: Friday, December 07, 2012 11:43 AM To: users@wicket.apache.org Subject: table header not rendered correctly Hi all, I have a List of String for my table: final List<String> title2 = Arrays.asList("1","2","3","4","5","6","7","8","9","10","11","12","13","14"); WebMarkupContainer datacontainer = new WebMarkupContainer("data"); datacontainer.add(new ListView("title2", title2 ) { private static final long serialVersionUID = 1L; @Override protected void populateItem(ListItem item) { item.add(new Label("tl", String.valueOf(item.getModelObject()))); system.out.println("item object = "+String.valueOf(item.getModelObject())); } }); in my html: -------- problem is, when populate item, i got output: item object = 1 item object = 2 item object = 3 item object = 4 item object = 5 item object = item object = 6 item object = 7 item object = 8 item object = item object = 9 item object = 10 item object =11 item object = item object = 12 item object = 13 item object = 14 title2.size() is 14 but why it has more objects when populating items? please help! thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/table-header-not-rendered-correct ly-tp4654596.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org