| |||||||
FRAMES NO FRAMES |
The Diagrammer view faces component exposes an IlvDiagrammer
as a JSF
component. It is a specialized JViews view faces component that exposes all the standard Diagrammer functionality that is typical of an IlvDiagrammer
while ensuring that other JViews faces components like the overview, zoom tool, pan tool, and interactors work appropriately.
<jvdf:diagrammerView
id="diagrammer"
style="width:740px;height:550px"
styleSheets="resources/styles/diagrammer.css"
dataSourceId="dataSource"
imageFormat="PNG"/>
IlvDiagrammerViewProxy, IlvDiagrammerTiledViewProxy
Tag Information | |
Tag Class | ilog.views.diagrammer.faces.dhtml.taglib.IlvFacesDiagrammerViewTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | Diagrammer View |
Attributes | ||||
Name | Required | Request-time | Type | Description |
backgroundColor | false | false | java.lang.String | The background color of the view. |
beforeSessionExpirationHandler | false | false | java.lang.String | The JavaScript code that will be called when the session is about to expire. For example to keep the session alive set this attribute to view.updateImage() . |
binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean. If this attribute is set, the tag does not create the component itself but retrieves it from the bean property. This attribute must be a value binding. |
boundingBox | false | false | java.lang.String | The initial visible displayed area of the view in the manager coordinate system. The format is "x,y,width,height" of a rectangle that represents the bounding box. Note that the view may adapt this bounding box according to some constraints, such as fixed zoom levels. |
data | false | false | java.lang.String | The data to display: idpr project, xml file, IlvDiagrammerDataSource instance, IlvSDMModel instance, ID of a data source component. |
dataSource | false | false | java.lang.String | The binding to a predefined data source. See the data source component for more information. |
dataSourceId | false | false | java.lang.String | The ID of a predefined data source. See the data source component for more information. |
diagrammer | false | false | java.lang.String | The binding to an IlvDiagrammer instance. |
editable | false | false | java.lang.String | Sets whether or not the diagrammerView is editable (that is, nodes or links can be added to or removed from the view). The default value is false. |
errorMessage | false | false | java.lang.String | The message displayed by the view if an error occurred during the image generation by the server. |
constrainedOnContents | false | false | java.lang.String | Defines whether the view is constrained to the manager content bounds or not. The default value is true . Note that zoom levels (set by |
generateImageMap | false | false | java.lang.String | Flag indicating whether an image map should be generated or not. |
height | false | false | java.lang.String | The desired height in pixels of the component. Another way to set the size of the component is to use the style attribute. This value overrides values set with the style attribute. |
id | false | false | java.lang.String | The ID of this component. |
imageFormat | false | false | java.lang.String | The image format used to encode the image that is displayed by this view. If the view is tiled, this format is used for the tiles only. The dynamic layer uses PNG format only. |
imageMapGenerator | false | false | java.lang.String | The image map generator. If the generateImageMap property is true , this generator will be invoked to create the image map dynamically. |
imageMapGeneratorClass | false | false | java.lang.String | The image map generator class name. This property is used if, and only if, the imageMapGenerator property is not set. |
imageMapVisible | false | false | java.lang.String | Flag indicating whether an image map should be visible or not (if generated). |
interactor | false | false | java.lang.String | The binding to the default interactor to set on the view. |
interactorId | false | false | java.lang.String | The ID of the default interactor to set on the view. |
maxZoomLevel | false | false | java.lang.String | The maximum zoom level. This property is used if, and only if, the zoomLevels property is not used.The default value is 10. |
messageBox | false | false | java.lang.String | The binding to a message box component used to display messages. |
messageBoxId | false | false | java.lang.String | The ID of a message box component used to display messages. |
minZoomLevel | false | false | java.lang.String | The minimum zoom level. This property is used if, and only if, the zoomLevels property is not used.The default value is 1. |
onCapabilitiesLoaded | false | false | java.lang.String | The JavaScript code executed when the capabilities are loaded from the server.In this code the view variable can be used and represents the DHTML view instance. view.JSFRef represents the JavaScript proxy of the JSF component. |
onImageLoaded | false | false | java.lang.String | The JavaScript code that is executed when the image is loaded. In this code the view variable can be used and represents the DHTML view instance. view.JSFRef represents the JavaScript proxy of the JSF component. |
panFactor | false | false | java.lang.String | The factor used when pan JavaScript actions are called (like panNorth and so on) |
partialTriggers | false | false | java.lang.String | This attribute is meaningful only when the component is used inside an Apache MyFaces Trinidad application. The IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too. Separate multiple triggers with a space. Trigger identifiers are relative to the source component for non-NamingContainer components and relative to the parent component for NamingContainer components. Identifiers must account for NamingContainers. You can use a single colon to start the search from the root, or use multiple colons to move up through the NamingContainer. For example, for a non-NamingContainer component, "::" will search from the parent naming container, ":::" will search from the grandparent naming container, etc. For a NamingContainer component, "::" will search from the parent component's parent naming container. ":::" will search from the parent component's grandparent naming container. |
project | false | false | java.lang.String | The URL of a JViews Diagrammer Designer project. |
resizable | false | false | java.lang.String | Sets whether the view can be resized or not. |
accessible | false | false | java.lang.String | Sets whether the view is accessible or not. |
hotkeys | false | false | java.lang.String | Sets the keyboard hotkeys for the view |
servlet | false | false | java.lang.String | The servlet that will generate the image. This property could be the URL of the servlet or the fully qualified servlet class name. |
style | false | false | java.lang.String | CSS style(s) to be applied when this component is rendered. |
staticLayersCount | false | false | java.lang.String | The number of static layers. In tiled view mode the static layers are tiled as opposed to dynamic layers, which are drawn on top of them. This number represents the count of layers at the bottom of the view that are considered to be static. The default value is zero. |
styleClass | false | false | java.lang.String | Space-separated list of CSS style classes to be applied when this element is rendered. |
styleSheets | false | false | java.lang.String | Comma-separated list of URLs of style sheets. |
tileManager | false | false | java.lang.String | 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 the |
tileSize | false | false | java.lang.String | 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. |
updateInterval | false | false | java.lang.String | The interval in seconds between two automatic updates. |
visibleLayers | false | false | java.lang.String | Comma-separated list of names of the visible layers. This property controls the manager layers that are visible. If the view is in tiled mode, you must not modify the visibility of static layers. Static layers are meant to be cached and must not be modified. |
waitingImage | false | false | java.lang.String | The image displayed during image loading. |
width | false | false | java.lang.String | The desired width in pixels of the component. Another way to set the size of the component is to use the style attribute. This value overrides values set with the style attribute. |
zoomFactor | false | false | java.lang.String | The zoom factor used during client zoomIn and zoomOut actions. The zoom is limited by the This factor is used if, and only if, the |
zoomLevels | false | false | java.lang.String | Comma-separated list of fixed zoom levels that can be displayed by the view. If the zoom levels are not specified, zooming is limited only by the |
progressiveZoom | false | false | java.lang.String | Sets whether the view can be progressive zoom or not. |
scrollBar | false | false | java.lang.String | Sets the scroll bar's state,the default value is "no",its valid value is one of {"no","need","yes"} |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |