Package com.volantis.mcs.protocols.widgets.renderers

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


            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

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.