<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
    The contents of this file are subject to the Mozilla Public License Version 1.1
    (the "License"); you may not use this file except in compliance with the License.
    You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.

    Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
    WARRANTY OF ANY KIND, either express or implied. See the License for the specific
    language governing rights and limitations under the License.

    The Original Code is the Venice Web Communities System.

    The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
    for Silverwrist Design Studios.  Portions created by Eric J. Bowersox are
    Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios.  All Rights Reserved.

    Contributor(s): 
-->
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                        "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

<taglib>
  <!-- after this the default space is
       "http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->

  <tlibversion>0.1</tlibversion>
  <jspversion>1.1</jspversion>
  <shortname>util</shortname>
  <uri></uri>
  <info>Utility tag library for JSP renderings.</info>

  <tag>
    <name>comment</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilCommentTag</tagclass>
    <info>Conditionally includes HTML comments.</info>
    <bodycontent>JSP</bodycontent>
  </tag>

  <tag>
    <name>color</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilColorTag</tagclass>
    <info>References a standard color from the configuration.</info>
    <bodycontent>EMPTY</bodycontent>
    <attribute>
      <name>name</name>
      <required>true</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>font</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilFontTag</tagclass>
    <info>Includes a standard FONT tag pair.</info>
    <bodycontent>JSP</bodycontent>
    <attribute>
      <name>color</name>
      <required>false</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
      <name>size</name>
      <required>false</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>link</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilLinkTag</tagclass>
    <info>Includes an A tag with the URL possibly modified by the system.</info>
    <bodycontent>JSP</bodycontent>
    <attribute>
      <name>href</name>
      <required>true</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
      <name>type</name>
      <required>true</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>aclass</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>target</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>title</name>
      <required>false</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>escape</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilEscapeTag</tagclass>
    <info>Escapes its content so that it's not interpreted as HTML.</info>
    <bodycontent>JSP</bodycontent>
  </tag>

  <tag>
    <name>urlencode</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilURLEncodeTag</tagclass>
    <info>URL-encodes its content.</info>
    <bodycontent>JSP</bodycontent>
  </tag>

  <tag>
    <name>stock_message</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilStockMessageTag</tagclass>
    <info>References a stock message from the configuration file.</info>
    <bodycontent>EMPTY</bodycontent>
    <attribute>
      <name>key</name>
      <required>true</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>button</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilButtonTag</tagclass>
    <info>Inserts a standard button graphic.</info>
    <bodycontent>EMPTY</bodycontent>
    <attribute>
      <name>id</name>
      <required>true</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>type</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>header</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilHeaderTag</tagclass>
    <info>Inserts a standard content header.</info>
    <bodycontent>JSP</bodycontent>
    <attribute>
      <name>title</name>
      <required>false</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
      <name>stocktitle</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>subtitle</name>
      <required>false</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
      <name>stocksubtitle</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>title</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilTitleTag</tagclass>
    <info>Supplies a title for the content header.</info>
    <bodycontent>JSP</bodycontent>
  </tag>

  <tag>
    <name>subtitle</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilSubtitleTag</tagclass>
    <info>Supplies a subtitle for the content header.</info>
    <bodycontent>JSP</bodycontent>
  </tag>

  <tag>
    <name>menuheader</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilMenuHeaderTag</tagclass>
    <info>Demarcates a block that becomes a "menu" header.  Contains util:menuheaderitem tags.</info>
    <bodycontent>JSP</bodycontent>
    <attribute>
      <name>caption</name>
      <required>true</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>menuheaderitem</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilMenuHeaderItemTag</tagclass>
    <info>Denotes an item for a menu header.  Must be contained within a util:menuheader tag.</info>
    <bodycontent>JSP</bodycontent>
    <attribute>
      <name>selected</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>href</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilHrefTag</tagclass>
    <info>Supplies a HREF link and type for the util:menuheaderitem and util:xlink tags.</info>
    <bodycontent>JSP</bodycontent>
    <attribute>
      <name>type</name>
      <required>true</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>text</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilTextTag</tagclass>
    <info>Supplies the text for the util:menuheaderitem and util:xlink tags.</info>
    <bodycontent>JSP</bodycontent>
  </tag>

  <tag>
    <name>form</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilFormTag</tagclass>
    <info>Includes a FORM tag with the URL possibly modified by the system.</info>
    <bodycontent>JSP</bodycontent>
    <attribute>
      <name>verb</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>action</name>
      <required>true</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
      <name>type</name>
      <required>true</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>aclass</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>isfile</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>stdbullet</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilStdBulletTag</tagclass>
    <info>Inserts the standard "bullet" graphic.</info>
    <bodycontent>EMPTY</bodycontent>
  </tag>

  <tag>
    <name>xlink</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilXLinkTag</tagclass>
    <info>Includes an A tag built up piecemeal with util:text and util:href.</info>
    <bodycontent>JSP</bodycontent>
    <attribute>
      <name>aclass</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>target</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>expand_servlet</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilExpandServletTag</tagclass>
    <info>Expands the servlet address in its body into a full URL.</info>
    <bodycontent>JSP</bodycontent>
  </tag>

  <tag>
    <name>image</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilImageTag</tagclass>
    <info>Inserts an IMG tag with its URL optionally fixed up.</info>
    <bodycontent>JSP</bodycontent>
    <attribute>
      <name>src</name>
      <required>true</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>fixup</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>alt</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>width</name>
      <required>true</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>height</name>
      <required>true</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>border</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>align</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>hspace</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>vspace</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
      <name>usemap</name>
      <required>false</required>
      <rtexprvalue>false</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>alt</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilAltTag</tagclass>
    <info>Supplies the ALT text for the util:image tag.</info>
    <bodycontent>JSP</bodycontent>
  </tag>

  <tag>
    <name>linktitle</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilLinkTitleTag</tagclass>
    <info>Supplies a title for the xlink tag.</info>
    <bodycontent>JSP</bodycontent>
  </tag>

  <tag>
    <name>target</name>
    <tagclass>com.silverwrist.venice.ui.jsp.UtilTargetTag</tagclass>
    <info>Supplies a target for the xlink tag.</info>
    <bodycontent>JSP</bodycontent>
  </tag>

</taglib>
