Help with SCXML Send usage

2005-12-05 Thread Mike Sparr - www.goomzee.com
We are trying to parse/use the content between send /send tags and everything we try using the SCXML digester and Send methods retrieves null. We have successfully captured the var values, but nothing within send tags. Can you please provide information on how to retrieve this content using the

[SCXML] Help with SCXML Send usage

2005-12-06 Thread Mike Sparr - www.goomzee.com
Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: We are trying to parse/use the content between send /send tags and everything we try using the SCXML digester and Send methods retrieves null. We have successfully captured the var values, but nothing within send tags. Can you please provide

RE: [SCXML] Help with SCXML Send usage

2005-12-06 Thread Mike Sparr - www.goomzee.com
PM To: Jakarta Commons Users List; [EMAIL PROTECTED] Subject: Re: [SCXML] Help with SCXML Send usage On 12/6/05, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Rahul, I appreciate your response. Yes, I did look at RDC and it does not meet my needs. Your musicstore app required you

[Digester] assistance - namespace-aware processing (how to write rules for digest)

2005-12-10 Thread Mike Sparr - www.goomzee.com
If I have a document (note the content element referencing external namespace): document author name=John Doe / titleSome name of a document/title exerptA brief description of a quotable phrase from document/exerpt content xmlns:myco=http://www.company.com/document/schema;

RE: [SCXML] Help with SCXML Send usage

2005-12-10 Thread Mike Sparr - www.goomzee.com
) Mike -Original Message- From: Mike Sparr - www.goomzee.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 5:44 PM To: 'Rahul Akolkar'; 'Jakarta Commons Users List' Subject: RE: [SCXML] Help with SCXML Send usage Hi Rahul, I appreciate the direction and if we get

RE: [SCXML] Help with SCXML Send usage

2005-12-10 Thread Mike Sparr - www.goomzee.com
Users List Subject: Re: [SCXML] Help with SCXML Send usage On 12/10/05, Rahul Akolkar [EMAIL PROTECTED] wrote: snip/ On 12/10/05, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Rahul, I haven't compiled/tested, but it looks like this (below) is what is needed

RE: [SCXML] Help with SCXML Send usage

2005-12-12 Thread Mike Sparr - www.goomzee.com
/10/05, Rahul Akolkar [EMAIL PROTECTED] wrote: snip/ On 12/10/05, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Rahul, I haven't compiled/tested, but it looks like this (below) is what is needed in the SCXMLDigester.java? Is there any way for you to verify and perhaps rebuild

[SCXML] Concurrent users

2005-12-12 Thread Mike Sparr - www.goomzee.com
Rahul, Your code worked (from your personal snapshot) fine - thanks. One issue we're now facing is handling concurrent users from multiple clients. My goal is to use one scxml doc to manage app flow for all users. It looks like there is one context and it's shared, so if we trigger an event,

RE: [SCXML] Concurrent users

2005-12-13 Thread Mike Sparr - www.goomzee.com
within onentry and can only be retrieved during ontransition. I'm not sure if just our implementation or how it's built. Anyhow, just a little input from our findings. Rgds, Mike -Original Message- From: Mike Sparr - www.goomzee.com [mailto:[EMAIL PROTECTED] Sent: Monday, December 12

RE: [SCXML] Concurrent users

2005-12-13 Thread Mike Sparr - www.goomzee.com
-Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 13, 2005 12:39 PM To: Jakarta Commons Users List; [EMAIL PROTECTED] Subject: Re: [SCXML] Concurrent users On 12/12/05, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Rahul, Your code worked (from your

[SCXML] EL and dynamic transition target

2005-12-13 Thread Mike Sparr - www.goomzee.com
PROTECTED] Subject: Re: [SCXML] Concurrent users On 12/13/05, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Rahul, I think build may have broke due to dependency on XercesImpl, xml-apis, and possibly xalan jar dependencies. Your recent code change likely requires them now so you may

RE: [SCXML] EL and dynamic transition target

2005-12-13 Thread Mike Sparr - www.goomzee.com
Users List; [EMAIL PROTECTED] Subject: Re: [SCXML] EL and dynamic transition target On 12/13/05, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Hi Rahul, One more query from my guy about our next step, getting EL to work: HIS QUESTION I tried various patterns

RE: [SCXML] Concurrent users

2005-12-14 Thread Mike Sparr - www.goomzee.com
PROTECTED] Subject: Re: [SCXML] Concurrent users On 12/12/05, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Rahul, Your code worked (from your personal snapshot) fine - thanks. snip/ OK, thanks for the update :-) One issue we're now facing is handling concurrent users from multiple

