Re: Question regarding scxmlgui tool

2012-07-05 Thread Rahul Akolkar
On Wed, Jun 20, 2012 at 4:22 AM, Nir Shemesh wrote: > Hi Apache Users, > > I need your help regarding my question below > See inline below. > Many thanks > > Nir > > > -- Forwarded message -- > From: Fabrizio Morbini > Date: Tue, Jun 19, 2012 at 11:48 PM > Subject: Re: Questio

Re: [scxml] JEXL Evaluator's evalCond issue

2012-06-16 Thread Rahul Akolkar
On Thu, Jun 14, 2012 at 5:23 PM, wrote: > 1. Problem renaming method in class used for condition evaluation. > > Class: Test > method: boolean method1(integer i) > > xml snippet: > > >             cond="test.method1(100)"/> > > > > We are trying rename test.method1(integer i) in Test class to >

Re: [scxml] ANN: SCION-Java project

2012-05-31 Thread Rahul Akolkar
If you want to provide a patch to the Commons SCXML home page source via JIRA, we could add this to the "Related Projects" section [1]. -Rahul [1] http://commons.apache.org/scxml/#Related_Projects On Wed, May 30, 2012 at 5:36 PM, Jacob Beard wrote: > Hi, > > While not specifically related to S

Re: [scxml]

2012-05-23 Thread Rahul Akolkar
On Wed, May 23, 2012 at 2:01 AM, Ronald Hinchley wrote: > I notice that none of the examples or cases work. W3C Working Draft 16 > February 2012. SCXML seems heavenly to me but is there interest in it? I believe you're asking about the Commons SCXML project, rather than the W3C SCXML standard it

Re: [scxml] there is a working example?

2012-05-23 Thread Rahul Akolkar
On Mon, May 21, 2012 at 6:55 PM, Jacob Beard wrote: > Regarding project status, see this thread posted last week: > http://mail-archives.apache.org/mod_mbox/commons-dev/201205.mbox/browser > Or this link: http://markmail.org/message/wu5rfl25fxjyn7tb -Rahul > Jake > > On Mon, May 21, 2012 a

Re: [SCXML] element

2011-10-26 Thread Rahul Akolkar
On Wed, Oct 26, 2011 at 9:59 AM, Dark.Rider85 wrote: > Hi! > I dealt with the element of scxml a little. That element is used to > call external services. I was thinking about calling an external service of > the type "scxml" but I have no idea how to do that properly. Type "scxml" is reserved

Re: [SCXML] custom tags

2011-10-24 Thread Rahul Akolkar
On Mon, Oct 24, 2011 at 1:36 PM, Micka wrote: > Hi, > > > I also really like customActions. > > But right Now, i'm trying to figure out how to use ExternalContent . > > The document say that I have to implements it, but I really don't > understand how to use it, I mean i get : > > > class myc

Re: [SCXML] Ignoring element

2011-10-17 Thread Rahul Akolkar
On Mon, Oct 17, 2011 at 8:43 AM, Dark.Rider85 wrote: > Hi! > I wanted to use the element but when parsing the .xml file the > processor says the following warning: > > Ignoring element in namespace "http://www.w3.org/2005/07/scxml"; at > bundleresource:***.xml:9:38 and digester match > "scxml/st

Re: [scxml-eclipse] Adding elements to palette

2011-10-12 Thread Rahul Akolkar
On Wed, Oct 12, 2011 at 1:04 PM, Rebecca Witmer wrote: > Hi All, > > I am creating modeling_diagram files.  In the palette called Scxml State > Element I have the following available: State, Parallel, InitialState, > HistoryState, Transition, OnEntry. There isn't an icon for FinalState or > OnE

Re: [scxml] invoking methods on an object

2011-10-03 Thread Rahul Akolkar
On Mon, Oct 3, 2011 at 9:17 AM, Daniel Luis dos Santos wrote: > Hello, > > I am beggining to use commons-SCXML. For now I created a generic class that > wraps the library's code just like the class AbstractStateMachine in the > stopwatch example. > > Each class from my application that will be g

Re: [scxml] invoking methods on an object

2011-10-03 Thread Rahul Akolkar
nd like so: http://www.w3.org/2005/07/scxml"; xmlns:cs="http://commons.apache.org/scxml"; ... > Then you may use var like so: -Rahul > Sorry for my ignorance and dumb questions but I am very new to all this. > > Thanks > Daniel Santos

Re: [scxml] Syntax Question

2011-10-01 Thread Rahul Akolkar
On Sat, Oct 1, 2011 at 6:18 AM, Yasser Al Masri wrote: > what's the best way to check whether a given variable is any of values within > a list? For example, I want to say this: > > cond="myvar In('a','b','c')" > > or > > cond="mylist.contain(myvar)" > Syntax of expressions within the SCXML doc

Re: [scxml] Any Feed From Invoked State Machine Back to Invoker?

