Hi, When users use Nabble to write to our mailing lists the markup is removed. Such mails have something like: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/table-header-not-rendered-correctly-tp4654596.html Sent from the Users forum mailing list archive at Nabble.com.
at the bottom. You can click on this link to see the original markup. About the problem itself - I cannot see anything suspicious in your code. Attach a debugger and see what your service actually returns. On Fri, Dec 7, 2012 at 6:53 PM, Paul Bors <[email protected]> wrote: > 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:[email protected]] > Sent: Friday, December 07, 2012 11:43 AM > To: [email protected] > 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: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
