adf


Standard Syntax:
     <%@ taglib prefix="adf" uri="http://www.esri.com/adf/web" %>

XML Syntax:
     <anyxmlelement xmlns:adf="http://www.esri.com/adf/web" />

This Tag Library contains WebADF's JavaServer Faces (JSF) component tags for visualization and analysis of geographic data.

Tag Library Information
Display NameNone
Version10.0
Short Nameadf
URIhttp://www.esri.com/adf/web
 

Tag Summary
contextProvides a context for all the Web ADF components to work within. It is invisible in the HTML view of the page.

For example:
  <a:context id="mycontext" value=#{mapContext} />
mapRenders a Map on the page by aggregating map images from all the services in the application.

For example:
  <a:map id="map1" value="#{mapContext.webMap} scalebar="#{mapContext.attributes.webappScaleBar} width="400" height="400" />
overviewRenders an Overview map for the associated Map component. The Overview map displays an area-of-interest box representing the current extent of the associated Map.

For example:
  <a:overview id="ov1" mapId="map1" value=#{mapContext.webOverview} width="70" height="70" />
tocRenders 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" />
toolbarRenders a ToolBar on the page. The Toolbar hosts constituent components like Command, Tool, and SelectOne. These components allow the user to invoke operations with or without interacting with the Map.

For example:
  <a:toolbar id="toolbar1" mapId="map1" activeTool="ZoomIn">
    ...
  </a:toolbar>
toolRenders a Tool within a ToolBar component. When activated, Tool components allow the user to interact with the map (for eg, clicking on a location, or drawing a shape). Once the interaction is complete, a method on a server-side Java object is invoked.

For example:
  <a:toolbar id="toolbar1" mapId="map1" activeTool="ZoomIn">
    ...
    <a:tool id="ZoomIn" toolTip="ZoomIn" toolText="ZoomIn"
      defaultImage="images/tasks/maptools/zoomin.png"
      hoverImage="images/tasks/maptools/zoominU.png"
      selectedImage="images/tasks/maptools/zoominD.png"
      clientAction="EsriMapRectangle"
      serverAction="com.esri.adf.web.faces.event.ZoomInToolAction"/>
  </a:toolbar>
commandRenders a Command within a ToolBar component. When activated, Command components invoke a method on a server-side Java object.

For example:
  <a:toolbar id="toolbar1" mapId="map1">
    ...
    <a:command toolTip="PreviousExtent" toolText="PreviousExtent"
      action="#{mapContext.attributes['history'].doPrevious}"
      defaultImage="images/tasks/maptools/back.png"
      hoverImage="images/tasks/maptools/backU.png"
      selectedImage="images/tasks/maptools/backD.png"/>
  </a:toolbar>
selectOneRenders a drop-down list within a ToolBar component. The list invokes a method on a server-side Java object when it's value is changed.

For example:
  <a:toolbar id="toolbar1" mapId="map1">
    ...
    <a:selectOne id="zoomByFactor" toolText="Zoom By Factor"
      value="#{mapContext.attributes.myBean.factor}"
      valueChangeListener="#{mapContext.attributes.myBean.doZoomByFactor}"
      onchange="document.forms[0].submit();">
        <f:selectItems id="factors" value="#{mapContext.attributes.myBean.factors}"/>
    </a:selectOne>
  </a:toolbar>
separatorRenders a separator within the ToolBar component. Separators are typically used to group logically related components in the ToolBar

For example:
  <a:toolbar id="toolbar1" mapId="map1">
    ...
    <a:separator id="separator1" image="images/separator.png"/>
  </a:toolbar>
taskRenders a Task on the page. Tasks are functional units that accomplish a business operation in the application. Please refer to the Task Framework documentation for more information.

For example:
  <a:task id="myTask" mapId="map1" value="#{mapContext.attributes.myTask}" taskInfo="#{mapContext.attributes.myTask.taskInfo}" />
resultsRenders a tree-like structure to display results on the page.

For example:
  <a:results id="results" mapId="map1" value="#{mapContext.attributes.webappResults}" xslFile="results.xsl" />
buttonRenders a Button on the page which invokes a method on a server-side Java object using AJAX (it does not force a full-page postback). It can also optionally allow the user to interact with the map (for eg. click on a location, draw a shape, etc) before invoking the method.

For example:
  <a:button id="btn1" mapId="map1" type="button" value="Click Here"
    onclick="javascript:informUser()"
    clientAction="EsriMapPoint"
    serverAction="#{myBean.selectLocation}" />
 


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