com.infragistics.faces.tree.taglib.html
Class TreeNodeTag
java.lang.Object
javax.faces.webapp.UIComponentTag
com.infragistics.faces.tree.taglib.html.TreeNodeTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.Tag
- public class TreeNodeTag
- extends javax.faces.webapp.UIComponentTag
JSP Tags For The treeNode Component.
Use
To use the component in a JSP page, declare the taglib:
<%@ taglib prefix="ig" uri="http://www.infragistics.com/faces/netadvantage" %>
and instantiate:
<ig:treeNode >
Attributes
| Name | Type | Default | Description |
| action | MethodBinding | "" | MethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application |
| actionListener | MethodBinding | "" | MethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void |
| bottomPagerRendered | boolean | "" | TreeNode's bottom pager visibility. |
| converter | Converter | "" | Converter instance registered with this component. |
| customPagingEnabled | boolean | "" | flag indicating whether custom paging is enabled or not |
| customSortingEnabled | boolean | "" | flag indicating whether custom sorting is enabled or not |
| dataKeyName | String | "" | name of the field(s) that uniquely identify each record in the data source (use semi-colons to specify a composite primary key). |
| dataSource | DataModel | "" | data source this component is bound to |
| disabled | boolean | "" | Treenode's input sensitivity |
| expanded | boolean | "" | TreeNode's expansion status |
| expandedIconUrl | String | "" | URL of the image displayed next to this TreeNode when it is expanded. |
| hoverStyleClass | String | "" | Space-separated list of CSS style class(es) applied when this node is rendered. |
| href | String | "" | URL to navigate to whenever the node is clicked-on. If both action and href are specified, href is used |
| iconUrl | String | "" | URL of the default image displayed next to this TreeNode. |
| immediate | boolean | "" | flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase |
| itemCount | int | "" | total number of items contained in the underlying dataModel (used when customPagingEnabled is set to true) |
| pageChangeListener | MethodBinding | "" | MethodBinding representing a pageChangeListener method that is notified of PageChangeEvent |
| pageSize | int | "" | number of items to display on each page (0 means all items). |
| selected | boolean | "" | TreeNode's selection status |
| selectedStyleClass | String | "" | Space-separated list of CSS style class(es) applied when this node is selected. |
| sortListener | MethodBinding | "" | MethodBinding representing a sortListener method that is notified of SortEvent |
| style | String | "" | CSS style applied when this component is rendered. |
| styleClass | String | "" | pace-separated list of CSS style class(es) applied when this component is rendered. |
| target | String | "" | target frame and/or window that will receive the result of this action |
| tooltip | String | "" | Tooltip text strip associated with this TreeNode |
| topPagerRendered | boolean | "" | TreeNode's top pager visibility |
| value | Object | "" | The current value of this component |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Methods inherited from class javax.faces.webapp.UIComponentTag |
doEndTag, doStartTag, getComponentInstance, getCreated, getParent, getParentUIComponentTag, isValueReference, setBinding, setId, setPageContext, setParent, setRendered |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeNodeTag
public TreeNodeTag()
Constructor
getComponentType
public java.lang.String getComponentType()
getRendererType
public java.lang.String getRendererType()
release
public void release()
setAction
public void setAction(java.lang.String newValue)
setActionListener
public void setActionListener(java.lang.String newValue)
setBottomPagerRendered
public void setBottomPagerRendered(java.lang.String newValue)
setConverter
public void setConverter(java.lang.String newValue)
setCustomPagingEnabled
public void setCustomPagingEnabled(java.lang.String newValue)
setCustomSortingEnabled
public void setCustomSortingEnabled(java.lang.String newValue)
setDataKeyName
public void setDataKeyName(java.lang.String newValue)
setDataSource
public void setDataSource(java.lang.String newValue)
setDisabled
public void setDisabled(java.lang.String newValue)
setExpanded
public void setExpanded(java.lang.String newValue)
setExpandedIconUrl
public void setExpandedIconUrl(java.lang.String newValue)
setHoverStyleClass
public void setHoverStyleClass(java.lang.String newValue)
setHref
public void setHref(java.lang.String newValue)
setIconUrl
public void setIconUrl(java.lang.String newValue)
setImmediate
public void setImmediate(java.lang.String newValue)
setItemCount
public void setItemCount(java.lang.String newValue)
setPageChangeListener
public void setPageChangeListener(java.lang.String newValue)
setPageSize
public void setPageSize(java.lang.String newValue)
setSelected
public void setSelected(java.lang.String newValue)
setSelectedStyleClass
public void setSelectedStyleClass(java.lang.String newValue)
setSortListener
public void setSortListener(java.lang.String newValue)
setStyle
public void setStyle(java.lang.String newValue)
setStyleClass
public void setStyleClass(java.lang.String newValue)
setTarget
public void setTarget(java.lang.String newValue)
setTooltip
public void setTooltip(java.lang.String newValue)
setTopPagerRendered
public void setTopPagerRendered(java.lang.String newValue)
setValue
public void setValue(java.lang.String newValue)