BEA Systems, Inc.

com.beasys.commerce.user.jsp.tags
Class GetParentGroupNameTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.beasys.commerce.user.jsp.tags.UserManagerTag
              |
              +--com.beasys.commerce.user.jsp.tags.GetParentGroupNameTag

public class GetParentGroupNameTag
extends UserManagerTag

Corresponds to <um:getParentGroupName>.

The <um:getParentGroupName> tag retrieves the name of the parent of the com.beasys.commerce.axiom.contact.Group object associated with the provided groupName. The information is taken from the personalization database tables, and reflects the group hierarchy information as set up from the Group administration and Realm Configuration administration tools. The tag has no enclosed body.

Tag Attribute

Required

Type

Description

groupName

yes

String

The name of the group whose parent group name is sought.

Example: "<%=groupName%>"

id

yes

String

A variable name to which the to which the name of the parent is available for the duration of the page's scope.

Example: "parentGroupName"

See Also:
Serialized Form

Fields inherited from class com.beasys.commerce.user.jsp.tags.UserManagerTag
printStackTraces, verbose
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
GetParentGroupNameTag()
           
 
Method Summary
 int doStartTag()
          Go through the UserManager session bean to find the name of the given group's parent.
 java.lang.String getGroupName()
          Get the name of the group to query
 void release()
          Reset the tag attributes
 void setGroupName(java.lang.String groupName)
          Set the name of the group to query
 
Methods inherited from class com.beasys.commerce.user.jsp.tags.UserManagerTag
getUserManager
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 

Constructor Detail

GetParentGroupNameTag

public GetParentGroupNameTag()
Method Detail

setGroupName

public void setGroupName(java.lang.String groupName)
Set the name of the group to query

getGroupName

public java.lang.String getGroupName()
Get the name of the group to query

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Go through the UserManager session bean to find the name of the given group's parent.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

release

public void release()
Reset the tag attributes
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved