IWContext iwContext = IWContext.getIWContext(context); bundle = iwContext.getIWMainApplication().getBundle(IW_BUNDLE_IDENTIFIER);
if (context != null) { app = IWMainApplication.getIWMainApplication(context); } else { app = IWMainApplication.getDefaultIWMainApplication(); } bundle = app.getBundle(IW_BUNDLE_IDENTIFIER);
	private static void setupBundle() {		FacesContext context = FacesContext.getCurrentInstance();		IWContext iwContext = IWContext.getIWContext(context);		bundle = iwContext.getIWMainApplication().getBundle(IW_BUNDLE_IDENTIFIER);	}