public class HtmlInputFile extends UIInput implements ClientBehaviorHolder
Modifier and Type | Class and Description |
---|---|
protected static class |
HtmlInputFile.PropertyKeys |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE, CONVERSION_MESSAGE_ID, EMPTY_STRING_AS_NULL_PARAM_NAME, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
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 and Description |
---|
HtmlInputFile() |
addValidator, addValueChangeListener, broadcast, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, 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
getConverter, getLocalValue, setConverter
addFacesListener, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientBehaviors
getConverter, getLocalValue, setConverter
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
protected void validateValue(FacesContext context, Object convertedValue)
validateValue
in class UIInput
public Collection<String> getEventNames()
getEventNames
in interface ClientBehaviorHolder
getEventNames
in class UIComponentBase
public void addClientBehavior(String eventName, ClientBehavior behavior)
addClientBehavior
in interface ClientBehaviorHolder
addClientBehavior
in class UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface ClientBehaviorHolder
getDefaultEventName
in class UIComponentBase
public int getMaxlength()
public void setMaxlength(int maxlength)
public int getSize()
public void setSize(int size)
public String getAutocomplete()
public void setAutocomplete(String autocomplete)
public String getAccesskey()
public void setAccesskey(String accesskey)
public String getOnselect()
public void setOnselect(String onselect)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public boolean isReadonly()
public void setReadonly(boolean readonly)
public String getOnclick()
public void setOnclick(String onclick)
public String getOndblclick()
public void setOndblclick(String ondblclick)
public String getOnkeydown()
public void setOnkeydown(String onkeydown)
public String getOnkeypress()
public void setOnkeypress(String onkeypress)
public String getOnkeyup()
public void setOnkeyup(String onkeyup)
public String getOnmousedown()
public void setOnmousedown(String onmousedown)
public String getOnmousemove()
public void setOnmousemove(String onmousemove)
public String getOnmouseout()
public void setOnmouseout(String onmouseout)
public String getOnmouseover()
public void setOnmouseover(String onmouseover)
public String getOnmouseup()
public void setOnmouseup(String onmouseup)
public String getStyle()
public void setStyle(String style)
public String getStyleClass()
public void setStyleClass(String styleClass)
public String getRole()
public void setRole(String role)
public String getLabel()
public void setLabel(String label)
public String getAlt()
public void setAlt(String alt)
public String getDir()
public void setDir(String dir)
public String getLang()
public void setLang(String lang)
public String getTitle()
public void setTitle(String title)
public String getOnblur()
public void setOnblur(String onblur)
public String getOnfocus()
public void setOnfocus(String onfocus)
public String getTabindex()
public void setTabindex(String tabindex)
public String getOnchange()
public void setOnchange(String onchange)
public void setValueBinding(String name, ValueBinding binding)
UIComponentBase
setValueBinding
in class UIComponentBase
public void setValueExpression(String name, javax.el.ValueExpression expression)
setValueExpression
in class UIComponent
Copyright © 2019 The Apache Software Foundation. All rights reserved.