|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.webwork.components.Component
com.jivesoftware.base.tags.Author
public class Author
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:
<%-- Register the taglib --%>
<%@ taglib uri="jivetags" prefix="jive" %>
...
<%-- Get the author string --%>
<jive:author obj="source object"
profilePageUrl="some url" /> | Name | Required |
|---|---|
| obj | Yes |
| profilePageUrl | Yes |
| 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 |
|---|
public Author(com.opensymphony.xwork.util.OgnlValueStack stack)
| Method Detail |
|---|
public void setProfilePageUrl(java.lang.String profilePageUrl)
public java.lang.String getProfilePageUrl()
public boolean end(java.io.Writer out,
java.lang.String body)
end in class com.opensymphony.webwork.components.Component
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||