com.ibm.bpe.jsf.component.taglib
Class DetailsTag

java.lang.Object
  extended byjavax.faces.webapp.UIComponentTag
      extended byjavax.faces.webapp.UIComponentBodyTag
          extended bycom.ibm.bpe.jsf.component.taglib.BaseTag
              extended bycom.ibm.bpe.jsf.component.taglib.DetailsTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class DetailsTag
extends com.ibm.bpe.jsf.component.taglib.BaseTag

This class is used to configure a DetailsComponent and corresponds to the bpe:detail tag. The Properties shown are specified by bpe:property PropertyTag tags which are enclosed in the bpe:detail tag.

Table of tag attributes:

tag attributedescriptionmandatory
model The model which is displayed. The value must be a Value Binding Expression that evaluates to a BPCDetailsHandler BPCDetailsHandler. true
columnClasses The CSS style used for the column classes of the backing h:dataTable false
rowClasses The CSS styles used for the row classes of the implementing JSF Components false
styleClass The CSS style used for the table style class of the implementing JSF Components false


Example:
                        <bpe:details model="#{EscalationDetails}" styleClass="details" columnClasses="detailsProperty,detailsValue">
                                <bpe:property name="state" />			   
                                <bpe:property name="action"/>
                                <bpe:property name="atLeastExpectedState" />
                                <bpe:property name="activationState" />						
                                <bpe:property name="taskName" />
                                <bpe:property name="taskOwner" />
                                <bpe:property name="escalationReceiver" />
                        </bpe:details>

 


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class javax.faces.webapp.UIComponentBodyTag
bodyContent
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
DetailsTag()
           
 
Method Summary
 java.lang.String getColumnClasses()
          Returns the column class used for rendering the details table.
 java.lang.String getComponentType()
          Returns the name of the component type that is created for this tag.
 java.lang.String getModel()
          Returns the Value Binding Expression used for retrieving the model.
 java.lang.String getRendererType()
          Returns the name of the renderer type.
 java.lang.String getRowClasses()
          Returns the row classes used for rendering the details table.
 java.lang.String getStyleClass()
          Returns the style class used for rendering the details table.
 void release()
           
 void setColumnClasses(java.lang.String cssStyle)
          Sets the column class used for rendering the details table.
 void setModel(java.lang.String model)
          Sets the Value Binding Expression used for retrieving the model.
 void setRowClasses(java.lang.String cssStyle)
          Sets the row classes used for rendering the details table.
 void setStyleClass(java.lang.String cssStyle)
          Sets the style class used for rendering the details table.
 
Methods inherited from class com.ibm.bpe.jsf.component.taglib.BaseTag
add, addBooleanValue, doEndTag, doStartTag, setProperties
 
Methods inherited from class javax.faces.webapp.UIComponentBodyTag
doAfterBody, doInitBody, getBodyContent, getDoAfterBodyValue, getDoStartValue, getPreviousOut, setBodyContent
 
Methods inherited from class javax.faces.webapp.UIComponentTag
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

DetailsTag

public DetailsTag()
Method Detail

getComponentType

public java.lang.String getComponentType()
Returns the name of the component type that is created for this tag.

Returns:
The Faces component type

getRendererType

public java.lang.String getRendererType()
Returns the name of the renderer type. Also the List Component uses the default html renderer despite this value.

Returns:
The Faces renderer type

getModel

public java.lang.String getModel()
Returns the Value Binding Expression used for retrieving the model. The Value Binding Expression points to a BPCDetailsHandler.

Returns:
The Value Binding Expression for the model

setModel

public void setModel(java.lang.String model)
Sets the Value Binding Expression used for retrieving the model. The Value Binding Expression must point to a BPCDetailsHandler.

Parameters:
model - The Value Binding Expression for the model

getStyleClass

public java.lang.String getStyleClass()
Returns the style class used for rendering the details table. Either a literal or a Value Binding Expression is returned.

Returns:
The CSS table style class name or null

setStyleClass

public void setStyleClass(java.lang.String cssStyle)
Sets the style class used for rendering the details table. Either a literal or a Value Binding Expression is allowed.

Parameters:
cssStyle - The CSS table style class name

getColumnClasses

public java.lang.String getColumnClasses()
Returns the column class used for rendering the details table. Either a literal or a Value Binding Expression is returned.

Returns:
The CSS column style class name or null

setColumnClasses

public void setColumnClasses(java.lang.String cssStyle)
Sets the column class used for rendering the details table. Either a literal or a Value Binding Expression is allowed.

Parameters:
cssStyle - The CSS column style class name

getRowClasses

public java.lang.String getRowClasses()
Returns the row classes used for rendering the details table. Either a literal or a Value Binding Expression is returned.

Returns:
The CSS row style class name or null

setRowClasses

public void setRowClasses(java.lang.String cssStyle)
Sets the row classes used for rendering the details table. Either a literal or a Value Binding Expression is allowed.

Parameters:
cssStyle - The CSS row style class name

release

public void release()