networkView
component. In general, the client-side configuration is passed as
tag attributes to the
networkView
. It is also through tag attributes that you connect auxiliary JSF
components to enhance the
networkView
, like the dataSource, overview, selectInteractor, and others
styleSheets
is used to pass a list of Cascading Style Sheets (CSS) files to
configure the network adapter (filters, node and link factories,
for example), the network view (background and zoom policies, for
example) and the network objects themselves.
networkView
component.
Tag
Attributes |
Description
|
---|---|
id
|
Defines the unique identifier for the component. Every
component should have a unique identifier. Mandatory.
|
context
|
Defines the JViews
TGO context to be used by the underlying
IlpNetwork
component. Mandatory.
|
binding
|
Allows
the user to bind the component to a backing bean. |
width
|
Defines the width, in pixels, of the view component. This
attribute is inherited from the
view
JSF component.
|
height
|
Defines the height, in pixels, of the view component. This
attribute is inherited from the
view
JSF component.
|
style
|
Provides CSS customization. This attribute is inherited from
the JViews
Framework JSF.
|
styleClass
|
Defines the style classes for the component. This attribute is
inherited from the JViews
Framework JSF.
|
messageBox
|
Binds the text output of the
networkView
component to a
messageBox
component. (A
messageBox
component is defined by the core JViews JSF library and
displays text messages in a JSP™ page.) This attribute is
inherited from the JViews
Framework JSF.
|
messageBoxId
|
Similar to
messageBox
but binds the
messageBox
component by its unique identifier. This attribute is inherited
from the JViews
Framework JSF.
|
interactor
|
Specifies the default (initial) interactor set to the
networkView
component. It has no correspondence with a view interactor. It
should be a JSF component (like the
selectInteractor
component). This attribute is inherited from the JViews Framework JSF.
|
interactorId
|
Similar to
interactor
but binds to the unique identifier of the interactor. This
attribute is inherited from the JViews Framework JSFJSF.
|
zoomFactor
|
Configures the zoom factor applied when zooming in or out. This
attribute is inherited from the JViews Framework JSF.
|
panFactor
|
Configures the pan factor (how much the image is moved). It is
mainly used when the
networkView
component is connected with the
panTool
component. This attribute is inherited from the JViews Framework JSF.
|
updateInterval
|
Defines the interval between automatic updates. The
networkView
component will then send an update request to the server on a
regular basis. This attribute is inherited from the JViews Framework JSF.
|
imageFormat
|
The image encoding format, for example "JPG" or "PNG". This
attribute is inherited from the JViews Framework JSF.
|
waitingImage
|
Defines the image to be displayed by the network JSF component
while waiting for the image servlet to generate the response
image. This attribute is inherited from the JViews Framework JSF.
|
generateImageMap
|
Indicates whether an image map should be generated for the
network JSF component. This attribute is inherited from the JViews Framework JSF.
See Adding an Image Map in the Advanced Features
of JViews Framework documentation.
|
imageMapVisible
|
Indicates whether the image map should be made visible or not.
This attribute is inherited from the JViews Framework JSF.
See Adding an Image Map in the Advanced Features
of JViews Framework documentation.
|
imageMapGenerator
|
Binds to a bean that subclasses the
ilog.views.servlet.IlvImageMapAreaGenerator
class and is responsible for generating the image map. This
attribute is inherited from the JViews Framework JSF.
See Adding an Image Map in the Advanced Features
of JViews Framework documentation.
|
imageMapGeneratorClass
|
The name of a bean class that subclasses the
ilog.views.servlet.IlvImageMapAreaGenerator
class and is responsible for generating the image map. This
attribute is inherited from the JViews Framework JSF.
See Adding an Image Map in the Advanced Features
of JViews Framework documentation.
|
backgroundColor
|
Specifies the background color to be displayed by the network
JSF component when there is no background image. This attribute
is inherited from the JViews
Framework JSF.
|
onImageLoaded
|
Specifies the JavaScript code to be executed right after a
refreshed image is loaded from the server. This attribute is
inherited from the JViews
Framework JSF.
|
onCapabilitiesLoaded
|
Similar to
onImageLoaded
, but this is executed right after a request for capabilities
has been answered by the server. This attribute is inherited
from the JViews
Framework JSF.
|
errorMessage
|
The error message to be displayed in case of faulty
client-server communication. This attribute is inherited from
the JViews
Framework JSF.
|
servlet
|
Overrides the default image servlet used to generate images.
This attribute is inherited from the JViews Framework JSF.
|
project
|
Sets a JViews TGO
project to the underlying
IlpNetwork
component.
|
dataSource
|
Binds the
networkView
component with a
dataSource
component. The data source component wraps an
IlpAbstractDataSource
component internally.
|
dataSourceId
|
Similar to
dataSource
, but binding is done through the data source’s unique
identifier.
|
network
|
Specifies a custom
IlpNetwork
which replaces the default automatically instantiated network
component.
|
styleSheets
|
Specifies a JViews
TGO CSS configuration file for the underlying
IlpNetwork
component. It is different from the
styles
tag attribute as it provides server-side configuration, which
is specific to JViews
TGO. This CSS file may contain component and business data
configuration.
|
resizable
|
Enables or disables the resizing of the network JSF component.
This attribute is inherited from the JViews Framework JSF.
|
boundingBox
|
Defines the width and height of the network view component.
This attribute is inherited from the JViews Framework JSF.
|
data
|
Defines the data to be displayed, which can be a JViews TGO project, a
binding to an
IlpAbstractDataSource
instance, or the unique identifier of a
dataSource
component.
|
zoomLevels
|
Comma-separated
list of fixed zoom levels used by the view.
If the zoom levels are not specified, the zoom is bound only by
the
maxZoomLevel
property.
|
maxZoomLevel
|
The maximum zoom level. This property is used if, and only if,
the
zoomLevels
property is not used.
The default value is 10. |
tileSize
|
The size
of a tile. If the tile size is greater than or equal to 0, the
view will be set in tiled mode.
The tile size must be carefully chosen
for performance reasons. |
tileManager
|
The tile
manager is responsible for retrieving and/or storing image
tiles on the server side.
The tile manager is used when the view is tiled, that is, if
tileSize
is strictly positive.
|