morgand     01/03/06 17:53:59

  Added:       scopes/conf scopes.tld
  Log:
  new provisional taglib "scopes"
  
  Revision  Changes    Path
  1.1                  jakarta-taglibs/scopes/conf/scopes.tld
  
  Index: scopes.tld
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1" ?>
  <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
  
  <!-- a tag library descriptor -->
  
  <taglib>
    <!-- after this the default space is
        "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"
     -->
  
    <!-- The version number of this tag library -->
    <tlibversion>1.0</tlibversion>
  
    <!-- The JSP specification version required to function -->
    <jspversion>1.1</jspversion>
  
    <!-- The short name of this tag library -->
    <shortname>scopes</shortname>
  
    <!-- Public URI that uniquely identifies this version of the tag library -->
    <uri>http://jakarta.apache.org/taglibs/scopes</uri>
  
    <!-- ******************** Defined Custom Tags *************************** -->
  
    <tag>
      <name>initParameter</name>
      <tagclass>org.apache.taglibs.scopes.InitParameterTag</tagclass>
      <bodycontent>empty</bodycontent>
      <info>Get the value of a single init parameter.</info>
      <attribute>
        <name>name</name>
        <required>true</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
    <tag>
      <name>initParameters</name>
      <tagclass>org.apache.taglibs.scopes.InitParametersTag</tagclass>
      <teiclass>org.apache.taglibs.scopes.InitParametersTEI</teiclass>
      <bodycontent>JSP</bodycontent>
      <info>Loop through all init parameters.</info>
      <attribute>
        <name>id</name>
        <required>true</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
    <tag>
      <name>equalsInitParameter</name>
      <tagclass>org.apache.taglibs.scopes.EqualsInitParameterTag</tagclass>
      <bodycontent>JSP</bodycontent>
      <info>
        Includes the body of the tag if the init parameter is equal to
        the value of the "match" attribute.   
      </info>
      <attribute>
        <name>name</name>
        <required>true</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>value</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>match</name>
        <required>true</required>
        <rtexprvalue>true</rtexprvalue>
      </attribute>
      <attribute>
        <name>ignorecase</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
    <tag>
      <name>existsInitParameter</name>
      <tagclass>org.apache.taglibs.scopes.ExistsInitParameterTag</tagclass>
      <bodycontent>JSP</bodycontent>
      <info>Includes the body of the tag if the init parameter exists.</info>
      <attribute>
        <name>name</name>
        <required>true</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>value</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
    <tag>
      <name>attribute</name>
      <tagclass>org.apache.taglibs.scopes.AttributeTag</tagclass>
      <bodycontent>empty</bodycontent>
      <info>Get the value of a single application attribute.</info>
      <attribute>
        <name>name</name>
        <required>true</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>scope</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
    <tag>
      <name>attributes</name>
      <tagclass>org.apache.taglibs.scopes.AttributesTag</tagclass>
      <teiclass>org.apache.taglibs.scopes.AttributesTEI</teiclass>
      <bodycontent>JSP</bodycontent>
      <info>Loop through all application attributes.</info>
      <attribute>
        <name>id</name>
        <required>true</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>scope</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
    <tag>
      <name>equalsAttribute</name>
      <tagclass>org.apache.taglibs.scopes.EqualsAttributeTag</tagclass>
      <bodycontent>JSP</bodycontent>
      <info>
        Includes the body of the tag if the application attribute is equal to
        the value of the "match" attribute.   
      </info>
      <attribute>
        <name>name</name>
        <required>true</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>value</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>match</name>
        <required>true</required>
        <rtexprvalue>true</rtexprvalue>
      </attribute>
      <attribute>
        <name>ignorecase</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>scope</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
    <tag>
      <name>existsAttribute</name>
      <tagclass>org.apache.taglibs.scopes.ExistsAttributeTag</tagclass>
      <bodycontent>JSP</bodycontent>
      <info>Includes the body of the tag if the application attribute exists.</info>
      <attribute>
        <name>name</name>
        <required>true</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>value</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>scope</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
    <tag>
      <name>setAttribute</name>   
      <tagclass>org.apache.taglibs.scopes.SetAttributeTag</tagclass>
      <bodycontent>JSP</bodycontent>
      <info>Sets the value of an application attribute to the content in the body of 
the tag.</info> 
      <attribute>
        <name>name</name> 
        <required>true</required> 
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>scope</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
    <tag>
      <name>removeAttribute</name>
      <tagclass>org.apache.taglibs.scopes.RemoveAttributeTag</tagclass>
      <bodycontent>empty</bodycontent>
      <info>Removes an attribute from the application.</info>
      <attribute>
        <name>name</name>
        <required>true</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
      <attribute>
        <name>scope</name>
        <required>false</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
    <tag>
      <name>parameter</name>
      <tagclass>org.apache.taglibs.scopes.ParameterTag</tagclass>
      <bodycontent>empty</bodycontent>
      <info>Get a request parameter</info>
      <attribute>
        <name>name</name>
        <required>true</required>
        <rtexprvalue>false</rtexprvalue>
      </attribute>
    </tag>
  
  </taglib>
  
  
  

Reply via email to