Return-Path: X-Original-To: apmail-wicket-users-archive@minotaur.apache.org Delivered-To: apmail-wicket-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7868110628 for ; Mon, 10 Jun 2013 19:50:09 +0000 (UTC) Received: (qmail 30164 invoked by uid 500); 10 Jun 2013 19:50:08 -0000 Delivered-To: apmail-wicket-users-archive@wicket.apache.org Received: (qmail 30131 invoked by uid 500); 10 Jun 2013 19:50:08 -0000 Mailing-List: contact users-help@wicket.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@wicket.apache.org Delivered-To: mailing list users@wicket.apache.org Received: (qmail 30123 invoked by uid 99); 10 Jun 2013 19:50:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 19:50:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of goupilpierre@gmail.com designates 209.85.217.171 as permitted sender) Received: from [209.85.217.171] (HELO mail-lb0-f171.google.com) (209.85.217.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jun 2013 19:50:03 +0000 Received: by mail-lb0-f171.google.com with SMTP id 13so3475612lba.16 for ; Mon, 10 Jun 2013 12:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=9qIkHNNDxQqR4EMf9TNyVR/fqTyakrT83GOWnf/046I=; b=bOA6RcXXutqZacxu9TmSAGtlkhnIj8UVD0+ppIpzIDRFMfyXB2WGIORm/b2QXumEMd S3uqTbh+PKbTs6DPus+Exazv1tl9BTDFeAzTtSKCe5y9PG9rC3rK1McQWjcoFeFnbbM/ DctiekJhPCsI7OP6fOXdcArao57qIulrdHoPZoEcEMlAbd7Pt50UA2EIwZrRD4PhsS3u GdU2Kd9Y319VMKkGIZXU2W3xpKH5ScoWnJvISmPa/cIvCFRtaU932ADnkcDypqUAwPcJ 01nxajW/Wz8KzEzcbNAnr7jHUsdA4ddrTG4qw3COr+hVmwvt7mlEAmzU4CdMpwdpWhSB aK+w== X-Received: by 10.152.26.166 with SMTP id m6mr5769842lag.50.1370893781274; Mon, 10 Jun 2013 12:49:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.146.135 with HTTP; Mon, 10 Jun 2013 12:49:21 -0700 (PDT) From: Pierre Goupil Date: Mon, 10 Jun 2013 21:49:21 +0200 Message-ID: Subject: PageableListView with two rows To: users@wicket.apache.org Content-Type: multipart/alternative; boundary=089e0160a6f4db9adc04ded21493 X-Virus-Checked: Checked by ClamAV on apache.org --089e0160a6f4db9adc04ded21493 Content-Type: text/plain; charset=UTF-8 Good evening, Is there a way to have a PageableListView with two rows? Here is my code: final PageableListView columnListView = new PageableListView( "columnListView", secondLine, SearchPage.RESULTS / 2) { private static final long serialVersionUID = 1L; @Override protected void populateItem(final ListItem item) { final IModel p = item.getModel(); item.add(new ProfilePanel("profile", p)); } }; this.add(columnListView); this.add(new AjaxPagingNavigator("navigator", columnListView)); It works perfectly well for one line of results, but I'd like to have two lines of 4 columns instead of one line of 8 columns. I don't think a DataTable would fit my needs since the ProfilePanel object is a complex display. Any help will be much appreciated. Regards, Pierre -- "Un truc bien avec la musique, c'est que quand elle te frappe, tu n'as pas mal. Alors frappez-moi de musique ! Frappez-moi de musique, maintenant !" (Bob Marley : "Trenchtown Rock") --089e0160a6f4db9adc04ded21493--