org.alfresco.web.ui.repo.tag.property
Class BaseAssociationEditorTag

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.repo.tag.property.BaseAssociationEditorTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
AssociationEditorTag, ChildAssociationEditorTag

public abstract class BaseAssociationEditorTag
extends org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag

Base class for all association editor tag implementations


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
BaseAssociationEditorTag()
           
 
Method Summary
 java.lang.String getRendererType()
           
 void release()
           
 void setAssociationName(java.lang.String associationName)
          Sets the association name
 void setAvailableOptionsSize(java.lang.String availableOptionsSize)
           
 void setDisabled(java.lang.String disabled)
          Sets whether the component should be rendered in a disabled state
 void setNoSelectedItemsMsg(java.lang.String noSelectedItemsMsg)
          Sets the message to display for the no selected items
protected  void setProperties(javax.faces.component.UIComponent component)
           
 void setSelectedItemsMsg(java.lang.String selectedItemsMsg)
          Sets the message to display for the selected items
 void setSelectItemMsg(java.lang.String selectItemMsg)
          Sets the message to display for inviting the user to select an item
 void setSelectItemsMsg(java.lang.String selectItemsMsg)
          Sets the message to display for inviting the user to select items
 void setValue(java.lang.String value)
           
 
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, getComponentType, 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

BaseAssociationEditorTag

public BaseAssociationEditorTag()
Method Detail

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 javax.faces.webapp.UIComponentTag
See Also:
UIComponentTag.setProperties(javax.faces.component.UIComponent)

setValue

public void setValue(java.lang.String value)
Parameters:
value - The value to set.

setAssociationName

public void setAssociationName(java.lang.String associationName)
Sets the association name

Parameters:
associationName - The association name

setAvailableOptionsSize

public void setAvailableOptionsSize(java.lang.String availableOptionsSize)
Parameters:
availableOptionsSize - Sets the size of the available options size when multiple items can be selected

setNoSelectedItemsMsg

public void setNoSelectedItemsMsg(java.lang.String noSelectedItemsMsg)
Sets the message to display for the no selected items

Parameters:
noSelectedItemsMsg - The message

setSelectedItemsMsg

public void setSelectedItemsMsg(java.lang.String selectedItemsMsg)
Sets the message to display for the selected items

Parameters:
selectedItemsMsg - The message

setSelectItemMsg

public void setSelectItemMsg(java.lang.String selectItemMsg)
Sets the message to display for inviting the user to select an item

Parameters:
selectItemMsg - The message

setSelectItemsMsg

public void setSelectItemsMsg(java.lang.String selectItemsMsg)
Sets the message to display for inviting the user to select items

Parameters:
selectItemsMsg - The message

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

release

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


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