public class CommandLinkResponseWriter
extends javax.faces.context.ResponseWriterWrapper
DelegationResponseWriter that will suppress writing of the "value" attribute (the rendered
text of the hyperlink) if the CommandLink has children, so that the rendered children will determine the text
of the hyperlink.| Constructor and Description |
|---|
CommandLinkResponseWriter(javax.faces.context.ResponseWriter responseWriter,
boolean hasChildren) |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String name) |
javax.faces.context.ResponseWriter |
getWrapped() |
void |
startElement(String name,
javax.faces.component.UIComponent component) |
void |
writeText(Object text,
javax.faces.component.UIComponent component,
String property) |
public CommandLinkResponseWriter(javax.faces.context.ResponseWriter responseWriter,
boolean hasChildren)
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 startElement(String name, javax.faces.component.UIComponent component) throws IOException
startElement in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeText(Object text, javax.faces.component.UIComponent component, String property) throws IOException
writeText in class javax.faces.context.ResponseWriterWrapperIOExceptionCopyright © 2016 Liferay, Inc.. All rights reserved.