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

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.BaseMultiValueTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
MultiValueFieldTag, MultiValueSelectorTag

public abstract class BaseMultiValueTag
extends HtmlComponentTag

Base class for all tags that combine the multi value component and renderers


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
BaseMultiValueTag()
           
 
Method Summary
 java.lang.String getComponentType()
           
 void release()
           
 void setLastItemAdded(java.lang.String lastItemAdded)
          Sets the lastItemAdded value expression binding
 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 setReadOnly(java.lang.String readOnly)
          Sets the readOnly flag for the 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 setValue(java.lang.String 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, getRendererType, 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

BaseMultiValueTag

public BaseMultiValueTag()
Method Detail

getComponentType

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

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:
Tag.release()

setValue

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

setLastItemAdded

public void setLastItemAdded(java.lang.String lastItemAdded)
Sets the lastItemAdded value expression binding

Parameters:
lastItemAdded - lastItemAdded binding

setReadOnly

public void setReadOnly(java.lang.String readOnly)
Sets the readOnly flag for the component

Parameters:
readOnly - true if the component will be read only

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


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