com.Yasna.forum.tags

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Forum » yazd » com.Yasna.forum.tags 
com.Yasna.forum.tags
Java Source File NameTypeComment
AccountTag.javaClass JSP Tag account, used to modify a Yazd User account.
AccountTEI.javaClass
AdminUserTag.javaClass JSP Tag admin, used to perform user admin level functions on a user that is not logged in or not authorized for the function.
AllowPrivateReplyTag.javaClass Jsp tag must be nested in Message tag.
AnonymousMessageTag.javaClass JSP Tag anonymous_message, used to test if the user who authored a message anonymous user.
AnonymousUserTag.javaClass JSP Tag anonymous_user, used to test for an anonymous user.
AuthorizeTag.javaClass JSP Tag authorize, used to authorize a Yazd user session.
AuthorizeTEI.javaClass
BooleanTag.javaInterface
CalcTag.javaClass JSP Tag calc, used to calculate and return an integer value.
CanReadPrivateTag.javaClass
CaseTag.javaClass Used as nested tag in ancestors of BooleanTag interface. Takes one parameter [value].
CategoriesLoopTag.javaClass Jsp tag used to iterate through categories in database. Implements the BooleanTag interface and its single method getValue() returns true if any category exits in the database.
ChangeForum.javaInterface Interface used by post, thread, and forum tags which allows the change_forum tag to set what forum to post or move a message to, or what the current forum is.
ChangeForumTag.javaClass JSP Tag change_forum, used with post or thread tag to set an alternate forum id to post message or move message to, or a forum tag to change forum being viewed.
ChangeThreadTag.javaClass JSP Tag change_thread, used with thread tag to change to a different thread.
CreateTag.javaClass JSP Tag create, used to create a new Yazd User account.
CreateTEI.javaClass
CurrentDepthTag.javaClass JSP Tag current_depth, returns the current message depth while walking a message tree.
ErrorLoopTag.javaClass JSP Tag error_loop, used to loop through the previous request list of user errors.
ErrorLoopTEI.javaClass
ErrorTag.javaClass JSP Tag if_error, used to test for a user error.
EvalTag.javaClass JSP Tag eval, used to evaluate a comparison of two strings or integers.

Requires that attribute id be set to the name of a script variable for later use by the true or false tags.

Valid comparison operators for integers are == (equal), != (not equal), >= (greater than or equal), <= (less than or equal), < (less than), and > (greater than).

Valid comparison operators for strings include all those for an integer plus |= (first string is a prefix of second string), |! (first string is not a prefix of second string), =| (first string is a suffix of second string), and !| (first string is not a suffix of second string).

When comparing strings that might include white space, use the forward slash \ at the start and end of the string.

The values being compared must be separated from the comparison operator by white space.

Any JSP tags embedded in the body of the eval tag are processed before the comparison is made.

The true and false tags are used to take action based on the result of the eval comparison.

Examples:

Compare the number of forums to 0.

 <jf:eval id="num_forums">
 <jsp:getProperty name="req" property="numberOfForums"/> == 0
 </jf:eval>
 

Compares the prefix "Re: " to a message subject line.

 <jf:eval id="sub">
 \Re: \ |= \<jsp:getProperty name="cm" property="subject"/>\
 </jf:eval>
 

JSP Tag Lib Descriptor

 <name>eval</name>
 <tagclass>com.Yasna.forum.tags.EvalTag</tagclass>
 <bodycontent>JSP</bodycontent>
 <info>Compares two values, use the true and false tags to test result of eval.
FalseTag.javaClass JSP Tag false, used to test the result of an eval tag for false.
ForEachTag.javaClass JSP Tag foreach, used to implement a simple numbered loop.
ForEachTEI.javaClass
ForumLoopTag.javaClass JSP Tag forum_loop, used to loop through available forums.

Optional attribute begin can be set to the number at which the forum_loop should start.

Optional attribute end can be set to the number at which the forum_loop should end.

Optional attribute match can be set to the id of a match tag to select only those forums that match the forum extended properties specified by the match tag.

During each loop the body of the forum_loop tag is processed.

The on_entry tag can be used to include content if this is the first time through the loop.

The on_exit tag can be used to include content if this is the last time through the loop.

The forum_loop continues looping until there are no more forums or the users items_per_page limit has been reached.

