BEA Systems, Inc.

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

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

public class GetChildGroupsTag
extends UserManagerTag

Corresponds to <um:getChildGroups>.

The <um:getChildGroups> tag retrieves an array of com.beasys.commerce.axiom.contact.Group objects that are children of the Group corresponding to 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 children are sought.

Example: "<%=groupName%>"

id

yes

String

A variable name to which the child Group objects are available for the duration of the page's scope.

Example: "childGroups"

See Also:
GetChildGroupNamesTag, 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
GetChildGroupsTag()
           
 
Method Summary
 int doStartTag()
          Go through the UserManager session bean to retrieve the specified group's chidlren.
 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

GetChildGroupsTag

public GetChildGroupsTag()
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 retrieve the specified group's chidlren.
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