Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.tags
Class Author

java.lang.Object
  extended by com.opensymphony.webwork.components.Component
      extended by com.jivesoftware.base.tags.Author

public class Author
extends com.opensymphony.webwork.components.Component

A JSP tag to print out the appropriate string for an author (guest vs name vs username). This tag is written as an empty tag (< .. />), so bodies will be skipped.

Usage:

Attributes:


Field Summary
 
Fields inherited from class com.opensymphony.webwork.components.Component
COMPONENT_STACK, id, parameters, stack
 
Constructor Summary
Author(com.opensymphony.xwork.util.OgnlValueStack stack)
           
 
Method Summary
 boolean end(java.io.Writer out, java.lang.String body)
          Print out the proper link or text for the user depending on whether the user is anonymous or not and the properties the user has set
 java.lang.String getProfilePageUrl()
           
 void setProfilePageUrl(java.lang.String profilePageUrl)
          Set the url to the profile page
 
Methods inherited from class com.opensymphony.webwork.components.Component
addAllParameters, addParameter, altSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findValue, findValue, findValue, getComponentStack, getId, getParameters, getStack, popComponentStack, setId, start, toString, usesBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Author

public Author(com.opensymphony.xwork.util.OgnlValueStack stack)
Method Detail

setProfilePageUrl

public void setProfilePageUrl(java.lang.String profilePageUrl)
Set the url to the profile page


getProfilePageUrl

public java.lang.String getProfilePageUrl()

end

public boolean end(java.io.Writer out,
                   java.lang.String body)
Print out the proper link or text for the user depending on whether the user is anonymous or not and the properties the user has set

Overrides:
end in class com.opensymphony.webwork.components.Component

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.