Return-Path: Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: (qmail 40745 invoked from network); 8 Mar 2011 11:58:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Mar 2011 11:58:16 -0000 Received: (qmail 16450 invoked by uid 500); 8 Mar 2011 11:58:15 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 16413 invoked by uid 500); 8 Mar 2011 11:58:15 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 16405 invoked by uid 99); 8 Mar 2011 11:58:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 11:58:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of justin@venturenet.co.za) Received: from [209.85.214.44] (HELO mail-bw0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 11:58:08 +0000 Received: by bwz13 with SMTP id 13so5255696bwz.31 for ; Tue, 08 Mar 2011 03:57:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.156.22 with SMTP id u22mr968250bkw.100.1299585464711; Tue, 08 Mar 2011 03:57:44 -0800 (PST) Received: by 10.204.48.11 with HTTP; Tue, 8 Mar 2011 03:57:44 -0800 (PST) Date: Tue, 8 Mar 2011 13:57:44 +0200 Message-ID: Subject: Using in minilang From: Justin Robinson To: user@ofbiz.apache.org Content-Type: text/plain; charset=ISO-8859-1 I've been trying to wing it with minilang, it seems pretty straight forward...but I ended up with a situation where I could either go with minlang recursion (no clue how to handle the ins and outs) or a bsh script, since the function I need is already defined in a java class I'm trying to go with the latter. The method I wish to use requires a delegator as an argument, how would I provide this from within a minilang script? Also is it possible to set a field field="field" from-field="declared inside" tag.(see example) fragment: String contactPartyId = com.opensourcestrategies.crmsfa.cases.UtilCase.getCasePrimaryContactPartyId(delegator, custRequestId)); -- Regards, Justin Venture-Net Research & Development