org.alfresco.web.ui.repo.tag
Class YahooTreeTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag
          extended by org.alfresco.web.ui.common.tag.HtmlComponentTag
              extended by org.alfresco.web.ui.repo.tag.YahooTreeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class YahooTreeTag
extends HtmlComponentTag

Tag class for using the Yahoo tree component on a JSP page.


Field Summary
 
Fields inherited from class org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag
ACTION_CLASS_ARGS
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
YahooTreeTag()
           
 
Method Summary
 java.lang.String getComponentType()
           
 java.lang.String getRendererType()
           
 void release()
           
 void setNodeCollapsedCallback(java.lang.String nodeCollapsedCallback)
          Set the name of the Javascript function to handle the node collapsed event
 void setNodeCollapsedUrl(java.lang.String nodeCollapsedUrl)
          Set the URL to use to inform the server that a node has been collapsed
 void setNodeExpandedCallback(java.lang.String nodeExpandedCallback)
          Set the name of the Javascript function to handle the node expanded event
 void setNodeSelectedCallback(java.lang.String nodeSelectedCallback)
          Set the name of the Javascript function to handle the node selected event
protected  void setProperties(javax.faces.component.UIComponent component)
           
 void setRetrieveChildrenUrl(java.lang.String retrieveChildrenUrl)
          Set the URL to use to retrieve child nodes
 void setRootNodes(java.lang.String rootNodes)
          Set the root nodes for the tree
 
Methods inherited from class org.alfresco.web.ui.common.tag.HtmlComponentTag
setStyle, setStyleClass, setTooltip
 
Methods inherited from class org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag
setActionListenerProperty, setActionProperty, setBooleanProperty, setBooleanStaticProperty, setIntProperty, setIntStaticProperty, setStringBindingProperty, setStringProperty, setStringStaticProperty
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, 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
 

Constructor Detail

YahooTreeTag

public YahooTreeTag()
Method Detail

getComponentType

public java.lang.String getComponentType()
Specified by:
getComponentType in class javax.faces.webapp.UIComponentTag
See Also:
UIComponentTag.getComponentType()

getRendererType

public java.lang.String getRendererType()
Specified by:
getRendererType in class javax.faces.webapp.UIComponentTag
See Also:
UIComponentTag.getRendererType()

setProperties

protected void setProperties(javax.faces.component.UIComponent component)
Overrides:
setProperties in class HtmlComponentTag
See Also:
UIComponentTag.setProperties(javax.faces.component.UIComponent)

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class HtmlComponentTag
See Also:
HtmlComponentTag.release()

setRootNodes

public void setRootNodes(java.lang.String rootNodes)
Set the root nodes for the tree

Parameters:
rootNodes -

setNodeCollapsedCallback

public void setNodeCollapsedCallback(java.lang.String nodeCollapsedCallback)
Set the name of the Javascript function to handle the node collapsed event

Parameters:
nodeCollapsedCallback -

setNodeExpandedCallback

public void setNodeExpandedCallback(java.lang.String nodeExpandedCallback)
Set the name of the Javascript function to handle the node expanded event

Parameters:
nodeExpandedCallback -

setNodeSelectedCallback

public void setNodeSelectedCallback(java.lang.String nodeSelectedCallback)
Set the name of the Javascript function to handle the node selected event

Parameters:
nodeSelectedCallback -

setRetrieveChildrenUrl

public void setRetrieveChildrenUrl(java.lang.String retrieveChildrenUrl)
Set the URL to use to retrieve child nodes

Parameters:
retrieveChildrenUrl -

setNodeCollapsedUrl

public void setNodeCollapsedUrl(java.lang.String nodeCollapsedUrl)
Set the URL to use to inform the server that a node has been collapsed

Parameters:
nodeCollapsedUrl -


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.