ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vivek <er.jadiyavi...@gmail.com>
Subject Re: EntityListIterator Not Closed Error
Date Fri, 20 May 2011 04:55:11 GMT
Dear paul,

Thanks for your reply.

Yes i think indeed the problem is associated with a situation where there's
*less* than five items.
But i hope that should not be a concern, as you never know how many items
will be there in the list for the first time & as soon as the code is run,
it triggers exception as said earlier.

Still unable to figure it out, how can this be evaded. If in Java we might
have written conditional limit by checking the count of the entity, but how
in XML am i gonna do this, however it was just a guess.
like if (count >5)
get first 5
else get all.

Any further suggestion on this?


Kind Regards,
Vivek J
View this message in context: http://ofbiz.135035.n4.nabble.com/EntityListIterator-Not-Closed-Error-tp3520179p3537657.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

View raw message