📄 calendartag.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>2.0</tlibversion>
<jspversion>1.2</jspversion>
<shortname>Prize Tags</shortname>
<uri>urn:www.jenkov.com/projects/prizetags</uri>
<!--
<displayname>Prize Tags</displayname>
<description>
This little tag library can generate html trees from an com.jenkov.prizetags.tree.itf.ITreeNode tree.
It can expand/collapse nodes in the tree, and manage links on the nodes.
It can also generate nice calendar style tables containing events etc.
</description>
-->
<!-- These tags are for the calendar tags -->
<tag>
<name>calendar</name>
<tagclass>com.jenkov.prizetags.calendar.impl.CalendarTag2</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>date</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>fromDate</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>toDate</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>fromDateMillis</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>toDateMillis</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>iterateEvents</name>
<tagclass>com.jenkov.prizetags.calendar.impl.IterateEventsTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>date</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>key</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>keyedObjectProperty</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>eventMatch</name>
<tagclass>com.jenkov.prizetags.calendar.impl.EventMatchTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>event</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>statusId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>dateMatch</name>
<tagclass>com.jenkov.prizetags.calendar.impl.DateMatchTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>date</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>weekday</name>
<required>true </required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>eventId</name>
<tagclass>com.jenkov.prizetags.calendar.impl.EventIdTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>event</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>eventName</name>
<tagclass>com.jenkov.prizetags.calendar.impl.EventNameTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>event</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>eventDescription</name>
<tagclass>com.jenkov.prizetags.calendar.impl.EventDescriptionTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>event</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>date</name>
<tagclass>com.jenkov.prizetags.calendar.impl.DateTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>date</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
<required>true </required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>eventStartDate</name>
<tagclass>com.jenkov.prizetags.calendar.impl.EventStartDateTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>event</name>
<required>true </required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>eventEndDate</name>
<tagclass>com.jenkov.prizetags.calendar.impl.EventEndDateTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>event</name>
<required>true </required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>format</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>eventStatusId</name>
<tagclass>com.jenkov.prizetags.calendar.impl.EventStatusIdTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>event</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>eventStatus</name>
<tagclass>com.jenkov.prizetags.calendar.impl.EventStatusTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>event</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -