W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2006

[scxml] custom actions

From: Nestor Urquiza <nestoru@yahoo.com>
Date: Tue, 11 Jul 2006 11:15:52 -0700 (PDT)
Message-ID: <20060711181552.66755.qmail@web50906.mail.yahoo.com>
To: www-voice@w3.org

Hello guys,
I am reading the specs at [1] and I am wondering if
instead to write as the example there shows:

<datamodel>
  <data name="dest" expr="'tel:+18315552020'"/>
  <data name="connectionid"/>
</datamodel>
<onentry>
  <send targettype="ccxml" event="ccxml:createcall"
namelist="dest"/>
</onentry>
<transition event="ccxml:createcall.success">
   <assign name="connectionid"
expr="_eventdata.connectionid"/>
</transition>

I can just write:
 
<onentry>
  <var name="dest" expr="'tel:+18315552020'"/>
  <var name="connectionid"
expr="ccxml:createcall(dest)"/>
</onentry>

If the namespace is just local java code for example
instead of ccxml the above is perfectly valid and in
fact I have been using that approach in my application
which currently uses scxml-commons as the
implementation for SCXML.

Thanks!,
Nestor
[1] http://www.w3.org/TR/scxml

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Received on Tuesday, 11 July 2006 18:16:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:49:03 GMT