org.opencms.jsp
Class CmsJspTagUser
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.opencms.jsp.CmsJspTagUser
- All Implemented Interfaces:
- Serializable, IterationTag, Tag
public class CmsJspTagUser
- extends TagSupport
Provides access to the data of the currently logged in user.
- Since:
- 6.0.0
- Version:
- $Revision: 1.22 $
- Author:
- Alexander Kandzior
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmsJspTagUser
public CmsJspTagUser()
userTagAction
public static String userTagAction(String property,
ServletRequest req)
- Internal action method.
- Parameters:
property - the selected user propertyreq - the current request
- Returns:
- String the value of the selected user property
doStartTag
public int doStartTag()
throws JspException
- Specified by:
doStartTag in interface Tag- Overrides:
doStartTag in class TagSupport
- Throws:
JspException- See Also:
Tag.doStartTag()
getProperty
public String getProperty()
- Returns the property name.
- Returns:
- String the property name
release
public void release()
- Specified by:
release in interface Tag- Overrides:
release in class TagSupport
- See Also:
Tag.release()
setProperty
public void setProperty(String name)
- Sets the property name.
- Parameters:
name - the property name