VoiceXML Forum Community Message Board


Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» VoiceXML Forum Community Message Board   » Newbies   » Query

 - UBBFriend: Email this page to someone!    
Author Topic: Query
pramod sharma
Junior Member
Member # 3845

Rate Member
Icon 1 posted October 05, 2006 06:31 AM      Profile for pramod sharma   Email pramod sharma   Send New Private Message       Edit/Delete Post   Reply With Quote 
Hi, All
Can we define subdialog within a subdialog ?

Thank You [email protected]

--------------------
pramod sharma

Posts: 1 | From: india | Registered: Oct 2006  |  IP: Logged
mheadd
Member
Member # 3181

Member Rated:
4
Icon 1 posted October 19, 2006 09:22 AM      Profile for mheadd   Author's Homepage   Email mheadd   Send New Private Message       Edit/Delete Post   Reply With Quote 
I�ve never done this myself, but I have seen it in code that I have inherited and now maintain. There is nothing technically wrong with doing this � it�s not contrary to anything that is in the VoiceXML specification.

It�s really a just a design choice � you can do it, but you�ll just need to watch out for potential "gotchas." Since subdialogs run in their own execution context, you need to be conscious of what parameters are being passed, what variables are in scope, how values are returned, etc. Also, since a VoiceXML platform must create a new context for each subdialog, if you get outrageous in how many are being used silmultaneously there may be performance degradation.

I don�t personally use �chained� subdialogs this way � I typically use them one at a time; for example, if I need to query a database and return results to a calling dialog. There is nothing inherently right about this approach, I just think it makes my code more streamlined, as well as easier to read and troubleshoot.

Hope this helps.

--------------------
Mark
VoiceinGov.org
http://www.voiceingov.org

Posts: 55 | Registered: Jun 2005  |  IP: Logged


All times are Eastern  
Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:

Contact Us | VoiceXML Forum



Powered by Infopop Corporation
UBB.classicTM 6.3.1.2