2011-09-23 Thread Rahul Akolkar
On Fri, Sep 23, 2011 at 9:27 AM, Yasser Al Masri wrote: > Thanks. Is it much of trouble to post a little snippet explaining this? > Perhaps better if you post where you are, so we start with the right assumptions about your usecase. -Rahul > >

Re: [scxml] Any Feed From Invoked State Machine Back to Invoker?

2011-09-22 Thread Rahul Akolkar
On Thu, Sep 22, 2011 at 7:20 AM, Yasser Al Masri wrote: > Hi, > > For synchronous communication between invoker and invoked machines we > usually need to pass back a variable or some sort of signal to tell it that a > result of a particular operation is so and so. Is there a way to accomplish > t

Re: [scxml] Setting state through history element or other means

2011-09-21 Thread Rahul Akolkar
On Wed, Sep 21, 2011 at 5:53 AM, Dario D wrote: > Hello, > > Is there a way to programatically change history state of a workflow? Our > idea is to be able to set freely the next state to be executed. If we set > the state like this: > >        Set states = executor.getCurrentStatus().getStates();

Re: [scxml] Handling condition errors in transitions

2011-09-13 Thread Rahul Akolkar
On Tue, Sep 13, 2011 at 1:43 PM, Dario D wrote: > 2011/9/13 Rahul Akolkar rahul.akol...@gmail.com > >> >> When the state machine is in "state2", there are three candidate >> transitions that match event "action.next" -- two with guards in >> &qu

Re: [scxml] Handling condition errors in transitions

2011-09-13 Thread Rahul Akolkar
On Mon, Sep 12, 2011 at 5:17 AM, Dario D wrote: > Hello, > > I have an SCXML workflow as given below. The conditions in the transitions > of "state2" are invalid because they have an invalid variable name > "trans-0". The application was made in the way that on each step forward, it > triggers an

Re: [SCXML] Call a Web Service

2011-09-03 Thread Rahul Akolkar
On Fri, Sep 2, 2011 at 5:09 AM, dark.rider85 wrote: > Hi! > I was trying to search for a possibility to call a web service out of SCXML. > I assumed the send command would be the action to use for this intention but > I was not able to understand how it should work. In the W3C Working Draft > ther

Re: [scxml] sendid vs id attribute on send

