BEA Systems, Inc.

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

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

public class GetPropertyAsStringTag
extends GetPropertyTag

Corresponds to <um:getPropertyAsString>.

The <um:getPropertyAsString> tag works exactly like the <um:getProperty> tag, but ensures that the retrieved property value is a java.util.String.

Tag Attribute

Required

Type

Description

propertySet

no

String

The Property Set from which the property's value is to be retrieved.

Example: "Demo Portal"

Note: If no property set is provided, the property is retrieved from the profile's default (unscoped) properties.

propertyName

yes

String

The name of the property to be retrieved.

Example: "background_color"

id

no

String

If the id attribute is supplied, the value of the retrieved property will be available in the variable name to which id is assigned. Otherwise, the value of the property is inlined into the JSP page.

See Also:
GetPropertyTag, 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
GetPropertyAsStringTag()
           
 
Method Summary
protected  java.lang.Object getProperty()
          Retrieves the property as a string.
 
Methods inherited from class com.beasys.commerce.user.jsp.tags.GetPropertyTag
doStartTag
 
Methods inherited from class com.beasys.commerce.user.jsp.tags.PropertyTag
getAnonymousProfile, getCachedProfile, getPropertyName, getPropertySet, release, setPropertyName, setPropertySet
 
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

GetPropertyAsStringTag

public GetPropertyAsStringTag()
Method Detail

getProperty

protected java.lang.Object getProperty()
Retrieves the property as a string.
Overrides:
getProperty in class GetPropertyTag

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved