public class NXFileRenderer extends com.sun.faces.renderkit.html_basic.FileRenderer
Overrides the base JSF renderer for files to ignore error when submitting file inside a non multipart form.
Component UIInputFile
will handle error message management in UI, if validation phase occurs.
Modifier and Type | Field and Description |
---|---|
static String |
RENDERER_TYPE |
Constructor and Description |
---|
NXFileRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
encodeBegin, getConvertedValue
encodeChildren, getEndTextToRender, getRendersChildren
getNonOnChangeBehaviors, getNonOnClickSelectBehaviors, getValue, setSubmittedValue
augmentIdReference, convertClientId, decodeBehaviors, encodeEnd, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, isBehaviorSource, rendererParamsNotNull, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessary
public static final String RENDERER_TYPE
public NXFileRenderer()
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class com.sun.faces.renderkit.html_basic.FileRenderer
Copyright © 2016 Nuxeo SA. All rights reserved.