|
||||||||||
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.ColumnTag
public class ColumnTag
This class is used to configure a column of the List Component.
The list itself is specified by the bpe:list
ListTag
tag. Each bpe:column
tag must be enclosed within a bpe:list
tag.
If the model used provides metadata, the label and converter information are retrieved from the model,
unless they are explicitly set on the tag.
Table of tag attributes:
Tag attribute | Mandatory? | Description | action | false | Either a Java Server Faces Action Method or the Faces Navigation target that is triggered by clicking on the link in this column. If not specified, no link is rendered in this column. |
---|---|---|
converterID | false | The Faces Converter ID used for converting the property value. If not specified, any Faces Converter ID provided by the model for this property is used. |
label | false | A literal or Value Binding Expression that is used as a label. If not specified, any label provided by the model for this property is used. |
name | true | The name of the property that is displayed in this column. |
<bpe:list model="#{TaskInstanceList}" rows="5" styleClass="list" headerStyleClass="listHeader" rowClasses="normal"> <bpe:column name="name" action="taskInstanceDetails" /> <bpe:column name="state" converterID="my.task.state.converter" /> <bpe:column name="kind" /> <bpe:column name="owner" label="Working on the task:" /> <bpe:column name="originator" /> </bpe:list>
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 | |
---|---|
ColumnTag()
|
Method Summary | |
---|---|
int |
doStartTag()
|
java.lang.String |
getAction()
Returns the action that is triggered by clicking on the link in this column. |
java.lang.String |
getConverterID()
Returns the explicitly set converter ID. |
java.lang.String |
getEscape()
Returns the escape attribute. |
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. |
void |
release()
|
void |
setAction(java.lang.String action)
Sets the action that is triggered by clicking on the link in this column. |
void |
setConverterID(java.lang.String converterId)
Sets the converter ID for the column. |
void |
setEscape(java.lang.String escape)
Sets the escape attribute. |
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. |
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 ColumnTag()
Method Detail |
---|
public java.lang.String getAction()
public java.lang.String getName()
public void setAction(java.lang.String action)
action
- A literal or Java Server Faces Action Method Binding Expressionpublic void setName(java.lang.String name)
name
- The property namepublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- A label or a Value Binding Expressionpublic java.lang.String getConverterID()
public void setConverterID(java.lang.String converterId)
converterId
- The Id of the converterpublic java.lang.String getEscape()
public void setEscape(java.lang.String escape)
escape
- The escape setting.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |