Merge of the NewUI changes into the trunk
This commit is contained in:
97
tlds/community-taglib.tld
Normal file
97
tlds/community-taglib.tld
Normal file
@@ -0,0 +1,97 @@
|
||||
<?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@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<!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>
|
||||
<!-- after this the default space is
|
||||
"http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->
|
||||
|
||||
<tlibversion>0.1</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>comm</shortname>
|
||||
<uri></uri>
|
||||
<info>Tag library used to access various community elements.</info>
|
||||
|
||||
<tag>
|
||||
<name>name</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.CommunityNameTag</tagclass>
|
||||
<info>Substitutes the community name.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>ID</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.CommunityIDTag</tagclass>
|
||||
<info>Substitutes the community ID.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_join</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.CommunityCanJoinTag</tagclass>
|
||||
<info>Includes its content if the user can join the community.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>cannot_join</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.CommunityCannotJoinTag</tagclass>
|
||||
<info>Includes its content if the user cannot join the community.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_send_invite</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.CommunityCanSendInvitationTag</tagclass>
|
||||
<info>Includes its content if the user can send an invitation to join the community.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_public</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.CommunityIsPublicTag</tagclass>
|
||||
<info>Includes its content if the community is a public community.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_private</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.CommunityIsPrivateTag</tagclass>
|
||||
<info>Includes its content if the community is a private community.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>synopsis</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.CommunitySynopsisTag</tagclass>
|
||||
<info>Substitutes the community synopsis.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>alias</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.CommunityAliasTag</tagclass>
|
||||
<info>Substitutes the community alias.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
|
||||
|
||||
95
tlds/conference-taglib.tld
Normal file
95
tlds/conference-taglib.tld
Normal file
@@ -0,0 +1,95 @@
|
||||
<?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@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<!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>
|
||||
<!-- after this the default space is
|
||||
"http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->
|
||||
|
||||
<tlibversion>0.1</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>conf</shortname>
|
||||
<uri></uri>
|
||||
<info>Tag library used to access various conference elements.</info>
|
||||
|
||||
<tag>
|
||||
<name>can_manage</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.ConferenceCanManageTag</tagclass>
|
||||
<info>Includes its content if the user can manage conferences in the current community.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_create</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.ConferenceCanCreateTag</tagclass>
|
||||
<info>Includes its content if the user can create conferences in the current community.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>name</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.ConferenceNameTag</tagclass>
|
||||
<info>Substitutes the conference name.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>ID</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.ConferenceIDTag</tagclass>
|
||||
<info>Substitutes the conference ID.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_read_new</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.ConferenceCanReadNewTag</tagclass>
|
||||
<info>Includes its content if the user can read new messages in the current conference.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_add_to_hotlist</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.ConferenceCanAddToHotlistTag</tagclass>
|
||||
<info>Includes its content if the user can add the current conference to the hotlist.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>default_pseud</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.ConferenceDefaultPseudTag</tagclass>
|
||||
<info>Substitutes the user's default pseud for the conference.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_send_invite</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.ConferenceCanSendInviteTag</tagclass>
|
||||
<info>Includes its content if the user can send an invitation for the current conference.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_post</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.ConferenceCanPostTag</tagclass>
|
||||
<info>Includes its content if the user can post to the current conference.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
114
tlds/frame-taglib.tld
Normal file
114
tlds/frame-taglib.tld
Normal file
@@ -0,0 +1,114 @@
|
||||
<?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@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<!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>
|
||||
<!-- after this the default space is
|
||||
"http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->
|
||||
|
||||
<tlibversion>0.1</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>frame</shortname>
|
||||
<uri></uri>
|
||||
<info>Tag library used by the frame JSP page to render portions of the UI.</info>
|
||||
|
||||
<tag>
|
||||
<name>head</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameHeadTag</tagclass>
|
||||
<info>Inserts the information inside the HEAD tag for the frame page.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>body</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameBodyTag</tagclass>
|
||||
<info>Replaces the standard BODY tags on the frame page.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>sitelogo</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameSiteLogoTag</tagclass>
|
||||
<info>Inserts the defined site logo and any link that goes around it.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>banner_ad</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameBannerAdTag</tagclass>
|
||||
<info>Inserts a banner advertisement into the page.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>display_login</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameDisplayLoginTag</tagclass>
|
||||
<info>Includes the enclosed JSP text if the "displayLogin" flag is set on the request.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>QID</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameQIDTag</tagclass>
|
||||
<info>Inserts the QID of this page into the page.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>if_QID</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameIfQIDTag</tagclass>
|
||||
<info>Includes the enclosed JSP text if the current page has a QID.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>venice_logo</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameVeniceLogoTag</tagclass>
|
||||
<info>Inserts the Venice logo into the page.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>content_here</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameContentHereTag</tagclass>
|
||||
<info>Marks the point where the frame content gets inserted.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>leftmenu</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameLeftMenuTag</tagclass>
|
||||
<info>Inserts a left menu bar menu.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>currentmenu</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.FrameCurrentMenuTag</tagclass>
|
||||
<info>Inserts the current "top" menu on the left menu bar.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
133
tlds/post-taglib.tld
Normal file
133
tlds/post-taglib.tld
Normal file
@@ -0,0 +1,133 @@
|
||||
<?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@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<!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>
|
||||
<!-- after this the default space is
|
||||
"http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->
|
||||
|
||||
<tlibversion>0.1</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>post</shortname>
|
||||
<uri></uri>
|
||||
<info>Tag library relating to Venice post data.</info>
|
||||
|
||||
<tag>
|
||||
<name>rewrite</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.PostRewriteTag</tagclass>
|
||||
<info>Rewrites post data for display, resolving postlink: and userlink: URIs.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>box</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.PostBoxTag</tagclass>
|
||||
<info>Template for the post box.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<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>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.PostParamTag</tagclass>
|
||||
<info>Specifies a hidden parameter for the post box.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>newtopic</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.PostNewTopicTag</tagclass>
|
||||
<info>Specifies the name of the optional "new topic name" field of the post box, and its contents.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>pseud</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.PostPseudTag</tagclass>
|
||||
<info>Specifies the name of the pseud field of the post box, and its contents.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>attach</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.PostAttachTag</tagclass>
|
||||
<info>Specifies the name of the attach checkbox of the post box, and whether it is checked.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
<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>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.PostTextTag</tagclass>
|
||||
<info>Specifies the name of the TEXTAREA of the post box, and its contents.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>button</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.PostButtonTag</tagclass>
|
||||
<info>Inserts a standard button into the post box command buttons area.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
172
tlds/topic-taglib.tld
Normal file
172
tlds/topic-taglib.tld
Normal file
@@ -0,0 +1,172 @@
|
||||
<?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@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<!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>
|
||||
<!-- after this the default space is
|
||||
"http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->
|
||||
|
||||
<tlibversion>0.1</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>topic</shortname>
|
||||
<uri></uri>
|
||||
<info>Tag library used to access various topic elements.</info>
|
||||
|
||||
<tag>
|
||||
<name>can_create</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicCanCreateTag</tagclass>
|
||||
<info>Includes its content if the user can create topics in the current conference.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_freeze</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicCanFreezeTag</tagclass>
|
||||
<info>Includes its content if the user can freeze or unfreeze the current topic.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_archive</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicCanArchiveTag</tagclass>
|
||||
<info>Includes its content if the user can archive or unarchive the current topic.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_delete</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicCanDeleteTag</tagclass>
|
||||
<info>Includes its content if the user can delete the current topic.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>ID</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicIDTag</tagclass>
|
||||
<info>Substitutes the topic ID.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>number</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicNumberTag</tagclass>
|
||||
<info>Substitutes the topic number.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>name</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicNameTag</tagclass>
|
||||
<info>Substitutes the topic name.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_archived</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicIsArchivedTag</tagclass>
|
||||
<info>Includes its content if the topic is archived.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_not_archived</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicIsNotArchivedTag</tagclass>
|
||||
<info>Includes its content if the topic is not archived.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_frozen</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicIsFrozenTag</tagclass>
|
||||
<info>Includes its content if the topic is frozen.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_not_frozen</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicIsNotFrozenTag</tagclass>
|
||||
<info>Includes its content if the topic is not frozen.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_hidden</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicIsHiddenTag</tagclass>
|
||||
<info>Includes its content if the topic is hidden.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_not_hidden</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicIsNotHiddenTag</tagclass>
|
||||
<info>Includes its content if the topic is not hidden.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>last_message</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicLastMessageTag</tagclass>
|
||||
<info>Substitutes the index of the last message in the topic.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>subscribed</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicSubscribedTag</tagclass>
|
||||
<info>Includes its content if the user is subscribed to this topic.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>not_subscribed</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicNotSubscribedTag</tagclass>
|
||||
<info>Includes its content if the user is not subscribed to this topic.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_send_invite</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicCanSendInvitationTag</tagclass>
|
||||
<info>Includes its content if the user can send an invitation to the current topic.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>specified</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicSpecifiedTag</tagclass>
|
||||
<info>Includes its content if the topic was specified.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>not_specified</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicNotSpecifiedTag</tagclass>
|
||||
<info>Includes its content if the topic was not specified.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>can_post</name>
|
||||
<tagclass>com.silverwrist.venice.ui.conf.jsp.TopicCanPostTag</tagclass>
|
||||
<info>Includes its content if the user can post to the current topic.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
67
tlds/user-taglib.tld
Normal file
67
tlds/user-taglib.tld
Normal file
@@ -0,0 +1,67 @@
|
||||
<?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@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<!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>
|
||||
<!-- after this the default space is
|
||||
"http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->
|
||||
|
||||
<tlibversion>0.1</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>user</shortname>
|
||||
<uri></uri>
|
||||
<info>Tag library used to access various user elements.</info>
|
||||
|
||||
<tag>
|
||||
<name>is_logged_in</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UserIsLoggedInTag</tagclass>
|
||||
<info>Includes its content if the user is logged in.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_not_logged_in</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UserIsNotLoggedInTag</tagclass>
|
||||
<info>Includes its content if the user is not logged in.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>name</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UserNameTag</tagclass>
|
||||
<info>Substitutes the user name.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_verified</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UserIsVerifiedTag</tagclass>
|
||||
<info>Includes its content if the user's E-mail address has been verified.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>is_not_verified</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UserIsNotVerifiedTag</tagclass>
|
||||
<info>Includes its content if the user's E-mail address has not been verified.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
341
tlds/utils-taglib.tld
Normal file
341
tlds/utils-taglib.tld
Normal file
@@ -0,0 +1,341 @@
|
||||
<?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@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
<!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>
|
||||
<!-- after this the default space is
|
||||
"http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd" -->
|
||||
|
||||
<tlibversion>0.1</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>util</shortname>
|
||||
<uri></uri>
|
||||
<info>Utility tag library for JSP renderings.</info>
|
||||
|
||||
<tag>
|
||||
<name>comment</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilCommentTag</tagclass>
|
||||
<info>Conditionally includes HTML comments.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>color</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilColorTag</tagclass>
|
||||
<info>References a standard color from the configuration.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
<attribute>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>font</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilFontTag</tagclass>
|
||||
<info>Includes a standard FONT tag pair.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>color</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>size</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>link</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilLinkTag</tagclass>
|
||||
<info>Includes an A tag with the URL possibly modified by the system.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>href</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>aclass</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>target</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>title</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>escape</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilEscapeTag</tagclass>
|
||||
<info>Escapes its content so that it's not interpreted as HTML.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>urlencode</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilURLEncodeTag</tagclass>
|
||||
<info>URL-encodes its content.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>stock_message</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilStockMessageTag</tagclass>
|
||||
<info>References a stock message from the configuration file.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
<attribute>
|
||||
<name>key</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>button</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilButtonTag</tagclass>
|
||||
<info>Inserts a standard button graphic.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
<attribute>
|
||||
<name>id</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>header</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilHeaderTag</tagclass>
|
||||
<info>Inserts a standard content header.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>title</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>stocktitle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>subtitle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>stocksubtitle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>title</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilTitleTag</tagclass>
|
||||
<info>Supplies a title for the content header.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>subtitle</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilSubtitleTag</tagclass>
|
||||
<info>Supplies a subtitle for the content header.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>menuheader</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilMenuHeaderTag</tagclass>
|
||||
<info>Demarcates a block that becomes a "menu" header. Contains util:menuheaderitem tags.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>caption</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>menuheaderitem</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilMenuHeaderItemTag</tagclass>
|
||||
<info>Denotes an item for a menu header. Must be contained within a util:menuheader tag.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>selected</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>href</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilHrefTag</tagclass>
|
||||
<info>Supplies a HREF link and type for the util:menuheaderitem and util:xlink tags.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>text</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilTextTag</tagclass>
|
||||
<info>Supplies the text for the util:menuheaderitem and util:xlink tags.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>form</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilFormTag</tagclass>
|
||||
<info>Includes a FORM tag with the URL possibly modified by the system.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>verb</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>action</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>type</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>aclass</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>isfile</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>stdbullet</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilStdBulletTag</tagclass>
|
||||
<info>Inserts the standard "bullet" graphic.</info>
|
||||
<bodycontent>EMPTY</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>xlink</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilXLinkTag</tagclass>
|
||||
<info>Includes an A tag built up piecemeal with util:text and util:href.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>aclass</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>target</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>expand_servlet</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilExpandServletTag</tagclass>
|
||||
<info>Expands the servlet address in its body into a full URL.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>image</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilImageTag</tagclass>
|
||||
<info>Inserts an IMG tag with its URL optionally fixed up.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
<attribute>
|
||||
<name>src</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>fixup</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>alt</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>width</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>height</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>border</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>alt</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilAltTag</tagclass>
|
||||
<info>Supplies the ALT text for the util:image tag.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<name>linktitle</name>
|
||||
<tagclass>com.silverwrist.venice.ui.jsp.UtilLinkTitleTag</tagclass>
|
||||
<info>Supplies a title for the xlink tag.</info>
|
||||
<bodycontent>JSP</bodycontent>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
Reference in New Issue
Block a user