Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Bonita Open Solution 5.x Essentials

You're reading from   Bonita Open Solution 5.x Essentials Developing applications using Bonita Open Solution means you can model business processes in a workflow, and this book teaches you all the fundamentals by taking you through the entire development cycle.

Arrow left icon
Product type Paperback
Published in Nov 2013
Publisher Packt
ISBN-13 9781782167082
Length 144 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Rohit Bhat Rohit Bhat
Author Profile Icon Rohit Bhat
Rohit Bhat
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Bonita Open Solution 5.x Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Installing and Getting Started with Bonita 2. Variable Types and Scope FREE CHAPTER 3. Creating and Customizing Web Forms 4. Conditions, Contingencies, and Transitions 5. Adding Connectors 6. Configuring the Page Flow 7. Customizing Look and Feel Deploying Bonita on a Server Index

Finalizing the web form data


We have seen how the connectors work in Bonita. Now we need to edit certain fields in the forms that we had left empty before as we didn't have the data with us. Now, as we have learned how to use connectors, we have all the necessary data. Let us finalize these forms now.

We have obtained the data from the database connector and saved it in the rowSet variable. Now, we need to populate the fields of the ChooseFlight form using this data.

Open the ChooseFlight web form and populate each field as follows:

  • The Image widget: The label of this widget should contain the name of the airline. Hence, click on Edit expression... for the label and enter the following:

    rowSet.toList(3).get(0);

    rowSet contains the result set of the SQL query. Hence, we extract the third column of the result set, which is the airline name according to the SQL query that we have written. This will give a list of all the airline names that match the SQL query. Out of this list, we extract the first...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime