org.alfresco.web.ui.repo.component
Class UIAjaxTagPicker

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by org.alfresco.web.ui.repo.component.BaseAjaxItemPicker
                      extended by org.alfresco.web.ui.repo.component.UIAjaxTagPicker
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder

public class UIAjaxTagPicker
extends BaseAjaxItemPicker


Field Summary
 
Fields inherited from class org.alfresco.web.ui.repo.component.BaseAjaxItemPicker
ACTION_CANCEL, ACTION_DONE, disabled, EMPTY, FOLDER_IMAGE_PREFIX, height, ID_ICON, ID_ID, ID_NAME, initialSelectionId, label, MSG_CANCEL, MSG_GO_UP, MSG_OK, singleSelect
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
 
Constructor Summary
UIAjaxTagPicker()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext fc)
           
protected  java.lang.String getDefaultIcon()
           
 java.lang.String getFamily()
           
 java.lang.String getLabel()
           
protected  java.lang.String getServiceCall()
           
 java.lang.Boolean getSingleSelect()
           
 
Methods inherited from class org.alfresco.web.ui.repo.component.BaseAjaxItemPicker
decode, getHeight, getHiddenFieldName, getInitialSelection, getItemJson, getRequestAttributes, isDisabled, restoreState, saveState, setDisabled, setHeight, setInitialSelection, setLabel, setSingleSelect
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, broadcast, compareValues, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
 

Constructor Detail

UIAjaxTagPicker

public UIAjaxTagPicker()
Method Detail

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class BaseAjaxItemPicker
See Also:
UIComponent.getFamily()

getServiceCall

protected java.lang.String getServiceCall()
Specified by:
getServiceCall in class BaseAjaxItemPicker
Returns:
the ajax service bean call, for instance 'PickerBean.getFolderNodes'

getDefaultIcon

protected java.lang.String getDefaultIcon()
Specified by:
getDefaultIcon in class BaseAjaxItemPicker
Returns:
default icon for the picker - if null then assume 'icon' property is always returned in service call results JSON objects.

getSingleSelect

public java.lang.Boolean getSingleSelect()
Overrides:
getSingleSelect in class BaseAjaxItemPicker
Returns:
true is single select mode, false for multi-select

getLabel

public java.lang.String getLabel()
Overrides:
getLabel in class BaseAjaxItemPicker
Returns:
Returns the label.

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext fc)
                 throws java.io.IOException
Overrides:
encodeBegin in class BaseAjaxItemPicker
Throws:
java.io.IOException
See Also:
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)


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