Re: Recommended entity retrieval method

2013-03-12 Thread Lanre Abiwon
>>> >>>> Processed script: "${parameters.scriptName}" >>> >>>> <#if data?has_content && (data?is_sequence || data?is_hash)> >>>> >>> >>>> </#if> >>>> </#if> >>>

Re: Recommended entity retrieval method

2013-03-11 Thread Paul Foxworthy
> >>> </#if> >>> </#macro> >>> >>> On the off chance that there might be a problem elsewhere, I removed the >>> section for displaying data and I noticed that the header were composed >>> of >>> the sql statements the delegator >>

Re: Recommended entity retrieval method

2013-03-10 Thread Lanre Abiwon
I am very new to ofbiz and aware there's a >> lot of ground to cover, however this book is several years old and I'd >> like to know if there's an easier/alternate way to >> retrieve the data. I should mention that I use groovy wherever possible in >> my tests as the book suggests that this is the new scripting method to >> replace bsh (learning groovy at the same >> time also). >> I am working with opentaps 1.5 which I believe ships with ofbiz 10.x >> Thanks > > > > > > - > -- > Coherent Software Australia Pty Ltd > http://www.coherentsoftware.com.au/ > > Bonsai ERP, the all-inclusive ERP system > http://www.bonsaierp.com.au/ > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Recommended-entity-retrieval-method-tp4639244p4639774.html > Sent from the OFBiz - Dev mailing list archive at Nabble.com. >

Re: Recommended entity retrieval method

2013-03-10 Thread Paul Foxworthy
> lot of ground to cover, however this book is several years old and I'd > like to know if there's an easier/alternate way to > retrieve the data. I should mention that I use groovy wherever possible in > my tests as the book suggests that this is the new scriptin

Recommended entity retrieval method

2013-02-04 Thread Lanre Abiwon
Bought the book (Apache Ofbiz Development) and going through chapter 8. When attempting to retrieve the data via the beanshell script: "data = delegator.findAll()" The ftl generates an error: " Expecting a string, date or number here, Expression record[key]!"" is instead a freemarker.ext.beans.Si