ForumsLoopTag.javaClass Loops through forums in current group.
ForumTag.javaClass JSP Tag forum, used to get information about current forum.
ForumTEI.javaClass
GetNestedMessage.javaInterface Interface used by walk and thread tags to make it easier for message tag to get the message.
GetYazdPropertyTag.javaClass JSP Tag getYazdProperty, used with create, account, user, forum, post, and message tags to get a yazd extended property.
GroupsLoopTag.javaClass
IsAdminUserTag.javaClass
IsApprovedTag.javaClass Jsp tag must be nested in Message tag.
IsMessageTag.javaClass JSP Tag is_message, used to test if a message is below the users message_depth display preferences when using the walk tag.
IsParentTag.javaClass JSP Tag is_parent, used to test if the current message is a parent message that was already fully displayed on the previous page during a thread walk.
IsPrivateMessageTag.javaClass Jsp tag must be nested in Message tag.
IsSummaryTag.javaClass JSP Tag is_summary, used to test if the current message while walking a thread is greater than or equal to the users message_depth but less than the users thread_depth.
IsTotalTag.javaClass JSP Tag is_total, used to test if the current message is greater than or equal to the users thread depth.
LoginTag.javaClass JSP Tag login, used to login a Yazd user.

Uses the following HTTP input parameters

  • login - indicates user is submitting the login form
  • username - Yazd user name (userid) to login
  • password - users password
If login fails a user error is set, if login succeeds the body of the login tag is included and the remainder of the page is skipped.

Initializes YazdState and YazdRequest if necessary.

JSP Tag Lib Descriptor

 <name>login</name>
 <tagclass>com.Yasna.forum.tags.LoginTag</tagclass>
 <bodycontent>JSP</bodycontent>
 <info>Login user using username and password.
LogoutTag.javaClass JSP Tag logout, logs out a Yazd user and sets their Authorization to an anonymous user.
LogTag.javaClass JSP Tag log, used to log the content of the log tag body to the servlet context log.
MatchTag.javaClass JSP Tag match, used to set extended forum properties and values which are used by the forum_loop and forum tags to determine what forums to select.
MemberOfGroupTag.javaClass JSP Tag member_of_group, used to test if the user is a member of a yazd group.

Includes body of tag if user is a member of the group.

Must be nested inside an account tag.

You can set the optional tag attribute value to true or false.

MessageLoopTag.javaClass JSP Tag message_loop, used to loop through messages returned by a query in the current forum.

Required attribute query is set to the script variable id of a query tag to search for messages based on a query.

Must be nested inside a forum tag.

During each loop the body of the message_loop tag is processed.

The on_entry tag can be used to include content if this is the first time through the loop.

The on_exit tag can be used to include content if this is the last time through the loop.

The message_loop continues looping until there are no more messages or the users items_per_page limit has been reached.

MessageTag.javaClass JSP Tag message, used to get information about current message.
MessageTEI.javaClass
MoveMessageTag.javaClass JSP Tag move_message, used with thread tag to remove current thread and add its message to a parent message in another forum thread.
MoveThreadTag.javaClass JSP Tag move_thread, used with thread tag to move thread to a different forum.
NewMessages.javaInterface Interface used by forum, thread, or message tags to implement test for new messages.
NewMessagesTag.javaClass JSP Tag new_messages, used to test whether a forum, thread, or message has been modified since the users last visit to the forum.

Includes body of tag if there is a new message.

You can set the optional tag parameter value to true or false.

NextForumTag.javaClass JSP Tag next_forum, used to test if there is another forum following the current forum in the list of available forums.
NextItemTag.javaClass JSP Tag next_item, used to get the query portion of an HREF get for paging to the start of the next list of items to display for the forum_loop, thread_loop, message_loop, or walk tag.
NextPageTag.javaClass JSP Tag next_page, used to test if a forum_loop, thread_loop, message_loop, or walk tag has reached the items_per_page limit and would need another page to display more items.
NextThreadTag.javaClass JSP Tag next_thread, used to test if there is another thread following the current thread in the current forum.
NowTag.javaClass
OnEntryTag.javaClass JSP Tag on_entry, used to include content on the first iteration of a forum_loop, thread_loop, message_loop, or walk tag.
OnExitTag.javaClass JSP Tag on_exit, used to include content on the last iteration of a forum_loop, thread_loop, message_loop, or walk tag.
Paging.javaInterface Interface used by walk, thread_loop, or forum_loop tags to implement paging.
PerformAdminActionTag.javaClass Jsp tag evaluates its body if curent logged in user is admin or moderator. Must be nested in Thread or Forum tag.
PostAppendTag.javaClass JSP Tag post_append, used with post tag to append text to the end of the message body.

Must be nested within a post tag.

The body of the tag is used as the text to append to the body of the message being posted.

