Hi all, In this case we can use <entity-one> , which will bring only on record.
thanks prasath rajan On Wed, Jun 22, 2011 at 3:19 PM, Hans Bakker <[email protected]>wrote: > Hi Pierre, > > I assume you generated the list from the database? > why not use <entity-condition with the condition you want to search on? > > regards, > Hans > > On Wed, 2011-06-22 at 11:04 +0200, Pierre Smits wrote: > > Hi all, > > > > I am stumped... I need to iterate through a list to find the the first > entry > > given a set of parameters in a simple-method, but how do I escape from > the > > iteration after having found the entry? > > > > I know that in groovy I can do a while loop and if I have found the entry > I > > can issue a 'break; and close the iteration. But how do I do this in the > > interation in a simple-method? > > > > Regards, > > > > Pierre > > -- > Ofbiz on twitter: http://twitter.com/apache_ofbiz > Myself on twitter: http://twitter.com/hansbak > Antwebsystems.com: Quality services for competitive rates. > >
