Re: avoiding duplication when exit event occours

Hm, if I understand what you are saying, why not have your link grammar in your root document throw an event.  Then you can catch the event locally if you wish to "overwrite" it, or, the event will be caught in the root document if there is no catch defined in the leaf.   The catch in the leaf can be your yes/no question.


>>> "yanyang fang" <f_yanyang@hotmail.com> 05/15/02 17:05 PM >>>


Hi, everybody

I am trying to avoid duplcation, but have no idea at all.
the senario is that in banking system, customer can say exit at any 
processing  point, he will be asked( you have selected exit, do you really want to do this?" if he says "no", as a designer I would like to let him back to where he was. for example, if he was in the file validation.vxml which validate his membership , then he will be back this file. If he was in 
main menu, then he should come back to main menu,

so how can I handle this circumstance? I have a root file to hand this kinds 
of events such as operator, so that I wish to handle "exit" event in this root file as well, but not
distribute exit event in each of file. the code could be

<catch event="exit>

if event=mainmenu.exit

go to mainmenu.exit

if event=validation.exit

go to validation.vxml

</catch>



Can voicexml handle this? Any idear and suggestion you could offer to me?



Thanks in advance



Kind regrards



Yanyang


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

Received on Friday, 17 May 2002 12:25:22 UTC