nuecho / rivr

Rivr is a lightweight open-source dialogue engine enabling Java developers to easily create enterprise-grade VoiceXML applications.
http://rivr.nuecho.com
Other
61 stars 23 forks source link

how to write java code for return namelist in subdialogue #24

Closed D41138761 closed 2 years ago

D41138761 commented 2 years ago

we need to return using namelist for a subdialouge in vxml < return namelist="test test2 test3" />

java - using Return object as below return new Return("namelist", returnValues); or return new Return("return", returnValues);

is the above code correct to send returnValues as namelist?

gawi commented 2 years ago

The first parameter of the Return constructor is just a name. Use whatever you want. What's important is to pass the VariableList object.

D41138761 commented 2 years ago

thanks