RE: [SCXML] Concurrent users

2005-12-14 Thread Mike Sparr - www.goomzee.com
PROTECTED] Subject: Re: [SCXML] Concurrent users On 12/14/05, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Hi Rahul, Two issues reported: EventDispatcher#send - inability to access context snip/ Which is per design. Can you elaborate why the context should be accessible

[SCXML] SCXMLDigester setNamespaceAware

2005-12-15 Thread Mike Sparr - www.goomzee.com
] Sent: Wednesday, December 14, 2005 10:39 PM To: Jakarta Commons Users List; [EMAIL PROTECTED] Subject: Re: [SCXML] Concurrent users On 12/14/05, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Hi Rahul, Two issues reported: EventDispatcher#send - inability to access context snip/ Which

RE: [SCXML] SCXMLDigester setNamespaceAware

2005-12-16 Thread Mike Sparr - www.goomzee.com
? And are you in US? -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 12:55 PM To: Jakarta Commons Users List; [EMAIL PROTECTED] Subject: Re: [SCXML] SCXMLDigester setNamespaceAware On 12/15/05, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote

Re: [SCXML] Help with sending events

2006-03-24 Thread Mike Sparr - www.goomzee.com
Below is an example of how we use SCXML. You can declare the event in the send tag and it is sent. Of course each implementation of the executor varies, but maybe this will help. = state id=state_logoff final=true transition event=menu send

Re: [SCXML] Help with sending events

2006-03-24 Thread Mike Sparr - www.goomzee.com
On 3/24/06 1:13 PM, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Below is an example of how we use SCXML. You can declare the event in the send tag and it is sent. Of course each implementation of the executor varies, but maybe this will help. = state id=state_logoff

Re: [workflow] Good workflow products

2006-04-02 Thread Mike Sparr - www.goomzee.com
Check jbpm - comes highly recommended from folks I know. Mike -- Mike Sparr Bus. Dev. Manager Goomzee Corporation [EMAIL PROTECTED] www.goomzee.com 406.542.9955 (office) 406.531.9955 (mobile) 888.451.5907 x88 (toll free / fax) On 4/2/06 9:32 PM, Josh Foure [EMAIL PROTECTED] wrote: Hi

[SCXML] conditional logic; dynamically assign event

2006-04-05 Thread Mike Sparr - www.goomzee.com
Can I dynamically assign and event name? What is the suggested way to implement and incremental prompt, assign, transact? For instance, let's say I send one prompt at a time but need from account, to account and amount before firing a transferFunds event: I have another menu option transition

Re: [SCXML] conditional logic; dynamically assign event

2006-04-05 Thread Mike Sparr - www.goomzee.com
Never mind... I think the correct usage is to create multiple events of same name with cond=${empty varName} Thanks! Need more pepsi - I should've remembered that! On 4/5/06 6:22 PM, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Can I dynamically assign and event name

[SCXML] variable scoping

2006-04-05 Thread Mike Sparr - www.goomzee.com
Can someone help with variables? I want to declare some global variables for the xml engine, then have various conditional events set the values of those variables. I would like to have access to those variables from one transition event to the next. I get the following errors: 09:04:02,372

Re: [SCXML] uml2bpel cool, but what about csxml2bpel?

2006-04-06 Thread Mike Sparr - www.goomzee.com
Hey Rahul, Do I have to update my version (december snapshot) and implement datamodel to set global application variables? I would like to set variables that all states/transitions can access and assign or cond=${var}. I got it to work by declaring vars WITHIN the transition and passing in

[SCXML] ordering of transitions

