Databases Reference
In-Depth Information
What just happened?
The previous expression will render the
first
facet if there is any row available for the
EMP
table. If there is no row, the
second
facet is rendered and processed. The
bindings
component will get the reference to the binding context for the page deiniion.
EmpVO1
instance is the tree binding to the
EMPVO.xml
view object. The
estimatedRowCount
will get the count of the rows available for the
EmpVO.xml
ile.
Partial page rendering
ADF framework has the feature of refreshing the content or a secion of the page without
refreshing the complete page. Only the component that is registered will be refreshed.
This is called parial page rendering. For the
navigation
components, we will use the
partialSubmit
atribute to send noiicaion for changes and
partialTriggers
will specify the ID of the component on which the current component should listen for
noiicaion. For other components, we will use the
autoSubmit
property to send a
refresh
noiicaion.
Have a go hero - completing the page
Now we will move on to pracising something that we have learned:
Create a new page named
Employee Search
. Add a
query
page to it which
will search for an employee and then the result will be displayed in a table.
Add a
command
buton that will display a popup message
Hi good morning
in
a dialog.
Add another
command
buton that will display a message in the page in an
output text. When the buton is clicked on again, the message should display
a number which gets increased every ime the buton is clicked.
Pop quiz
Q1. ____________ is responsible for a uniform look and feel of the enire web applicaion.
1. page
2. page template
3. page deiniion ile
Search WWH ::
Custom Search