Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 51153 invoked from network); 30 Apr 2006 05:40:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Apr 2006 05:40:13 -0000 Received: (qmail 22033 invoked by uid 500); 30 Apr 2006 05:40:10 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 21995 invoked by uid 500); 30 Apr 2006 05:40:09 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 21979 invoked by uid 99); 30 Apr 2006 05:40:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Apr 2006 22:40:09 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.228.52] (HELO web50911.mail.yahoo.com) (68.142.228.52) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 29 Apr 2006 22:40:08 -0700 Received: (qmail 87015 invoked by uid 60001); 30 Apr 2006 05:39:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zUeT6jKu/m2454UM8/A1zSg5432rSh14MdMMdx/S72YLo8cXhgikxZpkC0cnUxQUXc8rHmVnilZZa4zKP54fjVCL3nCq39G36nfvLupAIUPIVvUQOerDONjCPNBRUyBl8e8MUPxeCf+71srv6n37H1HKaA/GbKpx/WCj8mhzoSo= ; Message-ID: <20060430053947.87013.qmail@web50911.mail.yahoo.com> Received: from [72.148.142.191] by web50911.mail.yahoo.com via HTTP; Sat, 29 Apr 2006 22:39:47 PDT Date: Sat, 29 Apr 2006 22:39:47 -0700 (PDT) From: Nestor Urquiza Subject: Re: [scxml] adding an xml to the datamodel To: Jakarta Commons Users List In-Reply-To: <20060430005620.46586.qmail@web50914.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I finally got it ;-) and you said it already, the datamodel is there in memory holding everything, not only the special tag defined in the scxml specs but also the context attached to the executor. So I was missing two lines in my addDataToModel() below Node node = d.getNode(); rootCtx.set("bubp", node); then I will answer my question: Given a settings file: ........ The condition to test if appType is equal to SP using jexl is: ........ Thanks both of you guys!, Nestor __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org