2011-08-03 Thread Rahul Akolkar
On Wed, Aug 3, 2011 at 5:47 AM, Nick Hofstede wrote: > I noticed that commons scxml uses the attribute sendid on the send element to > specify the id of an event, whereas the scxml specification states that you > should use the id attribute (see http://www.w3.org/TR/scxml/#send) > > I assume thi

Re: [scxml] A local transition to a parallel sub-state affects all its parent's siblings

2011-07-27 Thread Rahul Akolkar
Would you know if there was any subsequent progress? > IIRC, there wasn't much beyond that thread. Also, worth noting that in that post he is talking about internal events, not internal transitions. -Rahul > Thanks, > Hynek > > > > On Tue, Jul 26, 2011 at 9:14 PM, Rahul Akolkar

Re: [scxml] A local transition to a parallel sub-state affects all its parent's siblings

2011-07-26 Thread Rahul Akolkar
On Mon, Jul 25, 2011 at 6:31 AM, Hynek Cihlar wrote: > I have come across the following case, where I believe the Commons SCXML > behaves incorrectly. > > Assuming the following state machine configuration: > > http://www.w3.org/2005/07/scxml"; >       xmlns:cs="http://commons.apache.org/scxml"; >

Re: [SCXML] Problem in using the assign action

2011-07-16 Thread Rahul Akolkar
On Sat, Jul 16, 2011 at 6:14 PM, dark.rider85 wrote: > Hi! > I am new in using SCXML and wanted to test the assign action. > I created a data model with a data element which has the id "dataID1". > The complete datamodel element looks like the following: > > > > 0 > > > > Next, I put a state w

Re: [scxml] SCXML model thread-safe?

2011-07-06 Thread Rahul Akolkar
e derived within the execute() method by introspecting the state or root context and persisting changes to said context (which is specific to the executor). -Rahul > 2011/7/5 Rahul Akolkar > >>  On Tue, Jul 5, 2011 at 3:37 AM, Dario D wrote: >> > Is the SCXML model thread-s

Re: [scxml] SCXML model thread-safe?

2011-07-05 Thread Rahul Akolkar
On Tue, Jul 5, 2011 at 3:37 AM, Dario D wrote: > Is the SCXML model thread-safe? We're considering to parse the SCXML files > on application startup and then store the resulting SCXML models in a cache > where multiple threads will access them. Should we expect any > inconsistencies? Note that exe

Re: [scxml] Target of transition as variable?

2011-06-23 Thread Rahul Akolkar
tes it takes > only one assign per basic_state and one transition in special_state and I > does not need to change special_state each time when I want to add a new > basic_state > Use history states (see mention in previous email). -Rahul > On Jun 23, 2011, at 11:54 PM, Rahul A

Re: [scxml] Target of transition as variable?

2011-06-23 Thread Rahul Akolkar
On Tue, Jun 21, 2011 at 3:42 PM, Artem Vovk wrote: > Can I use dynamic transition targets? Something like this? > > >         > > > ... > > > > If I use it on this way, I receive an exception: Transition target with ID > "dyn_state" not found -> Interpreter thinks that it is a name of the stat

Re: [scxml] Transition without changing a state

2011-06-18 Thread Rahul Akolkar
above will be useful. > Which working draft was used for commons scxml? > Commons SCXML v0.9 is closest (there are some missing pieces -- especially optional ones like anchor which were later removed) to this Working Draft: http://www.w3.org/TR/2008/WD-scxml-20080516/ -Rahul > On Ju

Re: [scxml] Transition without changing a state

2011-06-18 Thread Rahul Akolkar
On Sat, Jun 18, 2011 at 9:39 AM, Artem Vovk wrote: > Hi, > > Is it a valid scxml expression in apache commons? > If you mean transition, yes, target-less transitions are valid (a.k.a. stay transitions). > >         > > > Because I trigger this event, but send does not works. > You should s

Re: [jexl][scxml] Change values of map in scxml

2011-06-15 Thread Rahul Akolkar
/SimpleScheduler.html > > On Jun 14, 2011, at 12:45 AM, Rahul Akolkar wrote: > >> On Mon, Jun 13, 2011 at 10:50 AM, Artem Vovk >> wrote: >>> Hi, >>> >>>        I have a data model in my scxml file, that  defined as map: >>>         >

Re: [jexl][scxml] Change values of map in scxml

2011-06-13 Thread Rahul Akolkar
On Mon, Jun 13, 2011 at 10:50 AM, Artem Vovk wrote: > Hi, > >        I have a data model in my scxml file, that  defined as map: >         >                 >         > >        I want to use this data as a constructor for sending data, but I need > to change values in this data: >        somethi

Re: [scxml] JEXL map in scxml

2011-06-11 Thread Rahul Akolkar
have ATM, at some point it will be included in Commons SCXML. -Rahul > Cheers Artem > > On Jun 8, 2011, at 10:40 PM, Rahul Akolkar wrote: > >> On Wed, Jun 8, 2011 at 4:31 AM, Artem Vovk wrote: >>> Hi, >>> >>>   I'm trying to create and send JEXL

Re: Terminate SCXML-Executor

2011-06-11 Thread Rahul Akolkar
On Fri, Jun 10, 2011 at 12:33 PM, Oksana Kolach wrote: > Hello everybody, > > which possibilities exists to terminate an SCXML-Executor, that is running > in an infinit loop? > SCXML does not provide any in-built safeguards against infinite loops. Like most languages, its possible to write such

Re: [scxml] JEXL map in scxml

2011-06-08 Thread Rahul Akolkar
On Wed, Jun 8, 2011 at 4:31 AM, Artem Vovk wrote: > Hi, > >   I'm trying to create and send JEXL map, I wrote: > >   >   namelist="one"/> > >  But SCXML interpreter shows an exception : >  WARNUNG: EXPRESSION_ERROR (eval('{ 'test' : 2}'):Lexical error at line 1, > column 10.  Encountered: ":" (58)

Re: [scxml] src element as a pointer to memory content

2011-06-06 Thread Rahul Akolkar
t the String value is simply treated as a URL spec by the parser so it'd be effectively the same. Suggest doing a little test of your own to verify. -Rahul > 2011/6/7 Rahul Akolkar > >> On Mon, Jun 6, 2011 at 5:35 PM, Dario D wrote: >> > Hello, >> > &

Re: [scxml] trasition tag with type=internal in compound state issue

2011-06-06 Thread Rahul Akolkar
On Mon, Jun 6, 2011 at 7:11 PM, Vance huang wrote: > Hi, > > According to the SCXML spec, the following was stated: > "The behavior of transitions with 'type' of "internal" is identical, except in > the case of a transition whose source state is a compound state and whose > target(s) is a descenda

Re: [scxml] src element as a pointer to memory content

2011-06-06 Thread Rahul Akolkar
On Mon, Jun 6, 2011 at 5:35 PM, Dario D wrote: > Hello, > > Would it be possible to have a PathResolver implementation which treats the > "src" element as a pointer to a database entry where content is stored, or > an in-memory object? Of course, I could make a PathResolver implementation > which

Re: [scxml] transition leaving a child state of parallel

2011-06-06 Thread Rahul Akolkar
On Mon, Jun 6, 2011 at 4:24 PM, Enrico Nardelli wrote: > > Rahul Akolkar wrote: >> >> I can't see why it should error out either. Please open a defect in >> JIRA [1] with above SCXML document and I'll take a look. > > I opened it > https://issues.apache

Re: [scxml] transition leaving a child state of parallel

2011-06-05 Thread Rahul Akolkar
On Fri, Jun 3, 2011 at 3:20 AM, Enrico Nardelli wrote: > I have the following SCXML > > > http://www.w3.org/2005/07/scxml"; version="1.0" exmode="lax" > initialstate="initialstate"> >         >                 >         >         >                 >                 >                 >            

Re: [scxml] Problem raising event in scxml

2011-05-31 Thread Rahul Akolkar
             Object hints = null; >                long delay = 0; >                List externalNodes = null; >                eventDispatcher.send(sendId , target, type, event, params, > hints, delay, externalNodes); >            } >    } > } > > > > > __

