[ http://issues.apache.org/jira/browse/SCXML-16?page=all ]

Rahul Akolkar updated SCXML-16:
-------------------------------

    Fix Version/s: 0.6
         Assignee: Rahul Akolkar

Correct. Also, targettype and sendid should be evaluated as well, in line with 
the latest Working Draft. If you want, you can update your patch to include 
those as well. I'll get to this in a couple of days.


> 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
>         Assigned To: Rahul Akolkar
>            Priority: Minor
>             Fix For: 0.6
>
>         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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to