Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 56428 invoked from network); 29 Jun 2006 06:17:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jun 2006 06:17:14 -0000 Received: (qmail 13799 invoked by uid 500); 29 Jun 2006 06:17:10 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 13737 invoked by uid 500); 29 Jun 2006 06:17: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 13726 invoked by uid 99); 29 Jun 2006 06:17:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2006 23:17:09 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rahul.akolkar@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2006 23:17:09 -0700 Received: by py-out-1112.google.com with SMTP id d42so120388pyd for ; Wed, 28 Jun 2006 23:16:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y1lUOUVv7blEPbRsGBYaFXxCWQ80kr4olj0xoLdlooUDsFDvuptCWtht6imyclBtXk1+sNIm4fyl/SfElw1647UCd8BdPh5iv+fIfCITcv0wty/bAZZYp7g0/F+D0OsNPfxPgJ4yBYQdCNH1wOzhZhJR0D3SCEO6amMAlcx9rQE= Received: by 10.35.63.2 with SMTP id q2mr894037pyk; Wed, 28 Jun 2006 23:16:48 -0700 (PDT) Received: by 10.35.68.5 with HTTP; Wed, 28 Jun 2006 23:16:48 -0700 (PDT) Message-ID: Date: Thu, 29 Jun 2006 11:46:48 +0530 From: "Rahul Akolkar" To: "Jakarta Commons Users List" Subject: Re: [scxml] nested if statements In-Reply-To: <20060628090543.63017.qmail@web50910.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060628090543.63017.qmail@web50910.mail.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/28/06, Nestor Urquiza wrote: > Hello guys, below a snippet of code where I am trying > to use an if statement within another one. > > > And if the nested if is moved to the same level of the > first one no exception is thrown of course. > > Could anyone suggest how can I get the package to work > with nested if statements? > Thats a bug, please file in JIRA: http://jakarta.apache.org/commons/scxml/issue-tracking.html I'm away for a couple of weeks, this will get fixed when I'm back. The fix is straightforward, if you need it urgently -- treat and as containers for other actions (just like holds a list of child actions) and modify oacs.model.If#execute(...) accordingly. -Rahul > Thanks! > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org