protected void registerIframeRenderStrategy(ConnectPageModuleBean page, ConnectAddonBean connectAddonBean)
{
IFrameRenderStrategy pageRenderStrategy = iFrameRenderStrategyBuilderFactory.builder()
.addOn(connectAddonBean.getKey())
.module(page.getKey(connectAddonBean))
.pageTemplate()
.urlTemplate(page.getUrl())
.decorator(getDecorator())
.conditions(page.getConditions())
.conditionClasses(getConditionClasses())
.title(page.getDisplayName())
.resizeToParent(true)
.build();
iFrameRenderStrategyRegistry.register(connectAddonBean.getKey(), page.getRawKey(), pageRenderStrategy);
IFrameRenderStrategy rawRenderStrategy = iFrameRenderStrategyBuilderFactory.builder()
.addOn(connectAddonBean.getKey())
.module(page.getKey(connectAddonBean))
.genericBodyTemplate()
.urlTemplate(page.getUrl())
.conditions(page.getConditions())
.conditionClasses(getConditionClasses())
.dimensions("100%", "100%")
.build();
iFrameRenderStrategyRegistry.register(connectAddonBean.getKey(), page.getRawKey(), RAW_CLASSIFIER, rawRenderStrategy);
}