WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Binding Basics.

Slides:



Advertisements
Similar presentations
RightNow 8 -- Adding a new report: New > Report: ORAnalytics > Reports > New Report
Advertisements

RightNow February Adding a New Report: RN icon > Report: OR Analytics > Reports > New Report
WaveMaker Visual AJAX Studio 4.0 Training
Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Chapter 14.3 LINQ to SQL Programming in Visual Basic 2010: The Very Beginner’s Guide by Jim McKeown Databases – Part 3.
Chapter 18 - Data sources and datasets 1 Outline How to create a data source How to use a data source How to use Query Builder to build a simple query.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
1 Pertemuan 09 Database Matakuliah: D0524 / Algoritma dan Pemrograman Komputer Tahun: 2005 Versi:
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Introduction To Form Builder
1 Chapter 5: Introduction To Form Builder. 2 Forms  Why Do We Use Form Builder?  Why Don’t We Use SQL Only?!
1 Agenda Overview Review Roles Lists Libraries Columns.
Database Updates Made Easy In WebFocus Using SQL And HTML Painter Sept 2011 Lender Processing Services 1.
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
Quick Start Guide: Filters Advanced Learn about: 1.What filters are and their functionality 2.How to create a filter using Samples, Equipment & Labels.
131 Agenda Overview Review Roles Lists Libraries Columns.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
WaveMaker Visual AJAX Studio 4.0 Training Studio Overview.
Copyright 2007, Information Builders. Slide 1 Maintain & JavaScript: Two Great Tools that Work Great Together Mark Derwin and Mark Rawls Information Builders.
Unit J: Creating a Database Microsoft Office Illustrated Fundamentals.
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
Advanced Forms Lesson 10.
WaveMaker Visual AJAX Studio 4.0 Training Advanced Editor properties and Events.
WaveMaker Visual AJAX Studio 4.0 Training Basics: LiveVariables.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
WaveMaker Visual AJAX Studio 4.0 Training Authentication.
Tip Calculator App Building an Android App with Java © by Pearson Education, Inc. All Rights Reserved.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
1 Databound Controls. 2 Objectives You will be able to use design time data binding to display and update SQL Server database data without writing any.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
S511 Session 7, IU-SLIS 1 DB Implementation: MS Access Forms.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Designer Basics.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
DB Implementation: MS Access Forms. MS Access Forms  Purpose Data entry, editing, & viewing data in tables Forms are user-friendlier to end-users than.
1 Chapter 20 – Data sources and datasets Outline How to create a data source How to use a data source How to use Query Builder to build a simple query.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
WaveMaker Visual AJAX Studio 4.0 Training Pages, Layers and Navigation.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
WaveMaker Visual AJAX Studio 4.0 Training Java Script Events.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
ADO.NET Objects Data Adapters Dr. Ron Eaglin. Agenda Builds on Information in Part I Should have working knowledge of creating a database connection Continuation.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Understand Databound Controls Windows Development Fundamentals LESSON 4.2A.
Chapter 9 Working with Databases. Copyright © 2011 Pearson Addison-Wesley Introduction In this chapter you will learn: – Basic database concepts – How.
1 Chapter 6: Creating Oracle Data Block Forms. 2 Forms  Application with a graphical user interface that looks like a paper form  Used to insert, update,
DATA GRID VIEW objective of lecture:- After completing this lecture, you will be able to: Create a data grid view object on a windows form and use it to.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Templates.
Building a User Interface with Forms
LMEvents SharePoint Portal How-to Guide
Download/Upload Receipts
DB Implementation: MS Access Forms
Upload/Download Receipts
DB Implementation: MS Access Forms
CIS16 Application Programming with Visual Basic
Database Applications
Web Design and Development
These slides are for reference only. They are not "lecture notes"
Chapter 10 Accessing Database Files
Unit J: Creating a Database
Presentation transcript:

WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Binding Basics

2 Building your First Application Import data in Live Tables Drag-n-drop widgets in Page Designer Connect data to widgets in Page Designer 1.Define Data 2. Build GUI 3. Bind data to GUI Can also import Java and Web Services Can deploy app to any Java server ** Steps 1 and 2 can be reversed – you can design first then add data

3 What is a Binding ● In WaveMaker, the connection between a widget and a source of data, is called the binding. –Source of data –Database Import (Live Variable), –Web Service Import (Service Variable) –Custom Java Code (Service Variable) –Variables (Variable) ● Create a variable which will contain a single instance of the data –Bind the widget to the variable to populate it with data 3. Bind data to GUI

