if ( options != null ) { HttpServletRequest request = (HttpServletRequest) options .getOption( InputOptions.OPT_REQUEST ); if ( request != null ) { ViewerAttributeBean bean = (ViewerAttributeBean) request .getAttribute( IBirtConstants.ATTRIBUTE_BEAN ); if ( bean != null ) return bean.getModuleOptions( ); } }
ViewerAttributeBean bean = getViewerAttrBean( options ); if ( bean != null ) return bean.getModuleOptions( );
	Map getModuleOptions( InputOptions options )	{		if ( options != null )		{			HttpServletRequest request = (HttpServletRequest) options					.getOption( InputOptions.OPT_REQUEST );			if ( request != null )			{				ViewerAttributeBean bean = (ViewerAttributeBean) request						.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );				if ( bean != null )					return bean.getModuleOptions( );			}		}		return null;	}