commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sitthichai Rernglertpricha (JIRA)" <j...@apache.org>
Subject [jira] Created: (SCXML-16) The 'target' of a <send> cannot be a data element name
Date Tue, 08 Aug 2006 03:36:14 GMT
The 'target' of a <send> cannot be a data element name
------------------------------------------------------

                 Key: SCXML-16
                 URL: http://issues.apache.org/jira/browse/SCXML-16
             Project: Commons SCXML
          Issue Type: Bug
         Environment: Windows, JDK 1.4.2
            Reporter: Sitthichai Rernglertpricha
            Priority: Minor
         Attachments: patch-send.txt

Based on the SCXML specification, the 'target' attribute of a <send> element can be
"expression returning a unique identifier of the event target".
The specification also shows an example that reads the target from a data element within <datamodel>.
The current SCXML runtime treats target as a literal string and does not "evaluate" it.

The attached patch file shows a way to "evalulate" the target before calling the EventDispatcher#send
method, and support specifying the target by a data element. Enclosing target within single-quote
will prevent evaluation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message