You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Rahul Akolkar (JIRA)" <ji...@apache.org> on 2006/12/08 00:09:23 UTC

[jira] Updated: (SCXML-16) The 'target' of a cannot be a data element name

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

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

    Fix Version/s: 1.0
                       (was: 0.6)

Probably needs spec clarification, I'll look into that.



> 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: 1.0
>
>         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