org.icefaces.ace.component.fileentry
Class FileEntryPhaseListener
java.lang.Object
org.icefaces.ace.component.fileentry.FileEntryPhaseListener
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener
public class FileEntryPhaseListener
- extends java.lang.Object
- implements javax.faces.event.PhaseListener
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileEntryPhaseListener
public FileEntryPhaseListener()
afterPhase
public void afterPhase(javax.faces.event.PhaseEvent phaseEvent)
- Specified by:
afterPhase in interface javax.faces.event.PhaseListener
beforePhase
public void beforePhase(javax.faces.event.PhaseEvent phaseEvent)
- Specified by:
beforePhase in interface javax.faces.event.PhaseListener
evaluateCallback
protected static FileEntryCallback evaluateCallback(javax.faces.context.FacesContext facesContext,
FileEntryConfig config)
handleCallbackException
protected static void handleCallbackException(javax.faces.context.FacesContext facesContext,
java.lang.String clientId,
java.lang.RuntimeException e)
calculateFolder
protected static java.lang.String calculateFolder(javax.faces.context.FacesContext facesContext,
FileEntryConfig config)
makeFile
protected static java.io.File makeFile(FileEntryConfig config,
java.lang.String folder,
java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
trimInternetExplorerPath
protected static java.lang.String trimInternetExplorerPath(java.lang.String path)
afterLast
protected static java.lang.String afterLast(java.lang.String str,
java.lang.String seek)
getPhaseId
public javax.faces.event.PhaseId getPhaseId()
- Specified by:
getPhaseId in interface javax.faces.event.PhaseListener
Copyright 2012 ICEsoft Technologies Canada Corp., All Rights Reserved.