Return-Path: Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: (qmail 43495 invoked from network); 22 Nov 2010 12:44:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Nov 2010 12:44:58 -0000 Received: (qmail 63436 invoked by uid 500); 22 Nov 2010 12:45:29 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 63228 invoked by uid 500); 22 Nov 2010 12:45:28 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 63220 invoked by uid 99); 22 Nov 2010 12:45:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 12:45:27 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.40.44.193] (HELO smtprelay.hostedemail.com) (216.40.44.193) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 12:45:21 +0000 Received: from filter.hostedemail.com (ff-bigip1 [10.5.19.254]) by smtprelay02.hostedemail.com (Postfix) with SMTP id 5B56A20DE09D for ; Mon, 22 Nov 2010 12:44:59 +0000 (UTC) X-Panda: scanned! X-Session-Marker: 6D61696C696E676C69737440616E7477656273797374656D732E636F6D X-Filterd-Recvd-Size: 1335 Received: from [192.168.2.11] (118.172.59.217.adsl.dynamic.totbb.net [118.172.59.217]) (Authenticated sender: mailinglist@antwebsystems.com) by omf03.hostedemail.com (Postfix) with ESMTP for ; Mon, 22 Nov 2010 12:44:57 +0000 (UTC) Subject: Re: Limiting list resultset From: Hans Bakker To: user@ofbiz.apache.org In-Reply-To: <000c01cb8a42$43c0e220$cb42a660$@mabie@urbannex.co.za> References: <000c01cb8a42$43c0e220$cb42a660$@mabie@urbannex.co.za> Content-Type: text/plain; charset="UTF-8" Date: Mon, 22 Nov 2010 19:44:46 +0700 Message-ID: <1290429886.3715.25.camel@hans-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Hi Gavin, use the findlist service in the action part of the screen and use the resulting list in the freemarker file. Regards, Hans -- Ofbiz on twitter: http://twitter.com/apache_ofbiz Myself on twitter: http://twitter.com/hansbak Antwebsystems.com: Quality services for competitive rates. On Mon, 2010-11-22 at 14:39 +0200, Gavin Mabie wrote: > Hi > > > > Does anybody have any pointers on how to limit a list size - say to the > first three items - I am using a screen definition with an freemarker file. > > > > Thanks in advance > > > > Gavin >