IltFacesEquipmentView
and acts as a facade to an
IlpEquipment
component. It provides a convenient API for the most common uses of
the equipment component, such as setting or retrieving the
associated data source, accessing the underlying equipment
component, or accessing the equipment view directly.
.tld
) file named
jviews-tgo-faces.tld
that is included in the
jviews-tgo-all.jar
. The JViews TGO JSF tag library must be declared in the JSP page
before any of its components are used.
<%@ taglib uri="http://www.ilog.com/jviews/tlds/jviews-tgo-faces.tld" prefix="jvtf" %>
jviews-tgo-faces.tld
tag library within a JSP page, and binds all its components to
the
jvtf
prefix. Once this is done, you can declare the equipment view
component as follows:
<jvtf:equipmentView id="myEquipment" context="#{myContext}"
id
(component unique identifier): Can be any given string that
uniquely identifies this component within a server session.
context
(the
IlpContext
to be used): Must be a value binding to an instance of
IlpContext
declared as a managed bean. For Web applications, the TGO
context must be
ilog.tgo.faces.service
.IltFacesDefaultContext or a user defined
subclass.