Databases Reference
In-Depth Information
Data Controls palette
The
Data Controls
palete is the component in the IDE that exposes the
available
application
module as a data control layer within the applicaion.
In our
EmpDirectoryApplication
applicaion, we have two applicaion modules
registered in the
Model.jpx
file as highlighted in the following screenshot:
The
Data Controls
palete will have the components explained in the following secion.
Data control
The available
application
module is displayed as a data control layer in the palete.
The data control layer is a metadata deiniion that translates the API of the speciic
business service implementaion to a generic format allowing declaraive and consistent
development. A user cannot drag-and-drop this component to the page because of the
reason stated in the previous secion.
The view object collection
The
view object
instance that is added to the
application
module is displayed as
the
view object
collecion in the
Data Controls
palete. All the available atributes in
the
view object
collecion are contained in the
view object
collecion. The collecion
can be dragged and dropped on the page as a UI component that supports iteraion. For
example, the
carousel
,
tree
, and
table
components iterate through the collecion
model to display the rows in the UI. In the following screenshot, we can see that the
EmpDirectoryModuleControl
module is lising the
DeptVO1
and
EmpVO1
view object
instances as a collecion and source, respecively, to expose the underlying atributes:
Search WWH ::
Custom Search