public class InputFileRenderer extends InputFileRendererBase
APPEND_NEW_FILES, AUTO, CLIENT_KEY, CONTENT_TYPES, FILE_UPLOAD_LISTENER, LOCATION, MAX_FILE_SIZE, MODULES, MULTIPLE, SHOW_PREVIEW, SHOW_PROGRESSBOUNDING_BOX, CONTENT_BOX, LIFERAY_Z_INDEX_OVERLAY, LIFERAY_Z_INDEX_TOOLTIP| Constructor and Description |
|---|
InputFileRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected void |
encodeHiddenAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
InputFile inputFile,
boolean first) |
void |
encodeJavaScriptCustom(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
encodeMarkupBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
encodeMarkupEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected void |
encodePreview(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
InputFile inputFile) |
protected void |
encodeProgress(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
InputFile inputFile,
String clientId) |
Object |
getConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object submittedValue) |
protected String |
getParentFormClientId(javax.faces.component.UIComponent uiComponent) |
protected Map<String,List<com.liferay.faces.util.model.UploadedFile>> |
getUploadedFileMap(javax.faces.context.FacesContext facesContext,
String location) |
protected com.liferay.faces.util.render.JavaScriptFragment |
toJavaScriptArray(String[] items) |
encodeAlloyAttributes, encodeAppendNewFiles, getAlloyClassName, getModulesgetDelegateComponentFamily, getDelegateRendererType, getWebappInputFileDecoder, isFaces_2_2_OrNewerdecodeClientBehaviors, encodeBoolean, encodeClientId, encodeClientId, encodeEventCallback, encodeInteger, encodeJavaScript, encodeJavaScriptBegin, encodeJavaScriptEnd, encodeJavaScriptMain, encodeLiferayComponentVar, encodeNonEscapedObject, encodeString, encodeWidgetRender, getClientVarName, getYUIConfig, isSandboxed, renderScriptconvertClientId, encodeAll, encodeAll, encodeBegin, encodeBegin, encodeChildren, encodeChildren, encodeEnd, encodeEnd, encodeMarkupBegin, encodeMarkupEnd, getDelegateRenderer, getRendersChildrendecodeClientState, encodeBooleanProperty, encodeClientIdProperty, encodeClientIdProperty, encodeClientState, encodeFunctionCall, encodeIntegerProperty, encodeNonEscapedObjectProperty, encodeStringPropertypublic void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
decode in class DelegatingAlloyRendererBasepublic void encodeJavaScriptCustom(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeJavaScriptCustom in interface AlloyRendererencodeJavaScriptCustom in class DelegatingAlloyRendererBaseIOExceptionpublic void encodeMarkupBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeMarkupBegin in interface com.liferay.faces.util.render.ClientComponentRendererencodeMarkupBegin in class com.liferay.faces.util.render.DelegatingClientComponentRendererBaseIOExceptionpublic void encodeMarkupEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeMarkupEnd in interface com.liferay.faces.util.render.ClientComponentRendererencodeMarkupEnd in class com.liferay.faces.util.render.DelegatingClientComponentRendererBaseIOExceptionpublic Object getConvertedValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, Object submittedValue) throws javax.faces.convert.ConverterException
getConvertedValue in class com.liferay.faces.util.render.DelegatingClientComponentRendererBasejavax.faces.convert.ConverterExceptionprotected void encodeHiddenAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
InputFile inputFile,
boolean first)
throws IOException
encodeHiddenAttributes in class InputFileRendererBaseIOExceptionprotected void encodePreview(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
InputFile inputFile)
throws IOException
IOExceptionprotected void encodeProgress(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
InputFile inputFile,
String clientId)
throws IOException
IOExceptionprotected String getParentFormClientId(javax.faces.component.UIComponent uiComponent)
protected Map<String,List<com.liferay.faces.util.model.UploadedFile>> getUploadedFileMap(javax.faces.context.FacesContext facesContext, String location)
protected com.liferay.faces.util.render.JavaScriptFragment toJavaScriptArray(String[] items)
Copyright © 2016 Liferay, Inc.. All rights reserved.