Author Message
MichaelReynolds [Avatar]

Joined: Nov 7, 2013
Messages: 140
Location: South Carolina
Offline
What is the best method of reading values from a property file into CCXML? I am thinking that the raw form of the property file is XML. Should I call in some JAVA methods or is there another way?

Michael Reynolds mike.reynolds@realpage.com (864) 272-3541
Anonymous

Fetch an java script file that either assigns to variables or defined the the varaibles.
If the variable is already defined your script can just assign to the variable
x = 'some value';

If the variable is not defined then you can define with an initial value.

var x = 'some value';

I recommend defining the variable in ccxml and just using java script to assign values.

------------------------
<fetch next="'<URL>'" type="'text/ecmascript'" />


<transition event="fetch.done" state="mystate">
<script fetchid="event$.fetchid"/>

------------------------------

See RouteToNumber example application.
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
Previous response we from me.
Go to:   
Mobile view