protected void renderBooleanValue ( final UIComponent component , final ResponseWriter writer , final String attributeName ) throws IOException { if ( component . getAttributes ( ) . get ( attributeName ) != null && Boolean . valueOf ( component . getAttributes ( ) . get ( attributeName ) . toString ( ) ) ) { writer . writeAttribute ( attributeName , true , attributeName ) ; } }
Render boolean value if attribute is set to true .