Re: [scxml] Problem raising event in scxml

2011-05-26 Thread Rahul Akolkar
On Thu, May 26, 2011 at 7:55 AM, J J wrote: > Hello, > > > I'm having an issue with the tag inside an element in the > > content. > > The problem is explained more in this Stackoverflow question: > http://stackoverflow.com/questions/6044370/problem-raising-event-in-scxml > > Can anyone tell me

Re: [scxml] release date of new version

2011-05-23 Thread Rahul Akolkar
On Mon, May 23, 2011 at 5:50 PM, Uli Biberger wrote: > Hello, > I wonder if there's any plan for another official release. The 0.9 version is > over two years old - and I am curious wether there's active development or > just > maintainance. > There isn't any official date and its unlikely to b

Re: [scxml] Trigger "complicated" events

2011-05-21 Thread Rahul Akolkar
On Sat, May 21, 2011 at 6:48 PM, Rahul Akolkar wrote: > On Sat, May 21, 2011 at 4:41 PM, Artem Vovk wrote: >> Hi, >> >>        In the document about Authoring Applications for the Multimodal >> Architecture(http://www.w3.org/TR/mmi-auth/), I have noti

Re: [scxml] Trigger "complicated" events

2011-05-21 Thread Rahul Akolkar
On Sat, May 21, 2011 at 4:41 PM, Artem Vovk wrote: > Hi, > >        In the document about Authoring Applications for the Multimodal > Architecture(http://www.w3.org/TR/mmi-auth/), I have noticed an interesting > tag : > >         >     >       >       >     > > It looks that a data was send w

Re: [scxml] events triggered in onentry

2011-05-17 Thread Rahul Akolkar
On Tue, May 17, 2011 at 8:37 PM, Ryan wrote: > Looks like I signed up for this mailing list about 5 hours too late. Reading > today's reply from Rahul, he notes: > > "You should inject events from within a custom action by adding to the set > of derived events (param of execute method) which will

Re: Re: [scxml]

2011-05-17 Thread Rahul Akolkar
On Tue, May 17, 2011 at 3:44 PM, Vance huang wrote: > Hi, Rahul: > Thanks for taking a look. In further testing, I found the probable cause of > this > issue is that when the custom action in test2 is executing, sometimes it > injects > the actionComplete event right back to the scxml engine (in

Re: Re: [scxml]

2011-05-16 Thread Rahul Akolkar
On Mon, May 16, 2011 at 12:26 PM, Vance huang wrote: > > Hi, Rahul: > > Here is the trimmed down snippet: > I reduced it even further: Is the above still a representative test case where you're seeing t

Re: [scxml]

2011-05-13 Thread Rahul Akolkar
On Fri, May 13, 2011 at 6:54 PM, Vance huang wrote: > Hi, > > I am using scxml 0.9 release and encountered a weird issue. When I am > transitioning between 2 states, it worked fine sometimes but in other times, > it > failed to transition to the next state. I put logging in and > > and here is

Re: [digester] Grabbing data from sub-element attributes

2011-05-13 Thread Rahul Akolkar
On Fri, May 13, 2011 at 5:45 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > All, > > Wouldn't you know it, just after I posted, I had an epiphany: > > On 5/13/2011 5:33 PM, Christopher Schultz wrote: >> >>   >>     some value >>     some other value >>    

Re: [scxml] Questions about error events and setting workflow state

2011-05-13 Thread Rahul Akolkar
On Fri, May 13, 2011 at 4:07 AM, Dario D wrote: > 2011/5/12 Rahul Akolkar > >> On Thu, May 12, 2011 at 6:56 AM, Dario D wrote: >> > 2) One requirement for the application is to allow setting an arbitrary >> > state in a workflow. For example, if we have the followi

Re: [scxml] Usage of send tag

2011-05-12 Thread Rahul Akolkar
On Thu, May 12, 2011 at 5:11 AM, Artem Vovk wrote: > >> >> >> You'll need single quotes around the event name like so (its treated >> as an expression - spaces added below for readability): >> >>   >> > > I have also used this, but I thought that is a hack, because in the > specification and an

Re: [scxml] Questions about error events and setting workflow state

2011-05-12 Thread Rahul Akolkar
On Thu, May 12, 2011 at 6:56 AM, Dario D wrote: > We're developing an application which will use SCXML for its workflow and I > would ask you for advice on a couple of topics: > > 1) All workflows will have a single state which is called "error". Whenever > a custom action catches an error, it wil

Re: [scxml] Usage of send tag

2011-05-11 Thread Rahul Akolkar
On Wed, May 11, 2011 at 2:36 PM, Artem Vovk wrote: > Hi, > >        i have a simple send tag: > >         > >         On Apache Commons side i have used JEXL as Evaluator, if I start my > machine and execute this tag i receive WARNING: target expression > "VUI" evaluated to null or empty Strin

Re: [scxml] Calling go() twice

2011-05-10 Thread Rahul Akolkar
elow for readability): event=" 'testEvent' " If you pass in an application log, you'll see a warn level message to the effect of expression not resolving to a (non-empty) event name string. -Rahul > Thank you. > > 2011/5/3 Rahul Akolkar > >> On Tue,

Re: [scxml] Creating ad-hoc arrays in JEXL expressions

2011-05-09 Thread Rahul Akolkar
On Mon, May 9, 2011 at 4:19 PM, Dario D wrote: > Hello, > > I am trying to create an ad-hoc array in my workflow and provide it to a > custom action: > >     >         >             >             >         >     > > In the custom action, I am evaluating this string through JEXL Evaluator: > >    p

Re: [digester] The element type ... must be terminated by the matching end-tag

2011-05-03 Thread Rahul Akolkar
On Tue, May 3, 2011 at 12:48 PM, Patrick Diviacco wrote: > I get the following error: > > May 3, 2011 6:41:25 PM org.apache.commons.digester.Digester fatalError > SEVERE: Parse Fatal Error at line 2336608 column 3: The element type "user" > must be terminated by the matching end-tag "". > org.xml.

Re: [scxml] Calling go() twice

2011-05-03 Thread Rahul Akolkar
On Tue, May 3, 2011 at 10:13 AM, Dario D wrote: > Thanks Jocke. How would you suggest to resume the the last state before the > condition was not met? Let's say that the condition was made valid somehow. > How to resume from the last state? > > To continue the previous example: > >        try { >

Re: [SCXML] Count event support

2011-04-10 Thread Rahul Akolkar
On Sun, Apr 10, 2011 at 11:14 AM, jocke eriksson wrote: > Hello SCXML users. I'm the project owner of freeswitch-scxml at google > code. I have been waning to add > a feature and I'm not quite sure how to implement it. I want to be > able to add a count object, > when evaluated in a transition, it

Re: [exec]

2011-02-26 Thread Rahul Akolkar
On Sat, Feb 26, 2011 at 12:55 AM, Martinov, Nickolay wrote: > Hello, > > According to doc found on ASF infrastructure page ("Users should report > issues and ask questions to the appropriate project first though the > appropriate mailing list.") I ask for help here. > I cannot login into Apache

Re: SCXML and EventDispatcher:send(String sendId, String targe, String type, String event, Map params, Object hints, long delay, List externalNodes)

2011-02-26 Thread Rahul Akolkar
On Sat, Feb 26, 2011 at 5:57 PM, Micka wrote: >> >> Hi, >> >> >> I would like to understand how to use the balise with the function >> send in the EventDispatcher class. >> >> send(String sendId, String targe, String type, String event, Map params, >> Object hints, long delay, List externalNodes)

Re: [vfs] Where is version 1.1?

2011-02-07 Thread Rahul Akolkar
On Mon, Feb 7, 2011 at 4:38 PM, Gary Gregory wrote: > All: > > Should we include a SVN revision number in the manifest.mf file to help out > in cases like this? > Don't think we can do much -- there is never any confusion for official releases and there is always potential for confusion for hom

Re: SCXML : vs JEXL FUNCTION

2011-01-27 Thread Rahul Akolkar
On Thu, Jan 27, 2011 at 3:25 PM, Micka wrote: > Hi, > > I'm always amazing about the SCXML. > > I'm using JEXL in my SCXML project and when i discovered all the thing that > JEXL can bring ( like custom function ) , I was wondering what is the > purpose to use or tag in the scxml file. > > Is it

Re: [scxml] serializer

2011-01-16 Thread Rahul Akolkar
On Sun, Jan 16, 2011 at 4:25 AM, jocke eriksson wrote: > I am trying to use the SCXMLSerializer and I have a couple of questions. > > 1. Did not state have an attribute called src  I could have swear that it > was there before. I even have documents utilizing it. The src attribute was removed fr

Re: [digester] Need help with simple digester usage

2011-01-13 Thread Rahul Akolkar
On Thu, Jan 13, 2011 at 7:40 PM, KARR, DAVID (ATTSI) wrote: >> -Original Message- >> From: Rahul Akolkar >> Sent: Thursday, January 13, 2011 2:07 PM >> To: Commons Users List >> Subject: Re: [digester] Need help with simple digester usage >> >&

Re: [digester] Need help with simple digester usage

2011-01-13 Thread Rahul Akolkar
On Thu, Jan 13, 2011 at 12:39 PM, KARR, DAVID (ATTSI) wrote: >> -Original Message- >> From: Rahul Akolkar >> Sent: Monday, December 20, 2010 10:18 PM >> To: Commons Users List >> Subject: Re: [digester] Need help with simple digester usage >> >&

Re: [scxml] What version of SCXML Commons is supported?

2011-01-13 Thread Rahul Akolkar
On Thu, Jan 13, 2011 at 8:46 AM, Libor Jelinek wrote: > Hi all! > I am very new to Commons SCXML. First and basic my question is *** > What version of W3C SCXML is supported by actual version of Commons > SCXML? *** > > From the few examples and code excerpts I suppose it's some older > (2006-01-2

Re: [SCXML] Telephony/SCXML application question

2011-01-04 Thread Rahul Akolkar
ssing the default scxml invoker or implementing one anew if different semantics are desired -- and in such a case, best to use an application specific invoker type. -Rahul > > Jonathan > > On Mon, Dec 20, 2010 at 12:24 PM, Rahul Akolkar > wrote: > >> On Mon, Dec 20, 2010 at 1:09

Re: [digester] Need help with simple digester usage

2010-12-20 Thread Rahul Akolkar
On Mon, Dec 20, 2010 at 11:08 PM, KARR, DAVID (ATTSI) wrote: >> -Original Message- >> From: KARR, DAVID (ATTSI) >> Sent: Monday, December 20, 2010 7:54 PM >> To: user@commons.apache.org >> Subject: [digester] Need help with simple digester usage >> >> I'm trying to use Digester for a simpl

Re: [SCXML] Telephony/SCXML application question

2010-12-20 Thread Rahul Akolkar
On Mon, Dec 20, 2010 at 1:09 PM, jocke eriksson wrote: > Is there a standard way to cache all of these dialogs? > You can create a new statemachine from an already parsed scxml > document, so yes you can reuse parsed documents. > Right, if the question about caching is from the PoV of avoiding r

Re: SCXML : getCurrentStateS

2010-12-11 Thread Rahul Akolkar
On Sat, Dec 11, 2010 at 6:26 AM, Micka wrote: > Hi, > > > I'm trying to get the currentStates in case we have multiple states. > > by example : > > > > > http://www.w3.org/2005/07/scxml";    version="1.0" > initialstate="start"> > >   > >       >           >               >               >  

Re: [digester] Class loading issue using commons-digester in OSGi setup

2010-11-30 Thread Rahul Akolkar
On Tue, Nov 30, 2010 at 5:54 PM, niklas modin wrote: >  Hi, > > I would like to stay with standards though, and I think these are all > eclipse headers right?. Yup. -Rahul > But it seems I have to bend something a little here to get it to work. :) > > Anyways, thanks for the help > > Cheers,

