public class PropertyTag
extends javax.servlet.jsp.tagext.TagSupport
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.
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>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
PropertyTag() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String COPYRIGHT
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