[ 
https://issues.apache.org/jira/browse/SCXML-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Tillberg updated SCXML-54:
-------------------------------

    Attachment: HelloEvent.java
                custom-hello-world-04-jexl.xml
                custom-hello-world-04-el.xml

EL and JEXL versions of a simple state machine for testing custom action event 
generation.  The HelloEvent class is a modified version of the existing 
Hello.java that generates an event and places it into the derivedEvents 
collection.


> Events from custom actions missing payload
> ------------------------------------------
>
>                 Key: SCXML-54
>                 URL: https://issues.apache.org/jira/browse/SCXML-54
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.7
>         Environment: 20070730 nightly build
>            Reporter: Mike Tillberg
>            Priority: Minor
>         Attachments: custom-hello-world-04-el.xml, 
> custom-hello-world-04-jexl.xml, CustomActionTest.java, HelloEvent.java
>
>
>    I'm trying to generate events from custom events by adding 
> TriggerEvent objects into the derivedEvents argument.  This is working 
> in terms of triggering transitions, however I'm unable to properly 
> access the payload from these generated events, depending on the 
> evaluator being used.  With the EL evaluator, _eventdata and 
> _eventdatamap seem to be empty when the transition fires.  With JEXL, 
> the payload is available, however the assignments seem to be in a local 
> context, even though the variable I'm assigning should only exist in the 
> root context.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to