SelectOneChoice
component
SelectInputDate component
• Actions in the
executable section
are invoked on page
load.
• Actions bind to
methods or actions
in the bindings
definition.
• Use Expression
Language to set
conditions that
determine when an
action is executed.
13-6 Copyright © 2007, Oracle. All rights reserved.
Constructors
Constructors:
• Are methods created as
part of the Data Control
• Are added to the
Constructors node
• Create a new object
• Can be used to build ADF
creation forms
mergeEntity():
• Is added to the Session Facade Bean
• Is used for committing updates
• Checks for existence
• Merges transaction into unit of work
• Commits the transaction
persistEntity():
• Is part of the Session Facade Bean
• Is used for inserts
• Checks for duplicates in unit of work
• Inserts an entity
• Commits the transaction
11
• Add the
persistEntity()
method.
• Add it as a button or
bind it to an existing
button.
• Pass the newly created
entity to the method.
• Navigate to the
calling page.
• Set Cache Results
to false on the
iterator.
• The queries are
reexecuted each
time the page is
reloaded.