Class MultiFileComponent
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UINamingContainer
-
- de.xima.fc.prompt.service.support.gui.component.MultiFileComponent
-
- All Implemented Interfaces:
ValidationCallbackMixin,EventListener,javax.faces.component.NamingContainer,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.component.UniqueIdVendor,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder
public class MultiFileComponent extends javax.faces.component.UINamingContainer implements ValidationCallbackMixin
Backing Faces component class for the<xp:multiFile />composite component.- Since:
- 8.5.0
-
-
Field Summary
-
Fields inherited from class javax.faces.component.UINamingContainer
COMPONENT_FAMILY, COMPONENT_TYPE, SEPARATOR_CHAR_PARAM_NAME
-
-
Constructor Summary
Constructors Constructor Description MultiFileComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencodeBegin(javax.faces.context.FacesContext context)List<PromptFileSetParameter>getResolvedDynamicFiles()StringgetResolvedSource()List<PromptConfigFile>getResolvedStaticFiles()voidprocessUpdates(javax.faces.context.FacesContext context)voidprocessValidators(javax.faces.context.FacesContext context)voidsetResolvedDynamicFiles(List<PromptFileSetParameter> dynamicFiles)voidsetResolvedStaticFiles(List<PromptConfigFile> staticFiles)booleanvalidateSelf(javax.faces.context.FacesContext context)Validates the component (and not its children), returning whether it is valid or not.-
Methods inherited from class javax.faces.component.UINamingContainer
createUniqueId, getFamily, getSeparatorChar, visitTree
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
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
-
-
-
-
Method Detail
-
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext context) throws IOException- Overrides:
encodeBeginin classjavax.faces.component.UIComponentBase- Throws:
IOException
-
getResolvedDynamicFiles
public List<PromptFileSetParameter> getResolvedDynamicFiles()
-
setResolvedDynamicFiles
public void setResolvedDynamicFiles(List<PromptFileSetParameter> dynamicFiles)
-
getResolvedSource
public String getResolvedSource()
-
getResolvedStaticFiles
public List<PromptConfigFile> getResolvedStaticFiles()
-
setResolvedStaticFiles
public void setResolvedStaticFiles(List<PromptConfigFile> staticFiles)
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext context)
- Overrides:
processUpdatesin classjavax.faces.component.UIComponentBase
-
processValidators
public void processValidators(javax.faces.context.FacesContext context)
- Specified by:
processValidatorsin interfaceValidationCallbackMixin- Overrides:
processValidatorsin classjavax.faces.component.UIComponentBase
-
validateSelf
public boolean validateSelf(javax.faces.context.FacesContext context)
Description copied from interface:ValidationCallbackMixinValidates the component (and not its children), returning whether it is valid or not. You can add Faces messages within this method if validation fails.- Specified by:
validateSelfin interfaceValidationCallbackMixin- Parameters:
context- The current Faces context.- Returns:
- True if this component is valid, false otherwise.
-
-