@ Override public void doRender ( final WComponent component , final WebXmlRenderContext renderContext ) { WHiddenComment hiddenComponent = ( WHiddenComment ) component ; XmlStringBuilder xml = renderContext . getWriter ( ) ; String hiddenText = hiddenComponent . getText ( ) ; if ( ! Util . empty ( hiddenText ) ) { xml . appendTag ( "ui:comment" ) ; xml . appendEscaped ( hiddenText ) ; xml . appendEndTag ( "ui:comment" ) ; } }
Paints the given WHiddenComment .