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, getConvertedValueencodeChildren, getEndTextToRender, getRendersChildrengetNonOnChangeBehaviors, getNonOnClickSelectBehaviors, getValue, setSubmittedValueaugmentIdReference, convertClientId, decodeBehaviors, encodeEnd, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, isBehaviorSource, rendererParamsNotNull, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessarypublic 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.FileRendererCopyright © 2019 Nuxeo. All rights reserved.