Re: [SCXML] Possible bug passing _eventdatamap across parallel contexts when event has delay

2008-11-09 Thread Rahul Akolkar
On Fri, Nov 7, 2008 at 6:47 PM, Roger Hoover [EMAIL PROTECTED] wrote: Rahul, Thanks for the quick response. More questions/comments inline. snip/ Does Commons SCXML support the 'basichttp' targettype? If not, is there an open source EventDispatcher for basichttp already out there that you

Re: [SCXML] Possible bug passing _eventdatamap across parallel contexts when event has delay

2008-11-09 Thread Rahul Akolkar
On Sun, Nov 9, 2008 at 10:22 AM, Ingmar Kliche [EMAIL PROTECTED] wrote: Hi Roger, as far as I am aware commons-scxml does not support basichttp. But it is relatively easy to implement e.g. using Jakarta commons httpClient ( http://hc.apache.org/httpclient-3.x). snip/ Yup, on both counts :-)

Re: [SCXML] Possible bug passing _eventdatamap across parallel contexts when event has delay

2008-11-07 Thread Rahul Akolkar
On Thu, Nov 6, 2008 at 10:38 PM, Roger Hoover [EMAIL PROTECTED] wrote: Hi, I'm new to Commons SCXML but I ran into what looks like a bug to me. When an event generated in one context gets sent to a sibling context with a delay, the _eventdata object is null. Oddly enough, when delay unset

[Announce] Call For Papers opens for ApacheCon US 2009

2008-11-07 Thread Rahul Akolkar
-- Forwarded message -- From: William A. Rowe, Jr. [EMAIL PROTECTED] If you have only 30 seconds to read this; Join us in celebrating the ASF's 10th Anniversary at ApacheCon! The Call for Papers is now open for ApacheCon US 2009, taking place 2-6 November in Oakland,

[ANN] ApacheCon live video streaming available; keynotes and Apache 101 are free

2008-11-04 Thread Rahul Akolkar
-- Forwarded message -- From: Lars Eilebrecht [EMAIL PROTECTED] Can't make ApacheCon this week in New Orleans? You can still watch all the keynotes, Apache 101 sessions, and system administration track in live video streams:

Re: [SCXML] is live (with eclipse IDE) available on softwaredemo.de

2008-10-03 Thread Rahul Akolkar
On Fri, Oct 3, 2008 at 4:41 AM, Daniel Schwager [EMAIL PROTECTED] wrote: Hi Rahul, we start our softwaredemo.de platform (beta status) yesterday for the community. As I told you some days before, I integrated an eclipse with a workspace containing the source of commons-scxml.

Re: [SCXML] is live (with eclipse IDE) available on softwaredemo.de

2008-10-03 Thread Rahul Akolkar
On Fri, Oct 3, 2008 at 3:18 PM, Daniel Schwager [EMAIL PROTECTED] wrote: http://www.softwaredemo.de/Commons-SCXML-State-Chart-XM.163.0.html I tried to look into it, but at some point it asked me for a login and I had none. It would be even better if you could add such an example, and just

Re: [Chain] Parametizing commands?

2008-09-09 Thread Rahul Akolkar
On Tue, Sep 9, 2008 at 4:19 PM, [EMAIL PROTECTED] wrote: It turns out that (as you probably know) it is possible to parametize commands in the catalog XML file. (I should point out that the documentation of the format of the XML file is either missing or in a hard-to-find place; I couldn't

Re: SCXML question: state reduction implementation?

2008-08-25 Thread Rahul Akolkar
On Fri, Aug 22, 2008 at 1:16 PM, J.-F. Rompre [EMAIL PROTECTED] wrote: Hello, My apologies if this is already provided, but I couldn't find it in the current docs/FAQs/tutorials I looked at on the project site. Are the states internally reduced/optimized whenever possible ? snip/ No attempt

Re: SCXML datamodel and data structures

2008-08-24 Thread Rahul Akolkar
below, I'd recommend using JEXL (it doesn't appear your usecase has anything to do with JSPs). -Rahul 2008/8/19 Rahul Akolkar [EMAIL PROTECTED] http://commons.apache.org/scxml/guide/contexts-evaluators.html To summarize, each context is populated by a combination of: * data elements

Re: SCXML - getting started

2008-08-02 Thread Rahul Akolkar
My response below ... On Sat, Aug 2, 2008 at 11:49 AM, Anna Klisiewicz [EMAIL PROTECTED] wrote: Thanks Rahul for your answer. I have another problem now. Whatever SCXML file I load I get NullPointerException. When I try the simple hello world for example: ?xml version=1.0? scxml

Re: [SCXML] actions and undefined attributes

2008-07-31 Thread Rahul Akolkar
On Thu, Jul 31, 2008 at 2:27 AM, Daniel Schwager [EMAIL PROTECTED] wrote: I think, using undefined attributes (=without getter/setter) should end with an failure. What do you think ? snip/ You mean parse failure? That wouldn't be in line with the functioning of the rest of the library

Re: [SCXML] transaction-element as an child of parallel-element ignored (bug ?)

2008-07-31 Thread Rahul Akolkar
On Thu, Jul 31, 2008 at 4:13 AM, Daniel Schwager [EMAIL PROTECTED] wrote: Maybe also a little bug ? Yes, in as much as not being implemented is a bug :-) This is another addition in the latest Working Draft which we haven't gotten to yet. Here we are :

