public void setValue ( String name , BooleanAttribute attribute ) { FormItem item = formWidget . getField ( name ) ; if ( item != null ) { item . setValue ( attribute . getValue ( ) ) ; } }
Apply a boolean attribute value on the form with the given name .