<?xml version="1.0" encoding="UTF-8" ?>
<!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>
   <tlibversion>1.0</tlibversion>
   <jspversion>1.1</jspversion>
   <shortname>first</shortname>
   <uri></uri>
   <info>A tag library for Lotus Menu service</info>
   
   <tag>
	<name>menuinit</name>
	<tagclass>com.lotus.cs.tags.MenuInitTag</tagclass>
	<bodycontent>empty</bodycontent>
	<info>Initialize the Menu Service</info> 
  </tag>

  <tag>
	<name>menucontext</name>
	<tagclass>com.lotus.cs.tags.MenuContextTag</tagclass>
	<bodycontent>JSP</bodycontent>
	<info>Initialize the Menu Context</info>
	<attribute>
		<name>contextName</name>
		<required>true</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>  
  </tag>     

  <tag>
	<name>menu</name>
	<tagclass>com.lotus.cs.tags.MenuTag</tagclass>
	<bodycontent>JSP</bodycontent>
	<info>Define a Menu</info>
	<attribute>
		<name>menuName</name>
		<required>true</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>  
	<attribute>
		<name>menuID</name>
		<required>true</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>  
  </tag>

  <tag>
	<name>menuitem</name>
	<tagclass>com.lotus.cs.tags.MenuItemTag</tagclass>
	<bodycontent>empty</bodycontent>
	<info>Individual Menu Command</info>
	<attribute>
		<name>itemName</name>
		<required>true</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>  
	<attribute>
		<name>callbackFn</name>
		<required>true</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>  
	<attribute>
		<name>enable</name>
		<required>false</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>  
	<attribute>
		<name>show</name>
		<required>false</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>  		
  </tag>  

  <tag>
	<name>menudisplay</name>
	<tagclass>com.lotus.cs.tags.MenuDisplayTag</tagclass>
	<bodycontent>empty</bodycontent>
	<info>Show the Menu</info>
	<attribute>
		<name>contextName</name>
		<required>true</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>
	<attribute>
		<name>menuName</name>
		<required>true</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>  
	<attribute>
		<name>paramName</name>
		<required>false</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>  
	<attribute>
		<name>paramValue</name>
		<required>false</required>
		<rtexprvalue>true</rtexprvalue>
	</attribute>  
  </tag>  

</taglib>