Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 69697 invoked from network); 6 May 2010 15:35:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 May 2010 15:35:02 -0000 Received: (qmail 45879 invoked by uid 500); 6 May 2010 15:35:01 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 45767 invoked by uid 500); 6 May 2010 15:35:00 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 45759 invoked by uid 99); 6 May 2010 15:35:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 May 2010 15:35:00 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fmorbini@gmail.com designates 209.85.160.171 as permitted sender) Received: from [209.85.160.171] (HELO mail-gy0-f171.google.com) (209.85.160.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 May 2010 15:34:52 +0000 Received: by gyf3 with SMTP id 3so52892gyf.30 for ; Thu, 06 May 2010 08:34:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=TrMDMIkaar6CrDPgDs0hSKlulCbHpybWfDAlsS2J44k=; b=nglNMs9pO/xX3h+pEJqsYKzdHLXHd9W5vCYMzB2FIl5zdPL9ilUhUt6zammoVhwMAZ Yd5nfiI1YnYimz1E0fcz8W3Xq07Yq/R9BalS6MYROL1GyrpDIxG2AGb0uvH42ehLhkGD Xl4vwmTSJegFgtodKEjg9yKMzQSsMVOWzudr4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=atba2QSEYgfefgnkq7HeIjqaIQwGeWK6A+pKa49oWiZ0Sp78pqaPFs+w2cwP8mh3i6 CNY23OdTHrCNKSK2Stm/esyQdptx9xg+/fP7wYcBoTx4yg+iEyc0BPKVXM7wjuQ7xckw S34O11+mnOxgid3GA+Mtgey8HCkTDV+bLvaRM= Received: by 10.151.88.18 with SMTP id q18mr1639163ybl.33.1273160071227; Thu, 06 May 2010 08:34:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.78.13 with HTTP; Thu, 6 May 2010 08:34:11 -0700 (PDT) From: Fabrizio Morbini Date: Thu, 6 May 2010 08:34:11 -0700 Message-ID: Subject: [scxml] templating/src/xinclude and returning a value(through datamodel/donedata) To: user@commons.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, i'm experimenting with the src attribute to reuse fsm. I'm having some trouble with returning a value from an included fsm to the calling state. I'm using this description at http://shale.apache.org/shale-dialog-scxml/index.html, in particular the section about subdialogs from which it seems possible to return a value from an included scxml fsm. However i have been unable to do so. I've tried several variants but none with the expected outcome. Here is the current variant: =============file a.scxml===================================== =============end of file a.scxml============================== =============file b.scxml===================================== =============end of file b.scxml============================== i tried to use also instead of a previously defined variable in the datamodel, without success. the simple way would be to use the donedata in a final state in the included fsm but it doesn't seem that donedata is supported, is this correct? given that src is not going to be supported in the next standard, do you have some pointer to examples/doc of how to use xinclude to do what the src is supposed to do? thanks, fabrizio. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org