public static boolean beginDisabledFieldset ( IContentDisabled component , ResponseWriter rw ) throws IOException { if ( component . isContentDisabled ( ) ) { rw . startElement ( "fieldset" , ( UIComponent ) component ) ; rw . writeAttribute ( "disabled" , "disabled" , "null" ) ; return true ; } return false ; }
Renders the code disabling every input field and every button within a container .