O'Reilly logo

Oracle ADF Faces Cookbook by Amr Gawish

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the inputDate component

The inputDate component presents a text input field for entering dates and a button for picking dates from a pop-up calendar.

In this recipe, we will add an inputDate component to the Employees form created in the first recipe to show the Hire Date attribute.

How to do it...

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

  1. Open the inputComponents.jsf page.
  2. Drag the HireDate attribute under EmployeesView1 in Chapter4AppModuleDataControl from the Data Control pane and drop it inside the panel form layout.
  3. Select Date from the drop-down menu and select Date Input w/Label.
  4. Save everything.
  5. Run the inputComponets.jsf page. You should now see the output as shown in the following screenshot:

How it works...

The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required