adf
Tag toc


Renders a Table-of-Contents (TOC) for the associated Map component. The TOC is a tree-like structure showing the different services in the application and their constituent layers in a hierarchial fashion.

For example:
  <a:toc id="toc1" mapId="map1" value=#{mapContext.webToc} width="70" height="300" />


Tag Information
Tag Classcom.esri.adf.web.faces.taglib.TocTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The ValueExpression linking this component to a property in a backing bean.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Indicates whether or not the component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
valuetruefalsejavax.el.ValueExpression
(must evaluate to com.esri.adf.web.data.WebToc)
The current value of the component. Must be an object of type com.esri.adf.web.data.WebToc. This object is represents the component's Model in an MVC architecture. It aggregates the related capabilities (TOCFunctionality) of individual resources (GISResource) in the application.
mapIdtruefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
ID of the associated Map component.
xslFilefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
References a xsl file associated with the toc control. By default, toc.xsl in the WEB-INF/classes/xsl directory is used, and no value needs to be assigned to this attribute. If you want to use a different xsl with the toc control, you must reference the new xsl file. For example, if the xsl file is named myxsl.xsl, it should be placed in the WEB-INF/classes/xsl directory, and the value "myxsl.xsl" should be assigned to this attribute.
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style(s) to be applied when the component is rendered.
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Space-separated list of CSS style class(es) to be applied when the component is rendered.
clientPostBackfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Specifies AJAX behaviour of the component. If true, the component uses AJAX to communicate with the web server. If false, the component causes a full-page postback instead. Default value is true.
autoPostBackfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Specifies if the component should immediately notify the web server when the component's state changes. (For eg, when a layer is toggled)
textStylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style(s) to be applied to the text within the component.
textStyleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Cascading style sheet class(es) for the text within the component.
indentWidthfalsefalsejavax.el.ValueExpression
(must evaluate to int)
Number of spaces for indenting hierarchial nodes in the component.
collapsedImagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Image representing a collapsed node in the component. When clicked, the node expands.
expandedImagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Image representing an expanded node in the component. When clicked, the node collapses.
resourceImagefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Image representing the root node in the component.
showExpandedfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Specifies whether the component should expand all nodes by default.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.