[scxml] passing data to the state

2010-07-12 Thread qin ding
I am learning commons scxml.  I am experimenting writing a poker game using activemq and scxml.  So, I have my config xml defined as follows: ?xml version=1.0? scxml xmlns=http://www.w3.org/2005/07/scxml;    version=1.0    initialstate=waitingRound     datamodel     data

Re: [scxml] passing data to the state

2010-07-12 Thread Rahul Akolkar
On Mon, Jul 12, 2010 at 12:49 PM, qin ding qindi...@yahoo.com wrote: I am learning commons scxml.  I am experimenting writing a poker game using activemq and scxml. So, I have my config xml defined as follows: ?xml version=1.0? scxml xmlns=http://www.w3.org/2005/07/scxml;   

Re: [scxml] passing data to the state

2010-07-12 Thread qin ding
do this, I get null out of the RootContext().  Any idea? I will study the link you sent to me. - Original Message From: Rahul Akolkar rahul.akol...@gmail.com To: Commons Users List user@commons.apache.org Sent: Mon, July 12, 2010 1:02:04 PM Subject: Re: [scxml] passing data to the state

Re: [scxml] passing data to the state

2010-07-12 Thread Rahul Akolkar
details. -Rahul I will study the link you sent to me. - Original Message From: Rahul Akolkar rahul.akol...@gmail.com To: Commons Users List user@commons.apache.org Sent: Mon, July 12, 2010 1:02:04 PM Subject: Re: [scxml] passing data to the state On Mon, Jul 12, 2010 at 12:49 PM

Re: [scxml] passing data to the state

2010-07-12 Thread qin ding
, July 12, 2010 2:56:28 PM Subject: Re: [scxml] passing data to the state On Mon, Jul 12, 2010 at 3:18 PM, qin ding qindi...@yahoo.com wrote: Thank you, Rahaul, for your quick response. If I do the following: Player p = ... // POJO from game client   getEngine().getRootContext().set(player, p