Re: [digester] Class loading issue using commons-digester in OSGi setup

2010-11-30 Thread Rahul Akolkar
On Tue, Nov 30, 2010 at 1:22 PM, niklas modin wrote: >  Hi all, > > I'm trying to use commons-scxml in an OSGi environment (Equinox) and scxml > has a dependency > on digester, which causes some class loading issues. > > Digester gets it's own class loader being a separate bundle, however it > loo

Re: SCXML : send & transition doesn't work when they are in the same state.

2010-11-28 Thread Rahul Akolkar
stedState); >             } >             // got the state, now set it >             @SuppressWarnings("rawtypes") >             Set states = exec.getCurrentStatus().getStates(); >             states.clear(); >             states.add(state); >         } >     } > > > On Fri, N

Re: [scxml]SCXML Executor Priority?

2010-11-23 Thread Rahul Akolkar
On Tue, Nov 23, 2010 at 4:47 PM, Lee, Cheryl - ES wrote: > Hi, > > I'm still a bit new to SCXML, and I have a single java SCXMLExecutor running > on Fedora 11 on a "large" state machine (about 5000 states).  I am at the > point of tuning my system, and I was hoping to be able to increase the >

Re: [functor] Problem with the SVN checkout of source

2010-11-19 Thread Rahul Akolkar
On Sat, Nov 20, 2010 at 12:02 AM, Rafael Uchôa wrote: > Any problem with the SVN repository of commons functor ? Seems OK: http://svn.apache.org/repos/asf/commons/sandbox/functor/trunk/ -Rahul - To unsubscribe, e-mail: user

