Databases Reference
In-Depth Information
The following statement as the last entry is responsible for updaing the
backing bean whenever a new component is added or removed from the page:
<!--oracle-jdev-comment:auto-binding-backing-bean-
name:backing_dept-->
The page template entry in the page will have the binding reference in the
deptPageDef.
xml
ile and the page deiniion will also have an entry in the
Databindings.cpx
ile.
Have a go hero
The steps for creaing
employee.jspx
are similar to that of creaing a
dept.jspx
page.
Creaing the
employee.jspx
page is left for the user as an exercise.
Layout the page display
We have a template and a page now for our web applicaion. The next step is to layout the
page so that the informaion is presentable for the user. Now we will have to add the content
of
DeptVO
from the data control and add it to the
dept.jspx
page. We will add model layer
content from the data control to the page by dragging-and-dropping the
view object
instance
as explained in the previous chapter. Once the content is added to the content facet of the
page, it looks like the one shown in the following screenshot:
You can see the difference between the
index.jspx
page and the
dept.jspx
in the
following screenshot as the new page has a blue border and the content is stretched
completely. This is because the
dept.jspx
page is based on the page template and
the
index.jspx
page does not have the page template defined for it.
Search WWH ::
Custom Search