Examples of renderOpen()


Examples of com.volantis.mcs.protocols.gallery.renderers.ElementRenderer.renderOpen()

            ElementRenderer renderer = getElementRenderer(context);
            if (null == renderer){
                // Do fallback if ticker is not supported by the protocol
                return doFallbackOpen(context, attributes);       
            }
            renderer.renderOpen(getProtocol(context), protocolAttributes);
           
            if (!renderer.shouldRenderContents(getProtocol(context), protocolAttributes)) {
                return XDIMEResult.SKIP_ELEMENT_BODY;
            }
        } catch (ProtocolException e) {
View Full Code Here

Examples of com.volantis.mcs.protocols.ticker.renderers.ElementRenderer.renderOpen()

            ElementRenderer renderer = getElementRenderer(context);
            if (null == renderer){
                // Do fallback if ticker is not supported by the protocol
                return doFallbackOpen(context, attributes);       
            }
            renderer.renderOpen(getProtocol(context), (TickerAttributes)protocolAttributes);
            if (!renderer.shouldRenderContents(getProtocol(context), (TickerAttributes)protocolAttributes)) {
                return XDIMEResult.SKIP_ELEMENT_BODY;
            }
        } catch (ProtocolException e) {
            LOGGER.error("rendering-error", getTagName(), e);
View Full Code Here

Examples of com.volantis.mcs.protocols.widgets.renderers.TabsRenderer.renderOpen()

            // This is necessary to switch page buffers for contents/labels
            // in the renderer.
            ((TabsAttributes)protocolAttributes)
                    .setPageContext(getPageContext(context));
           
            tabsRenderer.renderOpen(
                    getProtocol(context),
                    (WidgetAttributes)protocolAttributes);
           
            MarinerPageContext pageContext = getPageContext(context);       
View Full Code Here

Examples of com.volantis.mcs.protocols.widgets.renderers.WidgetRenderer.renderOpen()

            WidgetRenderer widgetRenderer = getWidgetRenderer(context);
            if (null == widgetRenderer){
                // Do fallback if widget is not supported by the protocol
                return doFallbackOpen(context, attributes);       
            }
            widgetRenderer.renderOpen(getProtocol(context), (WidgetAttributes)protocolAttributes);
            if (!widgetRenderer.shouldRenderContents(getProtocol(context), (WidgetAttributes)protocolAttributes)) {
                return XDIMEResult.SKIP_ELEMENT_BODY;
            }
        } catch (ProtocolException e) {
            logger.error("rendering-error", getTagName(), e);
View Full Code Here

Examples of com.volantis.mcs.protocols.widgets.renderers.WidgetRenderer.renderOpen()

            WidgetModule widgetModule = protocol.getWidgetModule();
           
            try {
                WidgetRenderer renderer =
                    widgetModule.getWidgetRenderer(buttonAttributes);
                renderer.renderOpen(protocol, buttonAttributes);
            } catch (ProtocolException e) {
                throw new XDIMEException(e);
            }
        }
        return super.callOpenOnProtocol(context, attributes);
View Full Code Here

Examples of com.volantis.mcs.protocols.widgets.renderers.WizardRenderer.renderOpen()

        try {       
            WizardRenderer wizardRenderer = widgetModule.getWizardRenderer();
            if (null == wizardRenderer){
                return XDIMEResult.SKIP_ELEMENT_BODY;      
            }           
            wizardRenderer.renderOpen(getProtocol(context), (WidgetAttributes)protocolAttributes);           
        } catch (ProtocolException e) {
            logger.error("rendering-error", getTagName(), e);
   
            throw new XDIMEException(exceptionLocalizer.format(
                "rendering-error", getTagName()), e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.