Re: [scxml] Need for JSF

2010-11-18 Thread Rahul Akolkar
ine. > Cool, its good to have tested values posted here! > BTW, I just noticed that there isn't any import for beanutils in the > manifest generated, but it's listed as a > mandatory dependency. commons.digester have a deploy dependency on beanutils > though I think. >

Re: [scxml] Need for JSF

2010-11-18 Thread Rahul Akolkar
njection >> in OSGi, so I guess >> that means that all dependencies are in fact required for an OSGi >> deployment. >> >> Not sure how to proceed here, but seems that also deploying JSF and all >> transitive >> dependencies is what I need to do. >> &

Re: [scxml] Need for JSF

2010-11-18 Thread Rahul Akolkar
at is done, I intend to take a look at updating Commons SCXML and performing the v0.10 release. Time frame would be atleast a couple of months. -Rahul > Thanks, > Niklas > > > > On 11/16/2010 2:23 PM, Rahul Akolkar wrote: >> >> On Tue, Nov 16, 2010 at 4:53 PM, nik

Re: [scxml] Need for JSF

2010-11-16 Thread Rahul Akolkar
On Tue, Nov 16, 2010 at 4:53 PM, niklas modin wrote: >  Hi, > > I'm trying to get SC XML up and running in an equinox OSGi environment, and > I'm having some dependencies issues. > > What's the reason for having a dependency to myfaces-api ? This isn't a big > issue per say I guess, but it just se

