|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.icefaces.ace.component.fileentry.FileEntryBase
org.icefaces.ace.component.fileentry.FileEntry
public class FileEntry
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.icefaces.ace.component.fileentry.FileEntryBase |
---|
FileEntryBase.PropertyKeys |
Field Summary |
---|
Fields inherited from class org.icefaces.ace.component.fileentry.FileEntryBase |
---|
COMPONENT_TYPE, RENDERER_TYPE |
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 | |
---|---|
FileEntry()
|
Method Summary | |
---|---|
protected void |
addMessageFromRequired(javax.faces.context.FacesContext facesContext)
|
protected void |
addMessagesFromResults(javax.faces.context.FacesContext facesContext)
|
void |
broadcast(javax.faces.event.FacesEvent event)
|
java.lang.String |
getFacesMessageLabel()
|
boolean |
isImmediateValidation()
Return the value of the immediateValidation property. |
void |
processDecodes(javax.faces.context.FacesContext facesContext)
|
void |
processValidators(javax.faces.context.FacesContext facesContext)
|
void |
queueEvent(javax.faces.event.FacesEvent event)
|
void |
reset()
|
void |
setResults(FileEntryResults results)
Set the value of the results property. |
protected void |
validateResults(javax.faces.context.FacesContext facesContext)
Invoked by processDecodes(FacesContext) or processValidators(FacesContext) |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, processUpdates, 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, 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 |
Constructor Detail |
---|
public FileEntry()
Method Detail |
---|
public void setResults(FileEntryResults results)
FileEntryBase
Set the value of the results
property.
Contents: Maintains the results of the most recent file upload operation. From this, applications can retrieve the uploaded files' information, such as the file name, MIME content type, size, location where the file has been stored, and status of the success of the upload. If saving a FileEntryResults object or FileEntryResults.FileInfo objects, in your application, then save a clone of the objects, instead.
setResults
in interface IFileEntry
setResults
in class FileEntryBase
public void reset()
protected void validateResults(javax.faces.context.FacesContext facesContext)
protected void addMessagesFromResults(javax.faces.context.FacesContext facesContext)
protected void addMessageFromRequired(javax.faces.context.FacesContext facesContext)
public java.lang.String getFacesMessageLabel()
public boolean isImmediateValidation()
FileEntryBase
Return the value of the immediateValidation
property.
Contents: Initially, validation of maxTotalSize, maxFileSize, maxFileCount, and required was fixed at APPLY_REQUEST_VALUES phase for technical reasons. Now that it can happen in PROCESS_VALIDATIONS, there are backwards compatibility constraints, so it's tied off of this new property instead of the typical immediate property. And this property's default value must give the pre-existing behaviour, not the newly available one. Validation must happen before the FileEntryEvent is broadcast and the fileEntryListener is invoked, so if immediate is true, then immediateValidation must be true as well. Baring that constraint, when immediateValidation is false, validation will occur in PROCESS_VALIDATIONS phase, otherwise when immediateValidation is true or unspecified, it will occur during APPLY_REQUEST_VALUES phase. Default = 'true'.
isImmediateValidation
in interface IFileEntry
isImmediateValidation
in class FileEntryBase
public void processDecodes(javax.faces.context.FacesContext facesContext)
processDecodes
in class javax.faces.component.UIComponentBase
public void processValidators(javax.faces.context.FacesContext facesContext)
processValidators
in class javax.faces.component.UIComponentBase
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class javax.faces.component.UIComponentBase
public void broadcast(javax.faces.event.FacesEvent event)
broadcast
in class javax.faces.component.UIComponentBase
|
ICEfaces ACE Components 3.3.0 Java API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |