SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 217 | Next

Nirav Mehta

"Mobile Web Development"

We match any word
from the names of the pizzas and assign the full name of the pizza to a VXML field
called pizza. There is only one rule in the file, and it is also the root rule.
What do we do after recognizing the pizza? We need to ask the user for the crust and
size she or he wants, the topping she or he would like, and then confirm the order.
We will need to store all her or his selections into some variables and then pass them
on to the server where we will save the order.
Storing Variables at the Application Level
Before we can pass variables to the server side, we need to create variables! VXML
provides a mechanism to store variables at application level. Even if you have
multiple XML files in the same application, they can access these variables from the
application scope.
Chapter 9
[ 171 ]
We can define an application-level variable at the top of the VXML document
like this: . The expression can contain a valid
expression enclosed in double quotes. We want to start with a blank string, so our
expression will be just two single quotes.
The actual value will be filled once we get the input from the user.


Pages:
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
druga wojna światowa Free English grammar and study guid hotel jelenia góra Russian bride counter strike 1.6