Download ORD User Manual
Transcript
Copyright © 2009-2015, OpenRules, Inc. A user may use different names for the methods or completely change the way a dialog is being stored and loaded. The standard class Dialog provides the following convenience methods that give a user some flexibility: store(String fileName) load(String fileName) storeToXML(OutputStream outStream) loadFromXML(InputStream outStream) store(OutputStream outStream) load(InputStream outStream) In particular, storing the questionnaire answers in an XML file may simplify its interaction with other applications. DIALOG TEMPLATES ORD comes with a set of template-projects that allow a user to build different types of questionnaires. These templates have been created by OpenRules and/or contributed by customers. Below we describe the currently available templates with their sample views. DialogType0 - simple dialog with two navigation buttons This template includes all types of questions and two buttons “Next” and “Prev” that allow you to navigate throw pages. Here is a typical view: DialogType1 – adds Login/Logout and Save/Load facilities DialogType1 demonstrates how to implement an authorized access with Login/Logout functionality. A user may Save the current state of the interaction and later Restore this state (during Login) with the saved answers. Here is a typical view: 24