RE: SCXML <send> namelistexpr

It depends on your data model.  You can also use param which allows expr to give you more control of what is submitted.

From: www-voice-request@w3.org [mailto:www-voice-request@w3.org] On Behalf Of Ian Sutherland
Sent: Wednesday, November 24, 2010 3:58 PM
To: Jim Barnett
Cc: Pierre.Wellner@inficon.com; www-voice@w3.org
Subject: Re: SCXML <send> namelistexpr

On 24-Nov-10 14:40, Jim Barnett wrote:
Pierre,
We have discussed this issue a couple of times and think that the existing mechanisms provide enough flexibility.  First off, the values for 'namelist' are computed dynamically, even if the list of variable names is not.  Secondly, 'targetexpr' can be used to compute a dynamic URL including parameters.
Perhaps I misunderstand, but with only the above mechanisms, the only way to determine the parameters submitted at run time is to submit them on the query string, correct?  (I'm not considering hacks like encoding the parameter mapping in a single parameter.)  It's not, in general, desirable to force parameters to be submitted on the query string.  For whatever it's worth, I think it would be better to have some way to submit a dynamically determined collection of parameters in the HTTP request body.

Between these two mechanisms, we think that developers have enough flexibility so that 'namelistexpr' would be redundant.


Jim

From: www-voice-request@w3.org<mailto:www-voice-request@w3.org> [mailto:www-voice-request@w3.org] On Behalf Of Pierre.Wellner@inficon.com<mailto:Pierre.Wellner@inficon.com>
Sent: Tuesday, November 23, 2010 3:17 PM
To: www-voice@w3.org<mailto:www-voice@w3.org>
Subject: SCXML <send> namelistexpr

Most attributes of <send> come in both static and dynamic flavors.  For example, event expects a static string, while eventexpr is evaluated at runtime.  The current SCXML draft does not list a dynamic version of namelist.  Does there exist a way to dynamically construct a namelist for <send>?  If not, should we add namelistexpr to the list of possible <send> attributes?

Thanks,
Pierre


***********************************************************************
NOTICE: - This message including any attachments is intended only for the use of the designated recipient(s) named above and may contain confidential information protected by law.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information is strictly prohibited.  If you have received this transmission in error, please notify the sender immediately by e-mail and delete the original message including any attachments.
***********************************************************************



CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain confidential and proprietary information of Alcatel-Lucent and/or its affiliated entities. Access by the intended recipient only is authorized. Any liability arising from any party acting, or refraining from acting, on any information contained in this e-mail is hereby excluded. If you are not the intended recipient, please notify the sender immediately, destroy the original transmission and its attachments and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or its affiliated entities.

Received on Thursday, 25 November 2010 00:08:42 UTC