@Generated(value="com.liferay.alloy.tools.builder.FacesBuilder") public abstract class InputFileBase extends javax.faces.component.html.HtmlInputFile
Modifier and Type | Class and Description |
---|---|
protected static class |
InputFileBase.InputFilePropertyKeys |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_TYPE |
static String |
RENDERER_TYPE |
Constructor and Description |
---|
InputFileBase() |
Modifier and Type | Method and Description |
---|---|
javax.el.MethodExpression |
getFileUploadListener()
fileUploadListener attribute description: |
String |
getMultiple() |
boolean |
isAuto()
auto attribute description: |
void |
setAuto(boolean auto)
auto attribute description: |
void |
setFileUploadListener(javax.el.MethodExpression fileUploadListener)
fileUploadListener attribute description: |
void |
setMultiple(String multiple)
multiple attribute description: |
getAccesskey, getAlt, getAutocomplete, getDefaultEventName, getDir, getEventNames, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setAutocomplete, setDir, setDisabled, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setSize, setStyle, setStyleClass, setTabindex, setTitle
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String COMPONENT_TYPE
public static final String RENDERER_TYPE
public boolean isAuto()
auto
attribute description:
When this flag is true, files are uploaded automatically as soon as they are selected. The default value is false.
public void setAuto(boolean auto)
auto
attribute description:
When this flag is true, files are uploaded automatically as soon as they are selected. The default value is false.
public javax.el.MethodExpression getFileUploadListener()
fileUploadListener
attribute description:
A method that is executed when a file is uploaded. The method must be public
, return void
, and take a FileUploadEvent
argument.
public void setFileUploadListener(javax.el.MethodExpression fileUploadListener)
fileUploadListener
attribute description:
A method that is executed when a file is uploaded. The method must be public
, return void
, and take a FileUploadEvent
argument.
public String getMultiple()
public void setMultiple(String multiple)
multiple
attribute description:
HTML passthrough attribute specifying whether or not multiple files can be uploaded. Valid values are blank (to upload a single file) or "multiple" (to upload multiple files).
Copyright © 2018 Liferay, Inc. All rights reserved.