protected DomainTypeAdministrationConfiguration domainTypeConfiguration(final TilesRequestContext tilesContext) {
return (DomainTypeAdministrationConfiguration) attributeFromRequest(tilesContext, ApplicationController.DOMAIN_TYPE_ADMINISTRATION_CONFIGURATION_KEY);
}
protected Object attributeFromRequest(TilesRequestContext tilesContext, String attributeName) {
final ServletTilesRequestContext servletTilesRequestContext = ServletUtil.getServletRequest(tilesContext);
final HttpServletRequest httpServletRequest = servletTilesRequestContext.getRequest();
return httpServletRequest.getAttribute(attributeName);
}