Re: SCXML Plugin

2010-11-06 Thread Rahul Akolkar
On Sat, Nov 6, 2010 at 9:26 AM, Bilel Messaoud wrote: > Hi to all i really couldnt download the source of scxml plugin [scxml] and i > used every link i use eclipse helios 3.6 and please can you help me how i > can download the project and how can i be part of this project > thanks and good luck

Re: [SCXML] Which XSD file can I use to validate my SCXML before I try to use it?

2010-11-03 Thread Rahul Akolkar
here once ready. > > -Rahul > > [1] http://commons.apache.org/scxml/issue-tracking.html > [2] http://svn.apache.org/repos/asf/commons/proper/scxml/branches/J6/extras/ > > > >> -Mike >> >> -Original Message- >> From: Rahul Akolkar >> Sen

Re: [scxml] Questions on Multiple Instances

2010-11-03 Thread Rahul Akolkar
On Mon, Oct 25, 2010 at 12:19 PM, Christopher Dragert wrote: > The scenario:  I have many different classes (call them type A) each with > their own unique SCXML state chart. Though designed to work together, type A > classes are necessarily separate because we need them to be used modularly. >

Re: [scxml] Which W3C draft version is supported?

2010-10-20 Thread Rahul Akolkar
On Wed, Oct 20, 2010 at 5:23 AM, wrote: > Hi > Which W3C draft version is supported by Apache Commons SCXML v0.9 Commons SCXML v0.9 is closest (there are some missing pieces -- especially optional ones like anchor which were later removed) to this Working Draft: http://www.w3.org/TR/2008/WD-

Re: [digester] Trouble adding a list to a hash map

2010-10-01 Thread Rahul Akolkar
Please note that its important to post the smallest piece of code that fully demonstrates the problem at hand -- vast majority of the code below is quite unrelated and it takes time to read through each line that you add to your post. In any case, I did find atleast a couple of needles in the hays

Re: [digester] Trouble adding a list to a hash map

2010-10-01 Thread Rahul Akolkar
On Fri, Oct 1, 2010 at 3:12 PM, Philip A Grim II wrote: > > I'm having difficulty with the Digester when trying to add a list to a hash > map. > > The following is a portion of the XML I'm digesting: > > > > > > > >   > >     > >   > >     3eca4cd1-a07a-4013-b4a3-1d6a6530f7e3 > >    

Re: [scxml] Too many state navigation causes StackOverflowException

2010-09-28 Thread Rahul Akolkar
On Tue, Sep 28, 2010 at 10:29 AM, Rahul Akolkar wrote: > On Mon, Sep 27, 2010 at 6:40 AM, Lorenz Schumann | Sysvision GmbH > wrote: >> Hi Rahul, >> >> i took over a project in development and took the implementation as the >> correct way to do it. >> But a

Re: [scxml] Too many state navigation causes StackOverflowException

2010-09-28 Thread Rahul Akolkar
On Mon, Sep 27, 2010 at 6:40 AM, Lorenz Schumann | Sysvision GmbH wrote: > Hi Rahul, > > i took over a project in development and took the implementation as the > correct way to do it. > But after i read your response (thank you very much by the way!) i re-read > everything in the documentation. >

Re: [scxml] Too many state navigation causes StackOverflowException

2010-09-24 Thread Rahul Akolkar
On Fri, Sep 24, 2010 at 11:34 AM, Lorenz Schumann | Sysvision GmbH wrote: > Hi, > > i am using Commons SCXML for the first time and am overall new to the > Statechart paradigm. > But i am working on a software where a statemachine is needed and the first > choice fell on commons. > So much for the

Re: [scxml] update datamodel from Java

2010-09-21 Thread Rahul Akolkar
On Tue, Sep 21, 2010 at 5:13 AM, Hallvard Trætteberg wrote: >  I came across this one in the archive and would like to comment: > >>>  A simple implementation would >>>  reevalute all events without and event attribute, a better >>>  implemention may ask the script engine which expression depends

