Return-Path: Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: (qmail 31838 invoked from network); 8 Mar 2011 12:50:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Mar 2011 12:50:07 -0000 Received: (qmail 74664 invoked by uid 500); 8 Mar 2011 12:50:07 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 74645 invoked by uid 500); 8 Mar 2011 12:50:07 -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 74636 invoked by uid 99); 8 Mar 2011 12:50:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 12:50:07 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [93.17.128.1] (HELO smtp21.services.sfr.fr) (93.17.128.1) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Mar 2011 12:49:59 +0000 Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2104.sfr.fr (SMTP Server) with ESMTP id 8ED7B7000094 for ; Tue, 8 Mar 2011 13:49:39 +0100 (CET) Received: from inspiron530 (unknown [95.176.19.60]) by msfrf2104.sfr.fr (SMTP Server) with SMTP id 56E007000092 for ; Tue, 8 Mar 2011 13:49:39 +0100 (CET) X-SFR-UUID: 20110308124939355.56E007000092@msfrf2104.sfr.fr Message-ID: <9B40F0663BA747FE82CEC56372388892@inspiron530> Reply-To: "Jacques Le Roux" From: "Jacques Le Roux" To: References: Subject: Re: Using in minilang Date: Tue, 8 Mar 2011 13:49:45 +0100 Organization: Les Arts Informatiques MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Virus-Checked: Checked by ClamAV on apache.org Please ask rather Opentaps questions on Opentaps forum Thanks Jacques From: "Justin Robinson" > 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)); > > > in-map-name="getEmail"> > > > > > > -- > Regards, > Justin > Venture-Net Research & Development >