PostMessageTag.javaClass JSP Tag post_message, used with post tag to save the message to a forum.
PostTag.javaClass JSP Tag post, used to setup for posting a new message or replying to an existing message using post_message tag.
PostTEI.javaClass
PrevForumTag.javaClass JSP Tag prev_forum, used to test if there is a forum preceding the current forum in the list of available forums.
PreviewMessageTag.javaClass JSP Tag preview_message, used with message tag to preview a message before posting to a forum.
PrevItemTag.javaClass JSP Tag prev_item, used to get the query portion of an HREF get for paging to the start of the previous list of items to display for the forum_loop, thread_loop, message_loop, or walk tag.
PrevPageTag.javaClass JSP Tag prev_page, used to test if a forum_loop, thread_loop, message_loop, or walk has reached the items_per_page limit and would need another page to display more items.
PrevThreadTag.javaClass JSP Tag prev_thread, used to test if there is a thread preceding the current thread in the current forum.
PrintMessageBodyTag.javaClass Jsp tag must be nested in message tag.
QueryTag.javaClass JSP Tag query, used to set forum message query properties and values which are used by the message_loop tag to determine what messages to select.
RotateSelectionTag.javaClass JSP Tag rotate_selection, used to define content to be rotated by a parent rotate tag.
RotateTag.javaClass JSP Tag rotate, used to rotate output within a loop.
RotateTEI.javaClass
SetParentMessageTag.javaClass JSP Tag set_parent_message, used with thread tag to set the parent message id to move message to.
SetThreadTag.javaClass JSP Tag set_thread, used with thread tag to set the thread id to move message to.
SetYazdPropertyTag.javaClass JSP Tag setYazdProperty, used with create, account, user, forum, message, and post tags to get a yazd extended property.
TagPropertyManager.javaClass Static class used to manage Yazd tag properties and User extended properties.
ThreadLoopTag.javaClass JSP Tag thread_loop, used to loop through available threads in the current forum.

Optional attribute begin can be set to the number at which the thread_loop should start.

Optional attribute end can be set to the number at which the thread_loop should end.

Must be nested inside a forum tag.

During each loop the body of the thread_loop tag is processed.

The on_entry tag can be used to include content if this is the first time through the loop.

The on_exit tag can be used to include content if this is the last time through the loop.

The thread_loop continues looping until there are no more threads or the users items_per_page limit has been reached.

ThreadTag.javaClass JSP Tag thread, used to get information about current thread.
ThreadTEI.javaClass
TrueTag.javaClass JSP Tag true, used to test the result of an eval tag for true.
URLEncodeTag.javaClass Jsp tag encodes the content of its body using UTF-8 and prints it back to the output stream.
UserTag.javaClass JSP Tag user, used to access account information for a user who posted a message.
UserTEI.javaClass
WalkData.javaClass Maintains state information while walking a thread tree of messages.
WalkTag.javaClass JSP Tag walk, implements a loop used to walk a tree of messages in a thread.

Must be nested inside a thread tag.

The thread to walk will be the closest parent thread tag unless you specify the optional thread tag to be the id of a different thread tag.

Uses the users display preferences messageDepth, threadDepth, and itemsPerPage to determine which messages to display, how to display them, and how many messages to view on a page before triggering paging.

The is_parent, is_message, is_summary, is_total, next_page, and prev_page tags can be used to control what formatted content is generated based on user display preferences.

The current_depth, while_child, while_new_child, while_parent, and while_new_parent tags can be used to assist JSP page author to propertly format HTML output when displaying a tree of messages in a thread.

During each loop the body of the walk tag is processed.

The on_entry tag can be used to include content if this is the first time through the loop.

The on_exit tag can be used to include content if this is the last time through the loop.

The walk tag continues looping until there are no more messages in the thread or the users items_per_page limit has been reached.

WhileChildTag.javaClass JSP Tag while_child, used with the walk tag to iterate through a loop for each child (depth) message that exists.
WhileNewChildTag.javaClass JSP Tag while_new_child, used with the walk tag to iterate through a loop for each new child (depth) message that exists.
WhileNewParentTag.javaClass JSP Tag while_new_parent, used with the walk tag to iterate through a loop for each new parent (depth) message that exists.
WhileParentTag.javaClass JSP Tag while_parent, used with the walk tag to iterate through a loop for each parent (depth) message that exists.
YazdProperty.javaInterface Interface used by create, account, user, forum, message, and post tags which allows the getYazdProperty and setYazdPropery tags to get and set User, Message, and Forum extended yazd properties.
YazdRequest.javaClass Maintains Yazd state information for the current request.
YazdState.javaClass Maintains Yazd state information for the user session.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.