4 Type of Variables ● Three Types of Variables –New Variable – Can be simple or complex types (Examples; Strings, Numbers, Dates, complex type which represent an object like customer) –New LiveVariable – special variable that stores an instance of a LiveTable or LiveView (more on this later) –New ServiceVariable – way to perform an operation, such as a database operation, web service, or custom Java method ● Also used to create New Navigation – action that controls travel to other pages or layers within the application 3. Bind data to GUI

5 Binding Examples ● Hello World Label –Create variable of type string with the value “Hello World” –Add a Label widget to the page –Bind the Labels caption property to the testVar.dataValue 3. Bind data to GUI

6 Binding Examples ● Populating a DataGrid –Create a LiveVariable which is populated via a LiveTable (i.e., Customers) –The variable is now filled with an object of type customers and all of it’s data –Add a Grid –Bind the Grid’s dataset to the liveVariable1 3. Bind data to GUI

7 How to Bind ● Any property that can be bound is marked with a circular bind icon ● Properties that are bound have the target displayed in the field and are marked with a link icon ● Bindings can be changed or deleted –Click the X icon to delete the binding –Click the link to change the existing binding 3. Bind data to GUI

8 How to Bind ● To bind a property, click the circular bind icon ● Choose a binding target –Simple – list of most commonly bound targets based on the property you are binding –Advanced – all available binding targets –Expression – any valid java script function can be used ● Click Bind to save your settings 3. Bind data to GUI

9 Binding Tips ● Expand the widget groups to see all of the properties ● When binding to an Editor, bind to the dataValue ● Sometimes UI elements will be bound to the displayValue 3. Bind data to GUI

10 How to populate a DataGrid ● DataGrid –Highly configurable widget used to display lists –Users can sort and resize the columns ● Binding Data to a DataGrid –Bind the dataSet property to appropriate variable or service call –DataGrid will be populated with the data from the underlying dataSet 3. Bind data to GUI

11 DataGrid Basics 3. Bind data to GUI

12 Populating the DataGrid ● Data Properties –dataSet – list of all object you would most likely display in a list. –If you don’t see your choice click the bind button to manually find the object –After selecting the dataSet, each type in the dataSet will be displayed as a column in the DataGrid. –You will see a real-time representation of the data in the Designer. 3. Bind data to GUI

13 Add / Remove Columns ● Operations –addColumn – manually add a single column –autoColumns – adds a column for each type –clearColumns – removes all columns –updateNow – retrieves data and updates DataGrid with live data 3. Bind data to GUI

14 Naming DataGrid Columns ● You can edit the properties, delete, or rearrange the columns in the DataGrid. ● Common Properties –name – unique name for the widget –caption – title displayed at top of column 3. Bind data to GUI

15 Configuring Column Properties Data Properties –field – data type that is displayed in column, all types in dataSet are listed –dataExpression – allows any java script expression –display – controls the format of the data (i.e. Date, Currency etc) –format – fine grain control over the display (i.e. number of places) Layout Properties –autoSize - adjust widget to size of content –columnWidth – fixed size for a widget –index – order in which column is displayed in DataGrid, first column is 0 3. Bind data to GUI

16 How to filter result sets ● Add search criteria –Add input fields to the page –Live Variables have a filter property –Filters can be bound to the input fields –When a value in the input field is updated the filter is applied to the result set. –Note the change takes affect as soon as an input field looses focus 3. Bind data to GUI

17 Adding a Search Button ● Adding a button to perform the search –Add a button widget to the canvas –Most widgets have an event property –Event’s are fired at different times depending on the lifecycle of the widget –Events can be configured to: –make service calls –refresh variables –call any custom code –Buttons’ have an onClick event –Set the onClick event to update the LiveVariable * Note the button is not needed for the filter to be applied 3. Bind data to GUI

18 Test Run your application ● Deploys the application in it’s current state to the tomcat web server ● Opens a new browser and launches the application ● You can leave the application open – subsequent test runs will use the same open window

19 Questions?

20 Exercise 4 ● Add a Live Variable ● Bind Variable to Grid ● Add text fields –Bind the Variables filter to the text fields ● Add a button –Change the buttons event to update the variable ● Test Run the Application