2006-04-07 Thread Mike Sparr - www.goomzee.com
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: state id=1 transition event=menu/transition transition

Re: [SCXML]: BUG: Inner States with no InitialState

2006-04-07 Thread Mike Sparr - www.goomzee.com
Initialstate is attribute of the scxml tag: scxml xmlns=http://www.w3.org/2005/07/SCXML; version=1.0 initialstate=state_welcome state id=state_welcome transition event=menu cond=${x=y}/transition transition event=menu cond=${y=z}/transition transition event=greet/transition /state In the

Re: [SCXML] ordering of transitions

2006-04-07 Thread Mike Sparr - www.goomzee.com
/06 11:34 PM, Rahul Akolkar [EMAIL PROTECTED] wrote: On 4/7/06, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] 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

Re: [SCXML] ordering of transitions

2006-04-08 Thread Mike Sparr - www.goomzee.com
Thanks Rahul, I'll post requests next week and have one of my guys take on dev env. (understood on out of scope for list). Sleep well! :) Mike On 4/8/06 12:11 AM, Rahul Akolkar [EMAIL PROTECTED] wrote: On 4/8/06, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Oddly enough

[SCXML] outputting variables

2006-04-11 Thread Mike Sparr - www.goomzee.com
Do variables need to be added to the namelist for display within output? Strange thing is when sending SOAP message with ${var_name} it captures the value of that variable and sends in SOAP message. When attempting to display variables in another transition event (e.g. Confirmation), it outputs

Re: [SCXML] patterns for bridging

2006-04-20 Thread Mike Sparr - www.goomzee.com
Rahul, I see a lot of mentioning of JEXL. Still need me to add bugzilla request? Mike On 4/20/06 1:53 PM, Rahul Akolkar [EMAIL PROTECTED] wrote: On 4/20/06, Nestor Urquiza [EMAIL PROTECTED] wrote: So you think the approach of calling a method as part of the condition is a valid

Re: [SCXML] patterns for bridging

2006-04-20 Thread Mike Sparr - www.goomzee.com
We discussed adding functions to EL and Commons EL didn't offer them (like substringAfter). I believe you said JEXL offers that and to add bugzilla request to enhance the EL capabilities? Mike On 4/20/06 2:06 PM, Rahul Akolkar [EMAIL PROTECTED] wrote: On 4/20/06, Mike Sparr - www.goomzee.com

Re: commons fileupload

2006-06-17 Thread Mike Sparr - www.goomzee.com
Martin, http://ethereal.com/ (very easy to use and when you run it, you can choose which network adapter to capture traffic. After you capture, then you can run the viewer to analyze). In addition, I believe AXIS includes a network monitoring tool built into the library so you may want to use

[SCXML] migration from old source to current - digest, exec, context handling

