About Views
Within each portlet or web application you create, you can create one or more views that define the user interface for the portlet. You define the views as View Declaration Language (VDL) files. Composite Application Framework (CAF) supports two types of VDL files:
A VDL file implemented as a .view file structured with a proprietary
Software AG XML schema.
Note: | By default, new view pages are created as Facelets .xhtml files. You can modify this behavior by setting a preference on the UI Development preferences page, or by specifying a .view or .xhtml file name extension when creating a view page. For more information, see Setting CAF Development Preferences. |
A view represents a page in an application, defining the structure of the controls for the user interface. Typically, CAF has associated a single page managed bean as the primary server-side backing model for every page. However, this is not required. A VDL file can reference any managed bean, and it may be easier for some use cases to not use a page managed bean at all.
You can open a VDL file in the CAF editor, enabling you to modify the view to your custom requirements. You can:
Drag CAF controls from the Palette view directly on to the design canvas.
Specify properties for controls, for example, isVisible, isRendered, isDisabled.
Bind controls to managed beans.
Import portal resources into your view.