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

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.ItemSelectorTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
CategorySelectorTag, SpaceSelectorTag, WebProjectFolderSelectorTag

public abstract class ItemSelectorTag
extends HtmlComponentTag

Base class for the item selector tag


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
ItemSelectorTag()
           
 
Method Summary
abstract  java.lang.String getComponentType()
           
 java.lang.String getRendererType()
           
 void release()
           
 void setDisabled(java.lang.String disabled)
          Sets whether the component should be rendered in a disabled state
 void setInitialSelection(java.lang.String initialSelection)
          Sets the id of the item to be initially selected, this is overridden however if a value is supplied
 void setLabel(java.lang.String label)
          Set the label
 void setNodeStyle(java.lang.String nodeStyle)
          Set the node style
 void setNodeStyleClass(java.lang.String nodeStyleClass)
          Set the node style class
protected  void setProperties(javax.faces.component.UIComponent component)
           
 void setSpacing(java.lang.String spacing)
          Set the spacing
 void setValue(java.lang.String value)
          Set the value
 
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

ItemSelectorTag

public ItemSelectorTag()
Method Detail

getComponentType

public abstract 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()

setValue

public void setValue(java.lang.String value)
Set the value

Parameters:
value - the value

setLabel

public void setLabel(java.lang.String label)
Set the label

Parameters:
label - the label

setSpacing

public void setSpacing(java.lang.String spacing)
Set the spacing

Parameters:
spacing - the spacing

setNodeStyle

public void setNodeStyle(java.lang.String nodeStyle)
Set the node style

Parameters:
nodeStyle - the node style

setNodeStyleClass

public void setNodeStyleClass(java.lang.String nodeStyleClass)
Set the node style class

Parameters:
nodeStyleClass - the node style class

setInitialSelection

public void setInitialSelection(java.lang.String initialSelection)
Sets the id of the item to be initially selected, this is overridden however if a value is supplied

Parameters:
initialSelection - The id of the initial selected item

setDisabled

public void setDisabled(java.lang.String disabled)
Sets whether the component should be rendered in a disabled state

Parameters:
disabled - true to render the component in a disabled state


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