com.liferay.util.bridges.jsf.icefaces
Class FileUploadManagedBean
java.lang.Object
com.liferay.util.bridges.jsf.icefaces.FileUploadManagedBean
- All Implemented Interfaces:
- com.icesoft.faces.async.render.Renderable
public class FileUploadManagedBean
- extends java.lang.Object
- implements com.icesoft.faces.async.render.Renderable
View Source
This class is a managed bean that is designed specifically to work with the
ICEfaces framework, by utilizing the
component.
The basic ideas found in this bean were taken from the ICEfaces tuorial,
found here:
http://facestutorials.icefaces.org/tutorial/inputFile-tutorial.html
The server initiated rendering API documentation is found here:
http://www.icesoft.com/developer_guides/icefaces/htmlguide/devguide/advanced_topics2.html
- Author:
- Neil Griffin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUploadManagedBean
public FileUploadManagedBean()
getState
public com.icesoft.faces.webapp.xmlhttp.PersistentFacesState getState()
- Specified by:
getState
in interface com.icesoft.faces.async.render.Renderable
setRenderManager
public void setRenderManager(com.icesoft.faces.async.render.RenderManager renderManager)
getInputFile
public com.icesoft.faces.component.inputfile.InputFile getInputFile()
setInputFile
public void setInputFile(com.icesoft.faces.component.inputfile.InputFile inputFile)
getPercent
public int getPercent()
setPercent
public void setPercent(int percent)
isComplete
public boolean isComplete()
actionListener
public void actionListener(javax.faces.event.ActionEvent actionEvent)
progressListener
public void progressListener(java.util.EventObject eventObject)
renderingException
public void renderingException(com.icesoft.faces.webapp.xmlhttp.RenderingException renderingException)
- Specified by:
renderingException
in interface com.icesoft.faces.async.render.Renderable
addErrorMessage
protected void addErrorMessage(java.lang.String key)
addErrorMessage
protected void addErrorMessage(java.lang.String key,
java.lang.String argument)