return new PortletDecorationImpl( configuration, validator, basePath, baseClientPath, sessionPathResolver );
}
public LayoutDecoration getLayoutDecoration( String name, RequestContext requestContext )
{
Path basePath = getLayoutDecorationBasePath( name );
Path baseClientPath = createClientPath( name, basePath, requestContext, ContentFragment.LAYOUT );
Properties configuration = getConfiguration( name, ContentFragment.LAYOUT );
SessionPathResolverCache sessionPathResolver = new SessionPathResolverCache( requestContext.getRequest().getSession() );
return new LayoutDecorationImpl( configuration, validator, basePath, baseClientPath, sessionPathResolver );
}