PropertyTag
Corresponds to <profile:setProperty>
.
The <profile:setProperty>
tag updates a
property value for either the session's current profile,
or for the Anonymous User Profile. The tag has no enclosed body.
Tag Attribute |
Required |
Type |
Description |
propertySet |
no |
String |
The Property Set in which the property's value is to be set. Example: "Demo Portal". Note: The property is set for the profile's default (unscoped) properties if no property set is provided. |
propertyName |
yes |
String |
The name of the property to be set. Example: "background_color". |
value |
yes |
String |
The new property value. Example: "green". |
result |
no |
String |
The name of an Integer variable to which the result of the set property operation is assigned. Possible Values:
Error encountered: |
Object
TagSupport
ProfileManagementTag
PropertyTag
SetPropertyTag
IterationTag
, Serializable
, Tag
Field Summary |
Fields from com.bea.p13n.usermgmt.profile.taglib. |
|
Fields from javax.servlet.jsp.tagext. |
id, pageContext |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_AGAIN |
Fields from interface javax.servlet.jsp.tagext. |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary |
Method Summary |
public int |
|
public |
|
public |
|
public void |
|
public void | |
public void | |
public void |
Methods from com.bea.p13n.usermgmt.profile.taglib. |
|
Methods from com.bea.p13n.usermgmt.profile.taglib. |
|
Methods from javax.servlet.jsp.tagext. |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface javax.servlet.jsp.tagext. |
doAfterBody |
Methods from interface javax.servlet.jsp.tagext. |
doEndTag, doStartTag, getParent, release, setPageContext, setParent |
Constructor Detail |
public SetPropertyTag()
Method Detail |
public int doStartTag()Set the property in the current profile.
throwsJspException
TagSupport.doStartTag()
JspException
public String
getResult()
Get the name of the variable to assign the result to
public Object
getValue()
Get the value to set for the property
public void release()Reset all of the tag's attributes
PropertyTag.release()
public void setResult(String
s)
Set the name of the variable to assign the result to
public void setValue(Object
o)
Set the value to set for the property
public void setValue(String
s)
Set the value to set for the property, as a String