Oracle Magazine, May/June 2018
Mobile APPLICATION DEVELOPER ORACLE MAGAZINE MAY JUNE 2018 53 variable pizzaMenu value 35 To set the System SetVariable value property open the menu txt file in the starter folder of the extracted download for this article in a text editor 36 Copy all the content to the clipboard and make sure you dont miss any leading blank characters 37 In the flow editor highlight the System SetVariable value property and paste the content from the clipboard so it replaces the value string 38 Ensure that the value string pasted from the clipboard aligns with the variable property as shown in Figure 4 39 Click the Validate link in the upper right to ensure proper indenting Again if you dont see an alert with a green icon you need to adjust the formatting of the added content What you just did You defined a new context variable and added the pizza menu definition to it When defining the pizza menu items you used Apache FreeMarker expressions In a later article you will learn how to dynamically query the pizza menu from a back end system by using a custom component service in Oracle Intelligent Bots SETTING UP FOR PAGINATION Pagination is a feature of the CR component that enables you to specify the start index and the range size for content rendered from an iterator To prepare for pagination create a context variable of type int to hold the index and initialize it with its first value 0
You must have JavaScript enabled to view digital editions.