Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 99204 invoked from network); 30 Jul 2010 22:11:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Jul 2010 22:11:27 -0000 Received: (qmail 90720 invoked by uid 500); 30 Jul 2010 22:11:26 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 90532 invoked by uid 500); 30 Jul 2010 22:11:25 -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 90524 invoked by uid 99); 30 Jul 2010 22:11:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jul 2010 22:11:24 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [132.206.27.49] (HELO torrent.cc.mcgill.ca) (132.206.27.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jul 2010 22:11:15 +0000 Received: from mailscan1.ncs.mcgill.ca (mailscan1.NCS.McGill.CA [132.216.77.248]) by torrent.cc.mcgill.ca (8.12.11.20060308/8.12.3) with ESMTP id o6UMArFq020000 for ; Fri, 30 Jul 2010 18:10:53 -0400 Received: from mailscan1.ncs.mcgill.ca (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 754D659C8 for ; Fri, 30 Jul 2010 18:10:53 -0400 (EDT) Received: from EXHUB03.campus.mcgill.ca (exhub03.campus.mcgill.ca [132.206.85.148]) by mailscan1.ncs.mcgill.ca (Postfix) with ESMTP id 414F99067 for ; Fri, 30 Jul 2010 18:10:01 -0400 (EDT) Received: from EXMBXVS4B.campus.mcgill.ca ([fe80::4905:ff04:bea:c337]) by EXHUB03.campus.mcgill.ca ([fe80::580c:1d8a:85ef:7ced%10]) with mapi; Fri, 30 Jul 2010 18:08:30 -0400 From: Christopher Dragert To: Commons Users List Date: Fri, 30 Jul 2010 18:08:29 -0400 Subject: [scxml] Calling methods through scxml Thread-Topic: [scxml] Calling methods through scxml Thread-Index: AQHLMDO9FIsTVtG4nEi1BqZGLhqxjw== Message-ID: <3EE16EF73EB5A040A3F18F5599CCC3830155FD3CA70A@EXMBXVS4B.campus.mcgill.ca> Accept-Language: en-US, en-CA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-CA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-PMX-Version: 5.4.2.338381, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2010.6.9.160619 X-McGill-WhereFrom: Internal X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm trying to find an elegant way to call a method from an object using scx= ml. I start by placing my object ("foo") in the context, then starting exe= cution. My goal would be to have something like: but this does not work since expr is not a tag. Instead, the best method I= 've found is to create a dummy variable in my data model and then fake assi= gnments to it: =20 While this works, it seems unneccesary and contrived. Is there a more eleg= ant way to do this? Thanks, Chris Dragert= --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org