IReportRunnable runnable;
HttpServletRequest request = (HttpServletRequest) runOptions.getOption(InputOptions.OPT_REQUEST);
Locale locale = (Locale) runOptions.getOption(InputOptions.OPT_LOCALE);
TimeZone timeZone = (TimeZone) runOptions.getOption(InputOptions.OPT_TIMEZONE);
ViewerAttributeBean attrBean = (ViewerAttributeBean) request.getAttribute(IBirtConstants.ATTRIBUTE_BEAN);
// Set parameters
Map parsedParams = attrBean.getParameters();
if (parameters != null) {
parsedParams.putAll(parameters);
}
// Set display Text of select parameters
Map displayTextMap = attrBean.getDisplayTexts();
if (displayTexts != null) {
displayTextMap.putAll(displayTexts);
}
runnable = (IReportRunnable) design.getDesignObject();