Re: [SCXML] bug on parallel state with onentry element

2008-07-30 Thread Rahul Akolkar
On Wed, Jul 30, 2008 at 3:03 PM, Daniel Schwager [EMAIL PROTECTED] wrote: Hi Rahul, in parallel section, a onentry element have to work also with context variables (http://www.w3.org/TR/scxml/#N102F2) - but I got an exception like shown below. If I remove the log-statement in

Re: [SCXML] actions and undefined attributes

2008-07-30 Thread Rahul Akolkar
On Wed, Jul 30, 2008 at 4:39 PM, Daniel Schwager [EMAIL PROTECTED] wrote: Hi Rahul, if you use attributes not defined in an customer actionclass (means, there are not getter/setter in the action-class for these attributes), SCXML will not fail. I think, using undefined attributes (=without

Re: [SCXML] transaction-element as an child of parallel-element ignored (bug ?)

2008-07-30 Thread Rahul Akolkar
On Wed, Jul 30, 2008 at 5:08 PM, Daniel Schwager [EMAIL PROTECTED] wrote: Hi Rahul, sorry - it's me again ... The current SCXML draft http://www.w3.org/TR/scxml/#parallel allows me to use transitions as an child of parallel-element. If I try this, the SCXML implemention ignores this

Re: [SCXML] Access datamodel

2008-07-21 Thread Rahul Akolkar
On Mon, Jul 21, 2008 at 4:39 AM, Berg, T.W. (Tom) van den [EMAIL PROTECTED] wrote: I agree. I'm just following the given examples on the scxml website. I would appreciate if these can be updated to reflect the actual working. I have the impression a lot of starters fall in the same pitfalls as

Re: [SCXML] Reusing statediagrams through the src attribute in state

2008-07-21 Thread Rahul Akolkar
On Mon, Jul 21, 2008 at 9:59 AM, Berg, T.W. (Tom) van den [EMAIL PROTECTED] wrote: I would like to reuse a statediagram in an overall state diagram. The src attribute in the state tag seems to suggest this is possible. For example the main state.xml file would contain: state

Re: [SCXML] Reusing statediagrams through the src attribute in state

2008-07-21 Thread Rahul Akolkar
Also, when using the src attribute, here is a general pattern that supports good encapsulation practices: state id=foo src=foo.xml transition event=foo.done target=bar/ /state state id=bar ... /state On Mon, Jul 21, 2008 at 11:28 AM, Rahul Akolkar [EMAIL PROTECTED] wrote: On Mon, Jul 21

Re: SCXML - getting started

2008-07-20 Thread Rahul Akolkar
On Thu, Jul 17, 2008 at 7:05 PM, Anna Klisiewicz [EMAIL PROTECTED] wrote: Hi Chris, Thank you for your answer. 2008/7/14 Christian Grobmeier [EMAIL PROTECTED]: Hi Anna, are you sure you want to use SCXML? Its not an API for parsing XML files in general, its: State Chart XML (SCXML) is a

Re: [SCXML] featurerequest for new listener SCXMLPostExecutionListener

2008-07-20 Thread Rahul Akolkar
On Fri, Jul 18, 2008 at 6:26 AM, Daniel Schwager [EMAIL PROTECTED] wrote: Hi Rahul, I would like to trigger automat FSM2, if an event1 will fired on the FSM1. This could be done easily be done using a normal SCXMLListener, if a state changed in FSM1. But the SCXMLListener will not be

Re: [SCXML] Access datamodel

2008-07-20 Thread Rahul Akolkar
On Fri, Jul 18, 2008 at 7:35 PM, Berg, T.W. (Tom) van den [EMAIL PROTECTED] wrote: I'm still sorting out basics before moving on to some real stuff. I have a simple scxml document with a data model listed below. I execute my program with a custom action (also shown further below). I have a

Re: Access to Context from custom action

2008-07-17 Thread Rahul Akolkar
On Thu, Jul 17, 2008 at 4:37 AM, Berg, T.W. (Tom) van den [EMAIL PROTECTED] wrote: What are the Java API calls the access the local Context (datamodel) from a custom action? snip/ Short reply since I'm running out of email time. You have a handle to the SCInstance (use the expression evaluator

Re: [SCXML] Access to Context from custom action

2008-07-17 Thread Rahul Akolkar
I forgot to mention that this is a shared list and we prefix email subjects with the component name (so, in this case, I've now added [SCXML] to the subject). Please use this convention going forward, thanks. On Thu, Jul 17, 2008 at 1:29 PM, Rahul Akolkar [EMAIL PROTECTED] wrote: On Thu, Jul 17

Re: [SCXML] scxml-listener will not process in a defined order (problem: SCXMLExecutor.addListener based on Set)

2008-07-11 Thread Rahul Akolkar
On 7/11/08, Daniel Schwager [EMAIL PROTECTED] wrote: Hi Rahul, i'm running in a problem: i add two listeners to my SCXMLExecutor instance - the first one should run some business-methods using reflection (like you do in your watchclock-example) - the second one should check

Re: [SCXML] state machine creation

2008-06-30 Thread Rahul Akolkar
Please use the [SCXML] prefix to email subjects (this is a shared list). I've added it here. On 6/30/08, amina mimouni [EMAIL PROTECTED] wrote: hello, 1-i'am newbie in scxml, snip/ Reading the following pointers is a decent starting point to get a feel of the usage patterns when using the

Re: [jxpath] JXPath 1.3 Status

2008-06-30 Thread Rahul Akolkar
On 6/30/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Search the myfaces dev email list archives. snip/ s/myfaces/commons/ Just in case :-) -Rahul The release candidates will have been posted on a developer's site; they are deliberately not uploaded to the world-wide mirrors as it would

Re: [SCXML] Question save/restore state of FSM

2008-06-30 Thread Rahul Akolkar
On 6/30/08, Daniel Schwager [EMAIL PROTECTED] wrote: Hi Rahul, i'm testing/learning/playing around SCXML for about 2 days now. First of all - great work of this java port (-: There are two questions i can't find an answer to: a) Could I realize a transition guarded with a condition

Re: SCXML Listeners

2008-06-25 Thread Rahul Akolkar
On 6/24/08, Javier Rodríguez Escolar [EMAIL PROTECTED] wrote: Hello, I was just starting to use your SCXML implementation and I have noticed that if I use a SCXMLListener to perform some actions whenever some concrete states are entered, the onEntry method is called after all the actions

Re: [ANNOUNCE] Commons SCXML 0.8 Released

2008-06-13 Thread Rahul Akolkar
On 6/11/08, Ouyang, Landon - ES/RDR -Gil [EMAIL PROTECTED] wrote: Is the latest version of Commons SCXML compatible with the new W3C draft of SCXML released on May 16, 2008? For example, the initialstate attribute is now initial. snip/ No. The particular change you mention as an example

Re: [cli2] Negative number arguments seen as options

2008-05-30 Thread Rahul Akolkar
On 5/30/08, Emmanuel Bourg [EMAIL PROTECTED] wrote: sebb a écrit : Neither, as the CLI1 and CLI2 have a different API. However, if the Avalon CLI were released, then JMeter could depend on it, and drop its own copy of the code. I'm going to convert the Avalon CLI test case to the

[ANNOUNCE] Commons SCXML 0.8 Released

2008-05-22 Thread Rahul Akolkar
or source form from the following downloads page: http://commons.apache.org/scxml/download_scxml.cgi For more information on Commons SCXML, visit the project home page: http://commons.apache.org/scxml/ -Rahul Akolkar on behalf of the Apache Commons community

Re: SCXML invoke

2008-05-11 Thread Rahul Akolkar
On Sun, May 11, 2008 at 5:45 AM, sim9739 [EMAIL PROTECTED] wrote: Hi, I am new to scxml. I am just wondering whether we can invoke a web service or invoke a java method in scxml document. Thanks. snip/ Sure. If you intend to use invoke you will need to author an appropriate Invoker. See the

Re: [SCXML] XML engine decoupled from code

2008-05-02 Thread Rahul Akolkar
Systems, Radar Systems - Gilfillan 7821 Orion Ave, Van Nuys, CA 91406 (818) 901-2982 -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 12:40 PM To: Commons Users List Subject: Re: [SCXML] XML engine decoupled from code On 4/30

Re: [SCXML] XML engine decoupled from code

2008-05-01 Thread Rahul Akolkar
in progress), invoke is evolving. -Rahul -- Landon Ouyang Member Technical Staff ITT Electronics Systems, Radar Systems - Gilfillan 7821 Orion Ave, Van Nuys, CA 91406 (818) 901-2982 -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: Wednesday