2006-06-18 Thread Mike Sparr - www.goomzee.com
Rahul, I pulled down the latest and attempting to migrate to new scxml baseline. The following errors occurred with our implementation as they were based on earlier version. Only 5 errors referencing deprecated classes but curious the best way to digest, etc. with current? Errors are below.

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-18 Thread Mike Sparr - www.goomzee.com
subStringAfter, etc.) for more text parsing capabilities that the CommonsEL package? == Thanks, Mike On 6/18/06 2:34 PM, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Rahul, I pulled down the latest and attempting to migrate to new scxml baseline. The following errors occurred with our

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-18 Thread Mike Sparr - www.goomzee.com
Evaluator should I use (as I'm making changes now) Commons EL or JEXL. Cheers, Mike On 6/18/06 7:03 PM, Rahul Akolkar [EMAIL PROTECTED] wrote: On 6/18/06, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Rahul, I found the changes. - The SCXMLDigester was moved to the .io package

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-19 Thread Mike Sparr - www.goomzee.com
and would appreciate any steer on making the above possible. Which Evaluator should I use (as I'm making changes now) Commons EL or JEXL. Cheers, Mike On 6/18/06 7:03 PM, Rahul Akolkar [EMAIL PROTECTED] wrote: On 6/18/06, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-19 Thread Mike Sparr - www.goomzee.com
:33 PM, Rahul Akolkar [EMAIL PROTECTED] wrote: On 6/19/06, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Hi Rahul, Everything seems to be working except for API Calls. I changed line 455 of SCXMLDigester to setNamespaceAware(false) instead of true and it fixed my XSL transform issues

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-19 Thread Mike Sparr - www.goomzee.com
a migration path to new version. :) Best, Mike On 6/19/06 2:01 PM, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Hi Rahul, I was unaware that after you digest you could inject params (thought it was static) hence my meddling with your source. I will definitely try the mentioned

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-20 Thread Mike Sparr - www.goomzee.com
I will do that today and report. After the checkout, I need to edit Controller code to set the namespace handling before digestion and can then test... :) Cheers, Mike On 6/20/06 12:23 AM, Rahul Akolkar [EMAIL PROTECTED] wrote: On 6/19/06, Mike Sparr - www.goomzee.com [EMAIL PROTECTED

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-20 Thread Mike Sparr - www.goomzee.com
, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: snip/ Yes, the cb is in the context and EL works in controller but after updating code, it doesn't evaluate in Dispatcher? I didn't get that resolved but going to add some more debug.outs to find out what's happening with the context

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-20 Thread Mike Sparr - www.goomzee.com
(either make ModelUpdater public or preferably update SCXMLDigester with new method). Cheers, Mike On 6/20/06 10:35 PM, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Hey Rahul, To get the build working and change the namespace handling, I changed the reference to the filename

[SCXML] add custom FunctionMapper to EL for string manipulation functions

2006-06-21 Thread Mike Sparr - www.goomzee.com
Does anyone have example usage of ELEvaluator(FunctionMapper)? I downloaded JSTL 1.1 and going through library but few examples on how to implement. Goal is to add some more functions with EL (like substringAfter, substringBefore, tokenize(var,delim), etc.). Also, the commons ELEvaluator

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-21 Thread Mike Sparr - www.goomzee.com
something about only adding state-level variables to the context? See the implementation below that used to work fine with older library - now the navigation works fine until trying to evaluate send contents in Dispatcher... Mike On 6/21/06 1:07 AM, Mike Sparr - www.goomzee.com [EMAIL PROTECTED

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-21 Thread Mike Sparr - www.goomzee.com
JEXL. Suggest test of datamodel, var, assign and send. Not sure on what has changed but temporarily will work with old codebase. :( /mike On 6/21/06 2:35 AM, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: No luck. EL or Context are not evaluating the variables within the transitions

Re: numbered tags for an array

2006-06-28 Thread Mike Sparr - www.goomzee.com
order1/name was just a typo and not well-formed XML... The point he was trying to make is to have some other element with your numbering or you could also have an attribute with the name tag: person name order=1Aname/name /person person name order=2Bname/name /person ... Cheers, Mike On

Re: numbered tags for an array

2006-06-28 Thread Mike Sparr - www.goomzee.com
the syntax correct... :) Hope this helps! Mike On 6/28/06 9:22 AM, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: order1/name was just a typo and not well-formed XML... The point he was trying to make is to have some other element with your numbering or you could also have an attribute

Re: SCXML - downloading latest code

2006-07-10 Thread Mike Sparr - www.goomzee.com
Install Subversion on your machine. Www.tigris.org I believe. I used the following in console and source checked out and built just fine. Check out and build latest source (from console or DOS prompt - assuming Subversion is installed): - cd /some/desired/directory svn co

Re: [SCXML] Using the markup language to produce state charts in Windows XP/Explorer Client-side?

2006-08-16 Thread Mike Sparr - www.goomzee.com
Hello Talmage, For the functionality you describe you could leverage the library to parse the SCXML document, then write a program that graphically represents the model (likely an Applet or SVG). This is overkill for that purpose it seems. The markup is more intended for functionality and not

Re: [SCXML] config Listener

2006-09-20 Thread Mike Sparr - www.goomzee.com
that Configuration currently implements be a possibility or even worth considering? Thanks, Mike On 9/20/06 9:24 AM, Rahul Akolkar [EMAIL PROTECTED] wrote: On 9/19/06, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Hey Rahul, I've been swamped so have not finished porting our app