Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opencms.flex.jsp
Class CmsJspTagUser  view CmsJspTagUser download CmsJspTagUser.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.opencms.flex.jsp.CmsJspTagUser
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class CmsJspTagUser
extends javax.servlet.jsp.tagext.TagSupport

Provides access to the data of the currently logged in user.

Version:
$Revision: 1.6.2.1 $

Field Summary
private  java.lang.String m_property
           
private static java.lang.String[] m_userProperties
          static array of the possible user properties
private static java.util.List m_userProperty
          array list for fast lookup
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
CmsJspTagUser()
           
 
Method Summary
 int doStartTag()
          Default processing of the start tag, returning SKIP_BODY.
 java.lang.String getProperty()
          Returns the property name.
 void release()
          Release state.
 void setProperty(java.lang.String name)
          Sets the property name.
(package private) static java.lang.String userTagAction(java.lang.String property, javax.servlet.ServletRequest req)
          Internal action method.
 
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
 

Field Detail

m_property

private java.lang.String m_property

m_userProperties

private static final java.lang.String[] m_userProperties
static array of the possible user properties


m_userProperty

private static final java.util.List m_userProperty
array list for fast lookup

Constructor Detail

CmsJspTagUser

public CmsJspTagUser()
Method Detail

setProperty

public void setProperty(java.lang.String name)
Sets the property name.


getProperty

public java.lang.String getProperty()
Returns the property name.


release

public void release()
Description copied from class: javax.servlet.jsp.tagext.TagSupport
Release state.


doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Description copied from class: javax.servlet.jsp.tagext.TagSupport
Default processing of the start tag, returning SKIP_BODY.


userTagAction

static java.lang.String userTagAction(java.lang.String property,
                                      javax.servlet.ServletRequest req)
Internal action method.