Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Update of "SCXML/FrequentlyAskedQuestions" byWolfgangFrech

    0 answers - 1981 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Dear Wiki user,
    You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification.
    The following page has been changed by WolfgangFrech:
    The comment on the change is:
    added entry on inital sub-state in extracted component of parallel
    However, this has been implemented in trunk, so with the next release of Commons SCXML the SCXMLExecutor instances will be Serializable. Listeners and other associated user-supplied bits are expected to be Serializable.
    +
    + How do I specify the initial substate when extracting a state descending from a <parallelelement into an external file?
    +
    + Use the initialstate attribute of the scxml element in the external file, and delete the initial pseudostate element with the transition to the initial substate.
    +
    + Example definition before extraction:
    + {{{
    +
    + <parallel>
    + <state id="a">
    + <initial>
    + <transition target="a.initial"/>
    + </initial>
    + <state id="a.initial>
    +
    + }}}
    +
    + Example definition after extraction:
    + {{{
    +
    + <parallel>
    + <state id="a" src="a.scxml"
    + }}}
    +
    + Extracted definition:
    + {{{
    +
    + <scxml
    +
    + initialstate="a.initial">
    + <state id="a">
    + <state id="a.initial">
    +
    + }}}
    +
    + Ellipsis marks omitted elements or attributes.
    +
    + Reason for this entry: I found it a bit confusing that there are two ways to express "initiality" of a (sub-)state, one by declaring initialstate, one by adding an operation, that is an unconditional initial transition. This is even more confusing during the "extract" refactoring, because I had to switch from the operational to the declarative method.
    +
    To unsubscribe, e-mail: commons-dev-unsubscribe (AT) jakarta (DOT) apache.org
    For additional commands, e-mail: commons-dev-help (AT) jakarta (DOT) apache.org

Re: Update of "SCXML/FrequentlyAskedQuestions" byWolfgangFrech


max 4000 letters.
Your nickname that display:
In order to stop the spam: 7 + 7 =
QUESTION ON "Java"

EMSDN.COM