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. By default,
Software AG Designer creates new view pages using the .view format (deprecated). You can create legacy view pages by specifying a .view file name extension when creating a view page.
VDL files in .xhtml format for JSF Facelets projects (default).
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.
Related Topics