|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.ibm.bpe.jsf.component.taglib.PropertyTag
public class PropertyTag
This class is used to configure a property displayed by the Details Component.
The details panel itself is specified by the bpe:details
DetailsTag
tag. A bpe:property
tag must be enclosed within
a bpe:details
tag. If the model used provides meta data, the label and converter information is
retrieved from the model, unless it is explicitly set on the tag.
Table of tag attributes:
Tag attribute | Mandatory? | Description |
---|---|---|
converterID | false | The ID used to register the converter in the JavaServer Faces (JSF) configuration file. |
label | false | The label for the property. If this attribute is not set, a default label is provided by the client model class. |
name | true | The name of the property to be displayed. This name must correspond to a named property as defined in the corresponding client model class. |
rendered | false | The render information. |
escapeValue | false | The escape information for the property value field. |
notRenderedIfNoValue | false | Determines whether the property is rendered if the property value is null. If this attribute is not set the property is rendered. If the rendered attribute is specified this attribute is ignored. |
<bpe:details model="#{TaskInstanceDetails}" styleClass="details" columnClasses="detailsProperty,detailsValue"> <bpe:property name="ID" /> <bpe:property name="kind" /> <bpe:property name="state" converterID="my.task.state.converter" /> <bpe:property name="escalated" /&g; <bpe:property name="suspended" /> <bpe:property name="owner" label="Working on the task:" /> <bpe:property name="originator" /> <bpe:property name="activationTime" /> <bpe:property name="firstActivationTime" /> <bpe:property name="completionTime" /> <bpe:property name="lastModificationTime" /> <bpe:property name="lastStateChangeTime" /> <bpe:property name="expirationTime" /> <bpe:property name="documentation" converterID="HtmlOutputTextConverter" escapeValue="false" /> </bpe:details>
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
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 | |
---|---|
PropertyTag()
|
Method Summary | |
---|---|
int |
doStartTag()
|
java.lang.String |
getConverterID()
Returns the explicitly set converter ID. |
java.lang.String |
getEscapeValue()
|
java.lang.String |
getLabel()
Returns the explicitly set label of the column header. |
java.lang.String |
getName()
Returns the name of the property that is displayed in the column. |
java.lang.String |
getNotRenderedIfNoValue()
|
java.lang.String |
getRendered()
Returns the render information. |
void |
release()
|
void |
setConverterID(java.lang.String converterID)
Sets the converter ID for the column. |
void |
setEscapeValue(java.lang.String escapeValue)
|
void |
setLabel(java.lang.String label)
Sets the label of the column header. |
void |
setName(java.lang.String name)
Sets the name of the property that is displayed in the column. |
void |
setNotRenderedIfNoValue(java.lang.String notRenderedIfNoValue)
|
void |
setRendered(java.lang.String rendered)
Sets the render information for the property. |
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 |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public PropertyTag()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The property namepublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- The lable, or a Value Binding Expressionpublic java.lang.String getConverterID()
public void setConverterID(java.lang.String converterID)
converterID
- The converter IDpublic java.lang.String getRendered()
public void setRendered(java.lang.String rendered)
rendered
- The render informationpublic java.lang.String getEscapeValue()
public void setEscapeValue(java.lang.String escapeValue)
public java.lang.String getNotRenderedIfNoValue()
public void setNotRenderedIfNoValue(java.lang.String notRenderedIfNoValue)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |