On Mon, Aug 18, 2008 at 7:14 PM, Anna Klisiewicz
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is it possible to initialize data structures like stack or queue as elements
> of <data> in SXML code?
>
<snip/>

I'm short on time this week, so I'll try to point to some existing
docs. See bit on contexts and evaluators (on how to get the said data
structures initialized), as well as method invocation (on how to
perform operations on the said data structures):

  http://commons.apache.org/scxml/guide/contexts-evaluators.html

To summarize, each context is populated by a combination of:
 * <data> elements at the corresponding location in the SCXML document
 * programmatic population using data structures that make sense to
the EL in use -- via Context#set(String, Object)

-Rahul


> Thanks,
> Anna
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to