Re: [scxml] Transitions without targets compete for enablement

2010-09-21 Thread Rahul Akolkar
On Tue, Sep 21, 2010 at 4:35 AM, Hallvard Trætteberg wrote: > > > Thanks Rahul for the answer. Comments below: > >>  You're correct that in this case both (or more than two) transitions >>  could be selected. The selection process in v0.9 picks the first >>  transition in document order (from each

Re: [scxml] How to retrieve the transition target in a custom action

2010-09-21 Thread Rahul Akolkar
2010/9/21 Thiébault Benoît : > > Le 21 sept. 2010 à 00:12, Rahul Akolkar a écrit : > >> >> >> I believe you mean a transition thats not a stay nor self transition, >> since the only way a custom action will ever execute is if some >> transiton is being

Re: [scxml] Creating a custom action with children

2010-09-20 Thread Rahul Akolkar
2010/9/20 Thiébault Benoît : > My mistake, read: > MyCustomAction class implements org.apache.commons.scxml.model.Action > > instead of: > MyCustomAction class implements CustomAction > > Le 20 sept. 2010 à 15:38, Thiébault Benoît a écrit : > >> Hello everyone, >> >> I'm trying to configure SCXML t

Re: [scxml] How to retrieve the transition target in a custom action

2010-09-20 Thread Rahul Akolkar
2010/9/20 Thiébault Benoît : > Hi everyone, > > I would like to retrieve the transition target (if there is one) in my custom > action. > How can I do this? > > My need is more to know if there is a transition than to know what the target > is. I believe you mean a transition thats not a stay n

Re: [scxml] Transitions without targets compete for enablement

2010-09-20 Thread Rahul Akolkar
On Mon, Sep 20, 2010 at 5:25 AM, Hallvard Trætteberg wrote: >  Hi, > > I'm trying to implement a state such that whenever some event (in a > predetermined set) occurs a corresponding actions should be performed, e.g. > whenever event eA occurs, action aA should be performed, whenever event eB > oc

Re: [scxml] How to retrieve the triggering event in a custom action

2010-09-16 Thread Rahul Akolkar
> Kind regards > Ben > > Le 16 sept. 2010 à 16:38, Rahul Akolkar a écrit : > >> 2010/9/16 Thiébault Benoît : >>> Hi everyone, >>> >>> I'm using SCML with custom actions. I followed the Custom Actions tutorial >>> successfully (http://c

Re: [scxml] How to retrieve the triggering event in a custom action

2010-09-16 Thread Rahul Akolkar
2010/9/16 Thiébault Benoît : > Hi everyone, > > I'm using SCML with custom actions. I followed the Custom Actions tutorial > successfully (http://commons.apache.org/scxml/guide/custom-actions.html), but > the Hello action only uses parameters provided in the SCXML file. > > What I want to do is t

Re: [scxml] update datamodel from java

2010-09-04 Thread Rahul Akolkar
On Sat, Sep 4, 2010 at 2:03 PM, Azraiyl wrote: > changing the datamodel is IMHO an event which could be triggered > through getRootContext().set(...). If this is to be done, then yes, that'd be a good hook. > A simple implementation would > reevalute all events without and event attribute, a b

Re: [scxml] update datamodel from java

2010-09-04 Thread Rahul Akolkar
On Sat, Sep 4, 2010 at 1:19 PM, Azraiyl wrote: > Thanks for your response. Just out of curiousity: Is this the intended > behaviour of SCXML? > > Chapter 3.3.3: If the "event" clause is missing, the transition is > taken whenever the "cond" evaluates to true. > At a high level, the only way for

Re: [scxml] update datamodel

2010-09-04 Thread Rahul Akolkar
On Sat, Sep 4, 2010 at 12:40 PM, Azraiyl wrote: > Hello, > > I've a simple state machine > > > http://www.w3.org/2005/07/scxml"; version="1.0" > name="Fan2" initial="Off" exmode="strict"> >         >                 >         >         >                 >                         >                

Re: [scxml] update datamodel from java

2010-09-04 Thread Rahul Akolkar
On Sat, Sep 4, 2010 at 12:55 PM, Azraiyl wrote: > Hello, > > I've a simple state machine > > > http://www.w3.org/2005/07/scxml"; version="1.0" > name="Fan2" initial="Off" exmode="strict"> >       >               >       >       >               >                       >               >    

Re: [scxml] StopWatch usecase and State pattern

2010-08-22 Thread Rahul Akolkar
ions (and tests), which generally implies most of the original spec content is done. -Rahul > Kind regards, > > Ben > > Le 21 août 2010 à 19:47, Rahul Akolkar a écrit : > >> 2010/8/21 Thiébault Benoît : >>> Hi everyone, >>> >>> I'm starting using

  1   2   3   4   >