Package com.volantis.mcs.protocols.widgets.internal.attributes

Examples of com.volantis.mcs.protocols.widgets.internal.attributes.BlockContentAttributes


        require(WidgetScriptModules.CE_SLIDE, protocol, attributes);
        require(WidgetScriptModules.CE_PULSATE, protocol, attributes);

        // Render internal BlockContent widget which will contain a content of
        // the page.
        BlockContentAttributes blockContentAttributes = new BlockContentAttributes();
       
        blockContentAttributes.setId(protocol.getMarinerPageContext().generateUniqueFCID());
       
        renderWidgetOpen(protocol, blockContentAttributes);
       
        // Render internal EffectBlock widget, which would be used to show/hide
        // content of a page. Make the page initially invisible by setting
View Full Code Here


            (EffectBlockAttributes) getCurrentAttributes(protocol);
       
        renderWidgetClose(protocol, effectBlockAttributes);

        // Render closure of the BlockContent widget.
        BlockContentAttributes blockContentAttributes =
            (BlockContentAttributes) getCurrentAttributes(protocol);

        renderWidgetClose(protocol, blockContentAttributes);

        // Prepare Javascript content to render.
        StringBuffer buffer = new StringBuffer();
       
        if (attributes.getId() != null) {
            buffer.append(createJavaScriptWidgetRegistrationOpening(attributes.getId()));

            addCreatedWidgetId(attributes.getId());
        }
       
        buffer.append("new Widget.DeckPage(")
            .append(createJavaScriptWidgetReference(blockContentAttributes.getId()))
            .append(", ")
            .append(createJavaScriptString(effectBlockAttributes.getId()))
            .append(",{})");
       
        addUsedWidgetId(blockContentAttributes.getId());
       
        if (attributes.getId() != null) {
            buffer.append(createJavaScriptWidgetRegistrationClosure());
        }
       
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.widgets.internal.attributes.BlockContentAttributes

Copyright © 2018 www.massapicom. 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.