com.liferay.faces.bridge.component.primefaces
Class PrimeFacesFileUpload

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 com.liferay.faces.bridge.component.UIInputWrapper
                      extended by com.liferay.faces.bridge.component.primefaces.PrimeFacesFileUpload
All Implemented Interfaces:
EventListener, javax.faces.component.EditableValueHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, javax.faces.FacesWrapper<javax.faces.component.UIInput>

public class PrimeFacesFileUpload
extends UIInputWrapper

This is a wrapper around the org.primefaces.component.fileupload.FileUpload component that has decorator methods that call the wrapped component via reflection in order to avoid a compile-time dependency.

Author:
Neil Griffin

Field Summary
static String AJAX_FILE_UPLOAD
           
static String MODE_SIMPLE
           
static String RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Constructor Summary
PrimeFacesFileUpload(javax.faces.component.UIInput uiInput)
           
 
Method Summary
 String getMode()
           
 javax.faces.component.UIInput getWrapped()
           
 
Methods inherited from class com.liferay.faces.bridge.component.UIInputWrapper
addFacesListener, addValidator, addValueChangeListener, broadcast, clearInitialState, compareValues, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getConvertedValue, getConverterMessage, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getFamily, getId, getParent, getRenderer, getRendererType, getRendersChildren, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueBinding, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRendered, isRequired, isTransient, isValid, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setId, setImmediate, setLocalValueSet, setParent, setRendered, setRendererType, setRequired, setRequiredMessage, setSubmittedValue, setTransient, setValid, setValidator, setValidatorMessage, setValue, setValueBinding, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class javax.faces.component.UIInput
isEmpty
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, getValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames, getFacetCount, getListenersForEventClass, invokeOnComponent, restoreAttachedState, saveAttachedState, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
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, getValue, setConverter
 

Field Detail

AJAX_FILE_UPLOAD

public static final String AJAX_FILE_UPLOAD
See Also:
Constant Field Values

MODE_SIMPLE

public static final String MODE_SIMPLE
See Also:
Constant Field Values

RENDERER_TYPE

public static final String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

PrimeFacesFileUpload

public PrimeFacesFileUpload(javax.faces.component.UIInput uiInput)
Method Detail

getMode

public String getMode()

getWrapped

public javax.faces.component.UIInput getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.component.UIInput>
Specified by:
getWrapped in class UIInputWrapper


Copyright © 2014 Liferay, Inc.. All Rights Reserved.