Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 44324 invoked from network); 23 Jul 2010 14:58:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Jul 2010 14:58:40 -0000 Received: (qmail 22140 invoked by uid 500); 23 Jul 2010 14:58:39 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 21815 invoked by uid 500); 23 Jul 2010 14:58:38 -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 21807 invoked by uid 99); 23 Jul 2010 14:58:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jul 2010 14:58:38 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rahul.akolkar@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jul 2010 14:58:32 +0000 Received: by vws8 with SMTP id 8so299035vws.30 for ; Fri, 23 Jul 2010 07:58:12 -0700 (PDT) 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=DWaM8lFLbVI8fuX0yRyzLqHmlos/aynRBGeiEzGd2G0=; b=ek1rLuDzjdaA6zBsBDf3Qyy7qhJ7T3SMUc2ShAYJ1NXUN1YvXg25/5MBNtCa8ZJw0f j5090m7aDpGgQXmaCqeU1n6swQptiH+uf3XTHcB1YIykyJhN3DiAMnU+bdKFhAAIobJ/ IaQANN5sU+DqlaU+VR4s97jpzju+99A5ENuJE= 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=imAzsWZLlRKkDQaOcC6Tm9FUoFZN+i4PDzLaGh89jB0SwaEpX5+zZAkFGPo5ROXjFC OqtiYwY95E6wY/lstEYZxxoEVQ0OlZ+wEcUYFTDTrZi7COo0g6ftlCmbVwCabsG5suYm QnE4vktKNMkTZEWRxaAndR7x7qMeykA+yDuaE= MIME-Version: 1.0 Received: by 10.220.158.11 with SMTP id d11mr1774895vcx.111.1279897091837; Fri, 23 Jul 2010 07:58:11 -0700 (PDT) Received: by 10.220.161.6 with HTTP; Fri, 23 Jul 2010 07:58:11 -0700 (PDT) In-Reply-To: References: Date: Fri, 23 Jul 2010 10:58:11 -0400 Message-ID: Subject: Re: [scxml] Query on usage of From: Rahul Akolkar To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Jul 23, 2010 at 9:16 AM, Prem Chand Majeti wrote: > Hi, > > I'm new to SCXML. I had a query on usage of and . > > > E.g.:- > > 1) =A0 =A0 =A0 Is it possible to set values from Java program dyna= mically? > 2) =A0 =A0 =A0 Can I declare this data at document level and use it in al= l the states for further processing? > Yes, and in fact, if you declare a document level , it is quite trivial to set values programmatically using SCXMLExecutor#getRootContext() followed by a set on the root context. > If it is possible, can you give some pointers where I can find an example= or tutorial for this? > The following resources may be useful (let us know if you have more questions beyond that): http://commons.apache.org/scxml/guide/datamodel.html http://commons.apache.org/scxml/guide/contexts-evaluators.html -Rahul > Thanks & Regards > Prem > > > ________________________________ > "DISCLAIMER: This message is proprietary to Aricent and is intended solel= y for the use of the individual to whom it is addressed. It may contain pri= vileged or confidential information and should not be circulated or used fo= r any purpose other than for what it is intended. If you have received this= message in error, please notify the originator immediately. If you are not= the intended recipient, you are notified that you are strictly prohibited = from using, copying, altering, or disclosing the contents of this message. = Aricent accepts no responsibility for loss or damage arising from the use o= f the information transmitted by this email including damage from virus." > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org