<!-- 
  Copyright 2001, Pajato Systems Group
  Copyright 2001, Allaire Corporation
-->

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

  <tlibversion>1.0</tlibversion>
  <jspversion>1.1</jspversion>
  <shortname>inv</shortname>
  <info>
	This is a sample tag library supporting the implementation of
	the invoice application using custom tags.
  </info>

  <tag>
    <name>foreach</name>
    <tagclass>allaire.samples.invoice.taglib.InvoiceIterator</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>
      Iterate over a collection, either weeks or clientCompanies.
    </info>
    <attribute>
      <name>collectionName</name>
      <required>true</required>
    </attribute>
    <attribute>
      <name>parameterName</name>
      <required>true</required>
    </attribute>
  </tag>       
  
  <tag>
    <name>getItem</name>
    <tagclass>allaire.samples.invoice.taglib.InvoiceItem</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Access the next iteration on a foreach tag.</info>
  </tag>       

  <tag>
    <name>selectedItem</name>
    <tagclass>allaire.samples.invoice.taglib.InvoiceSelected</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Access the next iteration on a foreach tag.</info>
  </tag>       

  <tag>
    <name>if</name>
    <tagclass>allaire.samples.invoice.taglib.InvoiceIf</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Provide a conditional execution mechanism.</info>
  </tag>       

  <tag>
    <name>condition</name>
    <tagclass>allaire.samples.invoice.taglib.InvoiceCondition</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Provide a means to capture an arbitrary condition.</info>
  </tag>       

  <tag>
    <name>then</name>
    <tagclass>allaire.samples.invoice.taglib.InvoiceThen</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Provide a means to execute a then clause.</info>
  </tag>       

  <tag>
    <name>else</name>
    <tagclass>allaire.samples.invoice.taglib.InvoiceElse</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Provide a means to execute an else clause.</info>
  </tag>       

  <tag>
    <name>getProperty</name>
    <tagclass>allaire.samples.invoice.taglib.InvoiceProperty</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Return the value of the specified property.</info>
    <attribute>
      <name>name</name>
      <required>true</required>
    </attribute>
  </tag>       

  <tag>
    <name>foreachDay</name>
    <tagclass>allaire.samples.invoice.taglib.DayIterator</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Provide a loop to iterate through the days of the week.</info>
  </tag>       

  <tag>
    <name>getDayName</name>
    <tagclass>allaire.samples.invoice.taglib.DayName</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Provide a loop to iterate through the days of the week.</info>
  </tag>

  <tag>
    <name>getDayHours</name>
    <tagclass>allaire.samples.invoice.taglib.DayHours</tagclass>
    <bodycontent>JSP</bodycontent>
    <info>Provide a loop to iterate through the days of the week.</info>
  </tag>

</taglib>