@ProviderType
public class HiddenTextResponseWriter
extends javax.faces.context.ResponseWriterWrapper
ResponseWriter that is designed to intercept the encoding of a HtmlInputText
component. This class ensures that the "id" attribute is written correctly and that the "type" attribute is "hidden".| Constructor and Description |
|---|
HiddenTextResponseWriter(javax.faces.context.ResponseWriter responseWriter,
String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String name) |
javax.faces.context.ResponseWriter |
getWrapped() |
void |
writeAttribute(String name,
Object value,
String property) |
cloneWithWriter, close, endCDATA, endDocument, flush, getCharacterEncoding, getContentType, startCDATA, startDocument, startElement, write, writeComment, writeDoctype, writePreamble, writeText, writeText, writeText, writeURIAttributepublic HiddenTextResponseWriter(javax.faces.context.ResponseWriter responseWriter,
String id)
public void endElement(String name) throws IOException
endElement in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic javax.faces.context.ResponseWriter getWrapped()
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>getWrapped in class javax.faces.context.ResponseWriterWrapperpublic void writeAttribute(String name, Object value, String property) throws IOException
writeAttribute in class javax.faces.context.ResponseWriterWrapperIOExceptionCopyright © 2020 Liferay, Inc.. All rights reserved.