fib.tld.

Enterprise Java
Tag Libraries: JSPs in the Enterprise
by Dion Almaer
Listing 6. fib.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">
<taglib>
  <tlibversion>1.0</tlibversion>
  <jspversion>1.1</jspversion>
  <shortname>fib</shortname>
  <info>
   This tag library contains tag extensions to calculate the fib()
      equation
  </info>
  <tag>
    <name>calculate</name>
    <tagclass>com.customware.fib.FibonnaciCalculateTag</tagclass>
    <attribute>
      <name>input</name>
      <required>false</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

  <tag>
    <name>calculaterange</name>
    <tagclass>com.customware.fib.FibonnaciCalculateRangeTag</tagclass>
    <attribute>
      <name>start</name>
      <required>false</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
      <name>end</name>
      <required>false</required>
      <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

</taglib>

About the Author

Dion Almaer is a senior consultant for CustomWare in Boulder, CO. He can be reached at dion@customware.com.

Featured

Upcoming Events

AppTrends

Sign up for our newsletter.

I agree to this site's Privacy Policy.