Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 40075 invoked from network); 13 Dec 2010 08:28:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Dec 2010 08:28:51 -0000 Received: (qmail 64659 invoked by uid 500); 13 Dec 2010 08:28:50 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 64225 invoked by uid 500); 13 Dec 2010 08:28:48 -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 64217 invoked by uid 99); 13 Dec 2010 08:28:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 08:28:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jocke29@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qy0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 08:28:41 +0000 Received: by qyk33 with SMTP id 33so5303880qyk.9 for ; Mon, 13 Dec 2010 00:28:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=zN24GGqmkXrYtT05c30NUHXJd2qlDDZl1q96UdTxrXM=; b=gEKtmApUBEewkqjROh8Qg/TDilTG5Xcyi1isNwkr8gq213NpdYRlzUDS72OanCt/jE bA1090+kYOc30etRAokhgMN2QkOg9gn+kGJ2yVEk2xLIFko2IG2a0CKStveNCDRwIRrD HCGn8EwngK2dANAXl3g9/9eY2FOvzCS3LYVjM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=MdMZ1iTusQN8d2KnFCPZU6C5C83vImX8eTcMGaop+P4T+eo/3lv/Ogu3ASY8BiDPkB Zn/DPcoaB7OYzInDfAwQLf5OuIcTx4PRQS9w2TqHE/sWOh3vAuOYQMPG0U1QZ8nSlBM8 CNdulXEyDN+A0/GMcJd3JPqxUInXKbVH/1yXE= MIME-Version: 1.0 Received: by 10.224.20.9 with SMTP id d9mr3714843qab.228.1292228900013; Mon, 13 Dec 2010 00:28:20 -0800 (PST) Received: by 10.220.182.140 with HTTP; Mon, 13 Dec 2010 00:28:19 -0800 (PST) In-Reply-To: References: Date: Mon, 13 Dec 2010 09:28:19 +0100 Message-ID: Subject: Re: [SCXML] custom tags From: jocke eriksson To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hej jonathan I have done a telephony state machine, and commons scxml was a perfect choice for handling the logic. Custom actions and custom tags are the same thing. register your action like this. List actions .... actions.add(new CustomAction(NAME_SPACE, "menu", MenuAction.class)); SCXMLParser.parse(document, errHandler, actions); And menu action is a class that have getters and setters for choices maxtime and value. If you need anymore help don't be afraid to ask Regards Jocke 2010/12/13 jonathan augenstine : > I am investigating using the SCXML to implement a telephony state machine= . > =A0I need to be able to add custom tags and actions. =A0I see examples of= adding > custom actions, but no examples of adding custom tags. =A0Can someone poi= nt me > in the direction of how to accomplish that task? > > Jonathan > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org