final PageContext pageContext = (PageContext) getJspContext();
final SlingHttpServletRequest request = SliceTagUtils.slingRequestFrom(pageContext);
final InjectorsRepository injectorsRepository = SliceTagUtils
.injectorsRepositoryFrom(pageContext);
final ContextProvider contextProvider = SliceTagUtils.contextProviderFrom(pageContext);
final Object model = SliceTagUtils.getFromCurrentPath(request, injectorsRepository,
contextProvider, type, appName);
pageContext.setAttribute(var, model, PageContext.PAGE_SCOPE);
} finally {