<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/j2ee/dtd/web-jsptaglibrary_1_2.dtd">
<!--
- Author: Mark Roth
- Date: January 17, 2003
-
- Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
-
- This software is the proprietary information of Sun Microsystems, Inc.
- Use is subject to license terms.
-
- @(#)
- Description: Tag Library for fake lottery results.
-->
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>lottery</short-name>
<uri>http://codeconv/lotterylib</uri>
<display-name>FakeLotteryTaglib</display-name>
<description>
Tag Library for fake lottery results.
</description>
<tag>
<name>getResults</name>
<tag-class>codeconv.GetResultsTag</tag-class>
<body-content>empty</body-content>
<display-name>getResults</display-name>
<description>
Retrieve an array of fake lottery results for the given date and
store them in the given scoped attribute.
</description>
<variable>
<name-from-attribute>var</name-from-attribute>
<declare>true</declare>
<description>
The fake lottery results for the given date.
</description>
</variable>
<attribute>
<name>var</name>
<required>true</required>
<description>
The name of the variable to store the results in.
</description>
</attribute>
<attribute>
<name>date</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.util.Date</type>
<description>
The date on which the fake lottery numbers were drawn.
</description>
</attribute>
<example><![CDATA[
<lottery:getResults var="numbers" date="${date}" />
]]></example>
</tag>
</taglib>