From user-return-22892-apmail-commons-user-archive=commons.apache.org@commons.apache.org Mon Apr 20 12:05:58 2009 Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 22570 invoked from network); 20 Apr 2009 12:05:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Apr 2009 12:05:58 -0000 Received: (qmail 89759 invoked by uid 500); 20 Apr 2009 12:05:54 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 89634 invoked by uid 500); 20 Apr 2009 12:05:54 -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 89369 invoked by uid 99); 20 Apr 2009 12:05:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2009 12:05:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of linda.erlenhov@gmail.com designates 74.125.78.147 as permitted sender) Received: from [74.125.78.147] (HELO ey-out-1920.google.com) (74.125.78.147) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2009 12:05:46 +0000 Received: by ey-out-1920.google.com with SMTP id 3so437223eyh.60 for ; Mon, 20 Apr 2009 05:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=VgHAS1wXxx3Vwn6XD+xCJRm4/CTmpsdYWW4LUDtb0TA=; b=KDKRIc4VIU5yr60a5pyqrD8+HZmb6wWPvpgTndO1qiMKjwklhTWlXzkkGzfjT8Tmxg 98TckkVKZToNwFC4RHz8/PDc0mkc5aeuCXfKYnrCjbrZ5kCWB+7/8JyrY9/XCGry4bDX zKGao6ULuD0vvYOX2/wKKrTcTzgO/nAlAqgsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=ZlIlQT9yidb/PeNpfr0DBarBnb3CWstRlY/OcqZn77gZcNxZEbLiAW9LQLq8Y62Ssf kyWtQLRaOjuy1uZI8UJqECPGlkCxBdnhuX0PIdpOt8/mXR71Lvx/QpQzLi5ais8Mb6bF G2uSQ7+qXJ86BLYytxSqKuinT3M352NbXRBCQ= MIME-Version: 1.0 Received: by 10.210.77.2 with SMTP id z2mr1430245eba.43.1240229125081; Mon, 20 Apr 2009 05:05:25 -0700 (PDT) In-Reply-To: References: From: Linda Erlenhov Date: Mon, 20 Apr 2009 14:05:10 +0200 Message-ID: Subject: Re: [SCXML] getting set datats in the datamodel To: Commons Users List Content-Type: multipart/alternative; boundary=000e0cd1e25070c9300467fb58ff X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd1e25070c9300467fb58ff Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello I think I=B4ve done some mixing between two things that doesn=B4t work toge= ther as I hoped it would. I have this Datamodel, the scxml document starts like this: ------------------------ 0 ------------------------- I assign the "Indication1" later on: --------------- ------------------------------- And the "DynamicData" also later: --------------- ------------------------------- I implemented a custom context with a notification functionality in the "set" function (observer observed pattern) but the problem now is that the only time the "set" function in the context is used is when indications are set. Not when the DynamicData is set. I know that the SCXML works and that the expressions evaluate properly because of the log:labels, my guess is that it=B4s something with the Data() function that makes these expressions= do something different. What? Where is the "set" for the DynamicData located? How do I notify when my DynamicData has changed? Best regards Linda --000e0cd1e25070c9300467fb58ff--