protected void renderInputTag ( FacesContext context , ResponseWriter rw , String clientId , SelectBooleanCheckbox selectBooleanCheckbox ) throws IOException { int numberOfDivs = 0 ; String responsiveStyleClass = Responsive . getResponsiveStyleClass ( selectBooleanCheckbox , false ) . trim ( ) ; if ( responsiveStyleClass . length ( ) > 0 && isHorizontalForm ( selectBooleanCheckbox ) ) { rw . startElement ( "div" , selectBooleanCheckbox ) ; rw . writeAttribute ( "class" , responsiveStyleClass , "class" ) ; numberOfDivs ++ ; } renderInputTag ( rw , context , selectBooleanCheckbox , clientId ) ; renderInputTagAttributes ( rw , clientId , selectBooleanCheckbox ) ; // Render Ajax Capabilities AJAXRenderer . generateBootsFacesAJAXAndJavaScript ( FacesContext . getCurrentInstance ( ) , selectBooleanCheckbox , rw , false ) ; renderInputTagValue ( context , rw , selectBooleanCheckbox ) ; renderInputTagEnd ( rw , selectBooleanCheckbox ) ; renderInputTagHelper ( rw , context , selectBooleanCheckbox , clientId ) ; while ( numberOfDivs > 0 ) { rw . endElement ( "div" ) ; numberOfDivs -- ; } }
Renders the input tag .