Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 97197 invoked from network); 8 Apr 2006 05:47:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Apr 2006 05:47:33 -0000 Received: (qmail 51772 invoked by uid 500); 8 Apr 2006 05:47:29 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 51753 invoked by uid 500); 8 Apr 2006 05:47:29 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 51742 invoked by uid 99); 8 Apr 2006 05:47:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 22:47:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [207.44.210.91] (HELO secure.goomzee.com) (207.44.210.91) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 22:47:27 -0700 Received: from [192.168.1.100] (host-69-144-4-166.gdj-co.client.bresnan.net [69.144.4.166]) (authenticated bits=0) by secure.goomzee.com (8.12.11/8.12.11) with ESMTP id k384W4B0031850 for ; Fri, 7 Apr 2006 23:32:04 -0500 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Fri, 07 Apr 2006 23:46:30 -0600 Subject: Re: [SCXML] ordering of transitions From: "Mike Sparr - www.goomzee.com" To: Jakarta Commons Users List Message-ID: Thread-Topic: [SCXML] ordering of transitions Thread-Index: AcZaz8jJB44zJsbDEdqZzgAWy4loiw== In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Oddly enough, the send event was choice and it never got to choice and executed menu, or both? The log showed error with two states, comma delimited [logged_in, logged_off] ... I had some demos to present so I didn't want to compromize our app so I'm still running off old snapshot - could be old behavior. I'll follow the links in your other response and update our version this week and report odd behavior if any. No memory issues, just a concern. EL functionality desired and yes I tried substringAfter(). I will definitely add feature request to upgrade the EL package as the behavior you describe would be fantastic, especially for our use-case. I'll be kicking off another phase of product development soon and will update our base and build out accordingly. This phase adding JAAS security for RDBMS/LDAP auth, Caching, XML Configuration, Hot Deploy/Performance mode in P1 and other bits in P2, P3. No marketing materials yet but if I send off demo URL and script, could you perhaps UML SC model it for USE-CASE you can publish. I should have that ready next week. Thanks for the other pointers and once I fully engage this coming week, I'll make a shopping list in bugzilla. :) We are setting up new office/dev env. Workstations on running Win XP Pro w/ Apache 2, JDK5, Tomcat, etc. Setting up central dev and wondering best suggested combination? Subversion / Bugzilla (linux RHEL box) and then Win clients on workstations? Input appreciated. Cheers, Mike On 4/7/06 11:34 PM, "Rahul Akolkar" wrote: > On 4/7/06, Mike Sparr - www.goomzee.com wrote: >> I found that if we have a multiple transition events within a state and any >> without a guard condition get processed before reaching the guard conditions >> of the other transition events. Is this the expected behavior? >> >> For instance: >> >> >> >> do something / >> target state = 2 >> do something >> else / target state=2 >> >> >> >> ... stuff >> >> >> >> It never processes the guard conditions, however if I place the first event >> without the guard condition AFTER the two with, even though they have >> different event names, it works? >> > > > What event is being fired for this scenario when you're in state 1? If > its "menu", there is only one candidate transition there, if its > "choice" then there is no ambiguity either since the conds will ensure > that at most one transition is followed. > > Sorry, it seems I didn't quite get that. In order to be able to tell > you why the ordering would play any role in this particular scenario, > could you please post the smallest complete SCXML document and the > event name(s) that are fired on the state machine, in the correct > order, so I can reproduce your observations? Thanks in advance. > > >> Any reasoning behind this. I get odd errors where it actually creates 2 >> states simultaneously. >> > > > Trying to navigate into two sibling states that are not regions > (children of a parallel) is semantically a folly in SCXML. Probably a > more complete snippet will explain why that is happening here. > > >> ====== >> >> Also, what are the rules with using the single quotes within double quotes >> for variables. When referencing the variables I set expr="'something'" it >> actually passed 'something' instead of something ??? >> > > > Depends on the expression language. If you're using EL, you don't need > the single quotes for assigning String constant values, since the only > expressions are those wrapped in ${...}, so any bits that don't match > default to a constant String: > > > > but if you're using JEXL the single quotes are needed otherwise the > intended String literal will be evaluated as an expression (and > probably evaluate to null), so: > > > > -Rahul > > >> >> Thanks, >> >> >> Mike >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org