public void setControlValue ( Object value ) { Boolean boolValue = null ; if ( value instanceof String ) // Always if ( ( ( String ) value ) . length ( ) > 0 ) boolValue = new Boolean ( ( String ) value ) ; if ( boolValue == null ) boolValue = Boolean . FALSE ; this . setSelected ( boolValue . booleanValue ( ) ) ; }
Set the value of this checkbox .