code: private void addDrilldownOptionsArray(OptionsProcessorContext context) {
  		JsonRenderer renderer = JsonRendererFactory.getInstance()
  				.getRenderer();
  		response.renderJavascript(
  				MessageFormat.format("var {0};", JS_DRILLDOWN_ARRAY_NAME),
  				JS_DRILLDOWN_ARRAY_NAME + "-init");
  		response.renderOnDomReadyJavascript(MessageFormat.format("{0} = {1};",
  				getDrilldownArrayName(component),
  				renderer.toJson(context.getDrilldownOptions())));
  	}
docs: Adds the drilldown options stored in the context to a javascript array.