|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.webapp.UIComponentTag
javax.faces.webapp.UIComponentBodyTag
com.ibm.bpe.jsf.component.taglib.NavigatorTag
This class is used to configure a Navigator Component and corresponds to the bpe:navigator tag.
Table of tag attributes:
tag attribute | description | mandatory |
---|---|---|
styleClass | The CSS style class name used for rendering | false |
titleStyleClass | The CSS style class name used for rendering the title | false |
embeddedStyleClass | The CSS style class name used for rendering the embedded parts | false |
label | The label shown | false |
userRoles | A comma seperated list of user roles. If this list is provided the navigator will only be rendered to a user who has one of the roles. | false |
action | If the action attribute is specified in the tag, the navigator component renders an additional icon in the navigator header. The specified action (navigation target or value binding) is executed if the icon is clicked. | false |
rendered | Specifies a boolean value or value expression that defines if the navigator should be rendered or not. Can be used to hide the navigator if it is empty. | false |
<bpe:navigator label="#{bundle['NAVIGATION.TASK.INSTANCES']}" styleClass="navigatorFrame" titleStyleClass="taskNavigatorTitle" action="searchPage" > <h:commandLink styleClass="navigatorItem navigatorItemList" id="MyTasks" action="#{TaskInstanceListBean.showMyTasks}" > <h:outputText value="#{bundle['MY.TASKS']}" /> </h:commandLink> <h:commandLink styleClass="navigatorItem navigatorItemList" id="TasksStartedByMe" action ="#{TaskInstanceListBean.showTaskInstancesStartedByMe}" > <h:outputText value="#{bundle['STARTED.BY.ME']}" /> </h:commandLink> <h:commandLink styleClass="navigatorItem navigatorItemList" id="TasksAdministeredByMe" action="#{TaskInstanceListBean.showTaskInstancesAdministeredByMe}" > <h:outputText value="#{bundle['ADMINISTERED.BY.ME']}" /> </h:commandLink> <h:commandLink styleClass="navigatorItem navigatorItemList" id="MyEscalations" action="#{EscalationListBean.showEscalations}" > <h:outputText value="#{bundle['MY.ESCALATIONS']}" /> </h:commandLink> </bpe:navigator>
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated. |
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 | |
---|---|
NavigatorTag()
Deprecated. Default c'tor |
Method Summary | |
---|---|
java.lang.String |
getComponentType()
Deprecated. |
java.lang.String |
getEmbeddedStyleClass()
Deprecated. Returns the CSS style class name used for rendering the embedded parts. |
java.lang.String |
getLabel()
Deprecated. Returns the label. |
java.lang.String |
getRendered()
Deprecated. Returns a boolean value or value expression that defines if the navigator should be rendered or not. |
java.lang.String |
getRendererType()
Deprecated. |
java.lang.String |
getStyleClass()
Deprecated. Returns the CSS style class name used for rendering. |
java.lang.String |
getTitleStyleClass()
Deprecated. Returns the CSS style class name used for rendering the title. |
java.lang.String |
getUserRoles()
Deprecated. Returns the list of user roles that are entitled to see the navigator. |
void |
setAction(java.lang.String facesAction)
Deprecated. Sets a Faces Action for the navigator. |
void |
setEmbeddedStyleClass(java.lang.String cssStyle)
Deprecated. Returns the CSS style class name used for rendering the embedded parts. |
void |
setLabel(java.lang.String label)
Deprecated. Sets the label. |
protected void |
setProperties(javax.faces.component.UIComponent comp)
Deprecated. This method is not for public usage. |
void |
setRendered(java.lang.String value)
Deprecated. Specifies a boolean value or value expression that defines if the navigator should be rendered or not. |
void |
setStyleClass(java.lang.String cssStyle)
Deprecated. Sets the CSS style class name used for rendering. |
void |
setTitleStyleClass(java.lang.String cssStyle)
Deprecated. Sets the CSS style class name used for rendering the title. |
void |
setUserRoles(java.lang.String roles)
Deprecated. Sets the list of user roles that are entitled to see the navigator. |
protected void |
setValueBinding(javax.faces.component.UIComponent component,
java.lang.String attributeName,
java.lang.String attributeValue)
Deprecated. This method is not for public usage. |
Methods inherited from class javax.faces.webapp.UIComponentBodyTag |
---|
doAfterBody, doInitBody, getBodyContent, getDoAfterBodyValue, getDoStartValue, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.faces.webapp.UIComponentTag |
---|
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, 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 |
---|
doEndTag, doStartTag, getParent, setPageContext, setParent |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public NavigatorTag()
Method Detail |
public void setAction(java.lang.String facesAction)
facesAction
- A Faces Action Method Binding or a Navigation Target literalpublic java.lang.String getComponentType()
public java.lang.String getRendererType()
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- Literal or a Value Binding Expressionpublic void setTitleStyleClass(java.lang.String cssStyle)
cssStyle
- The CSS title style class namepublic java.lang.String getTitleStyleClass()
public void setEmbeddedStyleClass(java.lang.String cssStyle)
cssStyle
- The CSS style class namepublic java.lang.String getEmbeddedStyleClass()
public void setStyleClass(java.lang.String cssStyle)
cssStyle
- The CSS style class namepublic java.lang.String getStyleClass()
public void setUserRoles(java.lang.String roles)
roles
- A comma separated list or user rolespublic java.lang.String getUserRoles()
public java.lang.String getRendered()
public void setRendered(java.lang.String value)
UIComponentTag.setRendered(java.lang.String)
protected void setProperties(javax.faces.component.UIComponent comp)
protected void setValueBinding(javax.faces.component.UIComponent component, java.lang.String attributeName, java.lang.String attributeValue)
component
- attributeName
- attributeValue
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |