venice-main-classic/tlds/post-taglib.tld

133 lines
4.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
The contents of this file are subject to the Mozilla Public License Version 1.1
(the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
language governing rights and limitations under the License.
The Original Code is the Venice Web Communities System.
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@users.sf.net>,
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
-->
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>0.1</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>post</short-name>
<uri>/tlds/post</uri>
<description>Tag library relating to Venice post data.</description>
<tag>
<name>rewrite</name>
<tag-class>com.silverwrist.venice.ui.conf.jsp.PostRewriteTag</tag-class>
<body-content>JSP</body-content>
<description>Rewrites post data for display, resolving postlink: and userlink: URIs.</description>
</tag>
<tag>
<name>box</name>
<tag-class>com.silverwrist.venice.ui.conf.jsp.PostBoxTag</tag-class>
<body-content>JSP</body-content>
<description>Template for the post box.</description>
<attribute>
<name>action</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>param</name>
<tag-class>com.silverwrist.venice.ui.conf.jsp.PostParamTag</tag-class>
<body-content>JSP</body-content>
<description>Specifies a hidden parameter for the post box.</description>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>newtopic</name>
<tag-class>com.silverwrist.venice.ui.conf.jsp.PostNewTopicTag</tag-class>
<body-content>JSP</body-content>
<description>
Specifies the name of the optional "new topic name" field of the post box, and its contents.
</description>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>pseud</name>
<tag-class>com.silverwrist.venice.ui.conf.jsp.PostPseudTag</tag-class>
<body-content>JSP</body-content>
<description>Specifies the name of the pseud field of the post box, and its contents.</description>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>attach</name>
<tag-class>com.silverwrist.venice.ui.conf.jsp.PostAttachTag</tag-class>
<body-content>empty</body-content>
<description>Specifies the name of the attach checkbox of the post box, and whether it is checked.</description>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>text</name>
<tag-class>com.silverwrist.venice.ui.conf.jsp.PostTextTag</tag-class>
<body-content>JSP</body-content>
<description>Specifies the name of the TEXTAREA of the post box, and its contents.</description>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>button</name>
<tag-class>com.silverwrist.venice.ui.conf.jsp.PostButtonTag</tag-class>
<body-content>empty</body-content>
<description>Inserts a standard button into the post box command buttons area.</description>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
</taglib>