Re: how to find sub contents

2008-10-27 Thread Loki
found it, wrong Data Template Type Id for my testcase On Mon, Oct 27, 2008 at 10:32 AM, Loki <[EMAIL PROTECTED]> wrote: > Hi, > if I try to get a related content in in the following way > > ProductContentWrapper.getProductContentAsText(genericProduct, > "UNIQUE_INGREDIENTS", locale, dispatcher); >

Re: how to find sub contents

2008-10-27 Thread Loki
Hi, if I try to get a related content in in the following way ProductContentWrapper.getProductContentAsText(genericProduct, "UNIQUE_INGREDIENTS", locale, dispatcher); I get an exception like this one: java.lang.IllegalArgumentException: Could not find a LocationResolver class name for the locati

Re: how to find sub contents

2008-10-23 Thread Mridul Pathak
Hi,Have a look at org.ofbiz.product.product.ProductContentWrapper class. This is meant to extract Product Content from related content entities. -- Thanks & Regards Mridul Pathak Hotwax Media http://www.hotwaxmedia.com [EMAIL PROTECTED] On Thu, Oct 23, 2008 at 5:49 PM, Loki <[EMAIL PROTECTE

how to find sub contents

2008-10-23 Thread Loki
hi at all, actual I want to write a special standalone servlet which uses ofbiz business classes. So far so good, with "org.ofbiz.product.product.ProductWorker.findProduct(...)" I can access the simple content fields of a product, now I want to get some values from attached content entities, but I