Package com.volantis.mcs.protocols.gallery.attributes

Examples of com.volantis.mcs.protocols.gallery.attributes.ItemsAttributes


       
        if (!isWidgetSupported(protocol)) {
            return;
        }

        ItemsAttributes itemsAttributes = (ItemsAttributes) attributes;

        boolean insideWidgetResponse = (itemsAttributes.getCount() != null);
       
        if (!insideWidgetResponse) {
            renderOpenForWidget(protocol, itemsAttributes);
        } else {
            renderOpenForResponse(protocol, itemsAttributes);
View Full Code Here


        if (!isWidgetSupported(protocol)) {
            return;
        }

        ItemsAttributes itemsAttributes = (ItemsAttributes) attributes;

        // require AJAX script module
        if ( itemsAttributes.getLoadAttributes() != null) {
            require(WidgetScriptModules.BASE_AJAX, protocol, attributes);
        }

        boolean insideWidgetResponse = (itemsAttributes.getCount() != null);

        if (!insideWidgetResponse) {
            renderCloseForWidget(protocol, itemsAttributes);
        } else {
            renderCloseForResponse(protocol, itemsAttributes);
View Full Code Here

public class ItemsElement extends BaseGalleryElement implements Loadable {
   
    public ItemsElement(XDIMEContextInternal context){
        super(GalleryElements.ITEMS, context);
        protocolAttributes = new ItemsAttributes();
    }
View Full Code Here

        return ((ItemsAttributes)protocolAttributes);
    }
    // Javadoc inherited
    protected void initialiseElementSpecificAttributes(XDIMEContextInternal context, XDIMEAttributes attributes) throws XDIMEException {
        ItemsAttributes itemsAttributes = (ItemsAttributes) protocolAttributes;
       
        itemsAttributes.setCount(attributes.getValue("", "count"));
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.gallery.attributes.ItemsAttributes

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.