W3C home > Mailing lists > Public > www-voice@w3.org > October to December 2002

RE: Shadowing of a <link>

From: Laura Werner <laura@bevocal.com>
Date: Mon, 7 Oct 2002 11:21:25 -0700
Message-ID: <F73733CC5E11D41189E700D0B74A0C9E0300164D@exchange.bevocal.com>
To: "'Tobias Goebel'" <goebel@bonn.edu>, www-voice@w3.org

Hi Tobias,

We did something like this as an extension in our VoiceXML interpreter (see
cafe.bevocal.com).  We added a "universal" attribute to <grammar> that lets
you turn any grammar (including one attached to a <link>) into a universal
grammar.  Then you can use the existing "universals" property in VXML 2.0 to
enable and disable the grammar at will.  We thought about proposing this for
inclusing VXML 2.0, but it was so late in the process that we knew we
wouldn't have a chance.  When 2.0 settles down and the committee starts
working on the next version, we'll probably propose this or something like
it.

In the meantime, I can't think of an easy way to do this without an
extension.  The best approach might be to make your application highly
dynamic, and have each form be dynamically generated by a JSP each time you
transition to it.  The JSP can include only the links that need to be active
for that form on that particular invocation.  This won't do wonders for your
performance, but if you have a fast enough JSP server it may be good enough.

Laura Werner
BeVocal

> -----Original Message-----
> From: Tobias Goebel [mailto:goebel@bonn.edu]
> Sent: Monday, October 07, 2002 6:28 AM
> To: www-voice@w3.org
> Subject: Shadowing of a <link>
> 
> 
> 
> Hi,
> 
> Is it possible to do something like "Shadowing" (see for 
> example WML) in
> VoiceXML concerning links?
> If you specify a <link> at document level, it (or the grammar 
> respectively)
> is active in all forms and form items. But if you want to 
> disable a link in
> a specific form without affecting others, is there a way to 
> do that? (apart
> from removing the link from document level and putting it 
> individually in
> every form)
> In WML, you can for example define templates for buttons that 
> appear in all
> cards in a deck, and there is a mechanism for disabling a 
> task in a card by
> overwriting it (for this card only).
> Thanks
> Tobias,-
> 
Received on Monday, 7 October 2002 14:22:04 GMT

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