Book Image

Oracle JET for Developers

By : Raja Malleswara Rao Malleswara Rao Pattamsetti
Book Image

Oracle JET for Developers

By: Raja Malleswara Rao Malleswara Rao Pattamsetti

Overview of this book

This book will give you a complete practical understanding of the Oracle JavaScript Extension Toolkit (JET) and how you can use it to develop efficient client-side applications with ease. It will tell you how to get your own customized Oracle JET set up. You'll start with individual libraries, such as jQuery, Cordova, and Require.js. You'll also get to work with the JavaScript libraries created by Oracle, especially for cloud developers. You'll use these tools to create a working backend application with these libraries. Using the latest Oracle Alta UI, you'll develop a state-of-the-art backend for your cloud applications. You'll learn how to develop and integrate the different cloud services required for your application and use other third-party libraries to get more features from your cloud applications. Toward the end of the book, you'll learn how to manage and secure your cloud applications, and test them to ensure seamless deployment.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Form controls


Form controls are the components that help us indicate that one or more elements in the page are controlled to edit, read only, or disabled. When the form controls are disabled, you can't enter data into those components, whereas when they are enabled by the control components, you can go ahead and edit the data in the other fields.

The following example demonstrates the three states – Enabled, Disabled, and ReadOnly for the form components:

  • HTML:
        <div id="form-container"> 
          <div>
            <h5>Set State</h5>
            <div class="oj-buttonset-width-auto"
             data-bind="ojComponent: { component: 'ojButtonset',
                                       checked: formState}">
              <label for="enabled">Enabled</label>
              <input type="radio" name="formstate" value="enabled"
               id="enabled" data-bind="ojComponent: { component: 
                                                    ...