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! 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
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle ADF Faces Cookbook

You're reading from   Oracle ADF Faces Cookbook Transform the quality of your user interfaces and applications with this fascinating cookbook for Oracle ADF Faces. Over 80 recipes give you an insight into virtually every angle of the framework's potential.

Arrow left icon
Product type Paperback
Published in Mar 2014
Publisher
ISBN-13 9781849689229
Length 358 pages
Edition Edition
Arrow right icon
Author (1):
Arrow left icon
Amr Ismail Gawish Amr Ismail Gawish
Author Profile Icon Amr Ismail Gawish
Amr Ismail Gawish
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Building Your ADF Faces Environment From the Ground Up 2. Getting Started with ADF Faces and JDeveloper FREE CHAPTER 3. Presenting Data Using ADF Faces 4. Using Common ADF Faces Components 5. Beautifying the Application Layout for Great User Experience 6. Enriching User Experience with Visualization Components 7. Handling Events and Partial Page Rendering 8. Validating and Converting Inputs 9. Building Your Application for Reuse 10. Scaling your ADF Faces Application Index

Using the codeEditor component


A new component added to the ADF Faces family from the 12c version is the codeEditor component which provides an in-browser code editing capabilities.

The codeEditor component is used by end users to enter code-like text with editing functionalities like what a typical IDE would provide, such as syntactical color coding of keywords, indention, validation, search, error highlighting, and logs pane.

In this recipe, we will present the CodeSample attribute in a codeEditor component inside the inputComponets.jsf page.

How to do it...

In order to add the codeEditor component, follow the ensuing steps:

  1. Open the inputComponets.jsf page.

  2. Drag the CodeSample attribute under EmployeesView1 in Chapter4AppModuleDataControl from the Data Control pane and drop it inside the panel form layout.

  3. Navigate to Text | ADF Input Text w/ Label.

  4. Open the source mode of the inputComponets.jsf page.

  5. Manually change af:inputText to af:codeEditor and don't forget the closing tag as well.

  6. Remove...

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
Banner background image