Re: [httpclient] logging problems

2008-05-01 Thread Rahul Akolkar
On 5/1/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Greetings, thanks for all your work on this project! snip/ Mailing list has moved, try the user list on this page: http://hc.apache.org/httpclient-3.x/mail-lists.html -Rahul I'm finding that in practice the org.apache.httpclient log

Re: [SCXML] XML engine decoupled from code

2008-04-30 Thread Rahul Akolkar
On 4/29/08, Ouyang, Landon - ES/RDR -Gil [EMAIL PROTECTED] wrote: Ingmar, Thanks for the response. Our state machine maps states to specific activities. It does not use a listener or a timer but rather a custom class that utilizes an event stack for the firing of events within the state

Re: [SCXML] _eventdata not included in collection events ?

2008-04-29 Thread Rahul Akolkar
On 4/29/08, Tony Seebregts [EMAIL PROTECTED] wrote: Hi, I'm trying to pass information from a class that extends Action via a TriggerEvent payload but in the SCXML script the _eventdata value for the associated event transition seems to be null. Any ideas ? The payload works fine if

Re: [SCXML] State transitions from within handler

2008-04-18 Thread Rahul Akolkar
) that you fire at the end of the preceeding state handler. -Rahul -- Landon Ouyang Member Technical Staff ITT Electronics Systems, Radar Systems - Gilfillan 7821 Orion Ave, Van Nuys, CA 91406 (818) 901-2982 -Original Message- From: Rahul Akolkar [mailto:[EMAIL

Re: [SCXML] State transitions from within handler

2008-04-14 Thread Rahul Akolkar
On 4/14/08, Ouyang, Landon - ES/RDR -Gil [EMAIL PROTECTED] wrote: Rahul, Thanks for your help, I was able to implement the state transition method you had described earlier. The reason for this investigation is that we intend to use the Commons SCXML engine to implement highly complex

Re: [SCXML] W3C specs compatibility and state transition issues

2008-04-11 Thread Rahul Akolkar
Electronics Systems, Radar Systems - Gilfillan 7821 Orion Ave, Van Nuys, CA 91406 (818) 901-2982 -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: Thursday, April 10, 2008 6:22 PM To: Jakarta Commons Users List Subject: Re: [SCXML] W3C specs compatibility and state

Re: [SCXML] W3C specs compatibility and state transition issues

2008-04-11 Thread Rahul Akolkar
. -Rahul -- Landon Ouyang Member Technical Staff ITT Electronics Systems, Radar Systems - Gilfillan 7821 Orion Ave, Van Nuys, CA 91406 (818) 901-2982 -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: Friday, April 11, 2008 2:18 PM To: Jakarta Commons Users

Re: New user here

2008-04-10 Thread Rahul Akolkar
I'll reply to the other email, thanks for changing the subject :-) On Thu, Apr 10, 2008 at 8:11 PM, Ouyang, Landon - ES/RDR -Gil [EMAIL PROTECTED] wrote: Hi, I am a new user of Commons SCXML. I have two very basic questions: 1) How much of the W3C specs for SCXML is supported with

Re: [SCXML]Event Payloads can is not accessible when the event is triggered in a custom action

2008-03-04 Thread Rahul Akolkar
On 2/29/08, Guofeng Zhang [EMAIL PROTECTED] wrote: I practice the Hello custom action. The following is the document. I found that _eventdata is always null ( or empty). When I use the log action to display it on an entry, its value is also displyed as null. it works well when the event is

Re: Hi SCXML community !

2008-02-27 Thread Rahul Akolkar
On 2/26/08, Emmanuel PILLANT [EMAIL PROTECTED] wrote: Hi guys ! I want first congrats you for SCXML, which is a very usefull tool. We are currently using the version 0.7, and i have a question about the use of the digester with SCXML. Into your tests, you are using the method digest(),

Re: SCXML initial state for orthogonal state

2008-02-27 Thread Rahul Akolkar
On 2/26/08, Tobias Salzbrunn [EMAIL PROTECTED] wrote: Hello all, I am new to SCXML and first tried to run a general example for a parallel state: ?xml version=1.0 encoding=windows-1250? scxml xmlns=http://www.w3.org/2005/07/scxml; version=1.0 initialstate=mainState

Re: Upgrade OpenJPA to v1.0.2 in Geronimo 2.0 or 2.1 due to bug

2008-02-27 Thread Rahul Akolkar
Please post to correct forum. -Rahul On 2/27/08, Brian Gregory [EMAIL PROTECTED] wrote: I've encountered the INSERT instead of UPDATE bug in OpenJPA 1.0.0 (and verified that 1.0.1 behaves the same) and would like to force my webapp to use 1.0.2. I've tried: 1. placing the

Re: SCXML Javascript expression evaluator

2008-02-12 Thread Rahul Akolkar
On 2/12/08, Tony Seebregts [EMAIL PROTECTED] wrote: Hi Rahul, Have filed an enhancement request with the implementation as it stands for you to look at. If you decide to include it in the SCXML build let me know and I'll put some work into creating test cases and sample scripts. snip/

Re: [JEXL] Creating map in JEXL 1.1 fails

2008-02-12 Thread Rahul Akolkar
) only lists the stable releases with a smaller set of functionality. snip/ Yes, it is, as I mentioned below. I will try to amend that (but it won't be for a couple of weeks atleast, since I'm traveling). -Rahul Regards, Seb Rahul Akolkar wrote: On 2/9/08, Sebastian [EMAIL PROTECTED

Re: [JEXL] Creating map in JEXL 1.1 fails

2008-02-10 Thread Rahul Akolkar
On 2/9/08, Sebastian [EMAIL PROTECTED] wrote: Hi, I am trying to use JEXL 1.1 embedded within a J2SE application. I am trying to create a map in JEXL as described here http://commons.apache.org/jexl/reference/syntax.html#Literals My expression looks something like this: String

Re: SCXML var. handled differently between SCXMLDigester and SCXMLParser ?

2008-01-28 Thread Rahul Akolkar
On 1/28/08, Tony Seebregts [EMAIL PROTECTED] wrote: Hi, Has the usage/declaration of var changed between the SCXMLDigester and the SCXMLParser ? snip/ Yes, the content model for executable content was opened up such that there is no longer any need for the WD to talk about var. However,

Re: SCXMLDigest - SCXMLParser migration issue

2008-01-18 Thread Rahul Akolkar
On 1/18/08, Davide Angelocola [EMAIL PROTECTED] wrote: Hi, I've an issue regarding the migration from SCXMLDigest to the new SCXMLParser. I've attached both the test and the input file. Is it a known bug? snip/ In general, the SCXMLParser is not a drop-in replacement for the SCXMLDigester,

Re: SCXML

2007-12-29 Thread Rahul Akolkar
context of any state S such that S belongs to LCA(S1,S2). All contexts should ultimately delegate to the root. -Rahul On Dec 28, 2007 6:05 PM, Rahul Akolkar [EMAIL PROTECTED] wrote: Please use descriptive email subjects. The convention (since this is a shared mailing list) is to use

Re: SCXML

2007-12-28 Thread Rahul Akolkar
On 12/28/07, Lupu Slobodu [EMAIL PROTECTED] wrote: Is there a chance to know at the parsing time what state is a (custom) action going to run in? This could be useful if one wants to initialize and validate an action handler registry that would associate action handlers to particular states.

Re: SCXML

2007-12-28 Thread Rahul Akolkar
://commons.apache.org/scxml/apidocs/org/apache/commons/scxml/io/SCXMLParser.html On Dec 28, 2007 2:12 PM, Rahul Akolkar [EMAIL PROTECTED] wrote: On 12/28/07, Lupu Slobodu [EMAIL PROTECTED] wrote: Is there a chance to know at the parsing time what state is a (custom) action going to run in? This could

Re: SCXML

2007-12-28 Thread Rahul Akolkar
Please use descriptive email subjects. The convention (since this is a shared mailing list) is to use [SCXML] as a prefix followed by a suitable subject. It also helps the archives to have better subjects. On 12/28/07, Lupu Slobodu [EMAIL PROTECTED] wrote: Suppose the event E1 triggered a state

[ANNOUNCEMENT] Commons SCXML 0.7 released

2007-12-21 Thread Rahul Akolkar
://commons.apache.org/downloads/download_scxml.cgi For more information on Commons SCXML, visit the project home page: http://commons.apache.org/scxml/ -Rahul Akolkar on behalf of the Apache Commons community - To unsubscribe, e-mail

Re: [SCXML] problems with Data() function in Jexl

2007-12-10 Thread Rahul Akolkar
On 12/8/07, Sudeep Gandhe [EMAIL PROTECTED] wrote: I tried the following scxml file with the StandaloneJexlExpressions. I don't get the correct value for Data(d, '//tar/@name'). Can you explain, what's wrong ? snip/ We use some Xalan APIs internally to be able to resolve prefixes in XPath

Re: [SCXML] SCXMLDigester vs. SCXMLParser

2007-11-28 Thread Rahul Akolkar
On 11/28/07, Ingmar Kliche [EMAIL PROTECTED] wrote: Resending this with [SCXML] prefix. Sorry. --- It appears that the two classes doing quite similar things. But I did not found an indication which one to use to parse an SCXML document into a statemachine. It's only that a lot of the

Re: Parallelism in SCXML

2007-11-15 Thread Rahul Akolkar
On 11/14/07, Amit [EMAIL PROTECTED] wrote: I was wondering if the Commons SCXML implementation or the dialog manager application in the Shale framework provides support for parallelism and synchronization in state charts. If not, is any one available of frameworks that provide such support.

Re: [SCXML] How to integrate with DI framework like spring

2007-09-22 Thread Rahul Akolkar
On 9/21/07, Cook, Dennis [EMAIL PROTECTED] wrote: I find that I would like to use my bean factory for Invoker instance generation. Is any enhancements planned for better integration with these frameworks? snip/ None are planned per se in this regard. Though enhancements are often driven by

<    1   2   3