The first and simplest page that can be made with a JViews Framework Faces component is an empty view:
<jvf:view style="width:500 px; height:300 px;" />
|
This will produce a 500 by 300 pixel view. The namespace jvf (for JViews Framework Faces) must be declared in the page:
<%@ taglib
uri="http://www.ilog.com/jviews/tlds/jviews-framework-faces.tld"
prefix="jvf" %>
|
An alternative to specifying the size of the component is to use the width and height attributes, but using the style is preferable.
<jvf:view width="500" height="500" />
|
The view component is the central component of a JViews Framework Faces application, all the other components depend or interact on this view. This view can be extended to make more specific components.