Hi Scott, I have already put the groovy part in a .groovy file, though just wanted to know if i had missed something. Thanks again.
On Sat, Jun 19, 2010 at 12:56 PM, varun bhansaly <[email protected]>wrote: > Hi Atul, > Thanks for ur reply. > I had already tried that with type = "Object", it still does not work, > still seen as instanceof String. > > Hi Scott, > There are no asterisks, for the post i had replaced " with ". > > > > On Sat, Jun 19, 2010 at 10:08 AM, Atul Vani <[email protected]>wrote: > >> hi Varun, >> >> try using 'type' attribute >> <set field="foo" value="${groovy: ...}" type="..."/> >> >> -- >> Thanks & Regards >> Atul Vani >> Enterprise Software Developer >> HotWax Media Pvt. Ltd. >> http://www.hotwaxmedia.com/ >> We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for >> yourself. >> >> >> varun bhansaly wrote: >> >>> Hi, >>> I am using ofbiz 09.04, facing an issue with groovy & screen widget. >>> my screen widget action contains - >>> <set field="*andCondition*" value="*${groovy: return >>> org.ofbiz.entity.condition.EntityCondition.makeCondition("isVirtual", >>> "Y")}* >>> " /> >>> In my groovy script *andCondition *is an instanceof *String* (isVirtual = >>> Y) >>> instead of *EntityCondition*. >>> >>> *What could be possibly wrong, am i missing something ? >>> * >>> >>> >> > > > -- > Regards, > Varun Bhansaly > -- Regards, Varun Bhansaly
