public BaseConcretePageElementBean(BaseConcretePageElement baseConcretePageElement) { super(baseConcretePageElement); effectiveDefaultLayoutDecorator = baseConcretePageElement.getEffectiveDefaultDecorator(Fragment.LAYOUT); effectiveDefaultPortletDecorator = baseConcretePageElement.getEffectiveDefaultDecorator(Fragment.PORTLET); }
if (page.isHidden() || menu.isElementRelative())
if (concretePage != null) effectiveDefaultDecorators.put(Fragment.LAYOUT, concretePage.getEffectiveDefaultDecorator(Fragment.LAYOUT)); effectiveDefaultDecorators.put(Fragment.PORTLET, concretePage.getEffectiveDefaultDecorator(Fragment.PORTLET));
effectiveLayoutDefaultDecorator = concretePage.getEffectiveDefaultDecorator(Fragment.LAYOUT); effectivePortletDefaultDecorator = concretePage.getEffectiveDefaultDecorator(Fragment.PORTLET);