Package ariba.ui.meta.core

Examples of ariba.ui.meta.core.Context.meta()


                    ctx.set(e.getKey(), e.getValue()[0]);
                }
            }
            ctx.set(UIMeta.KeyAction, action);
            if (page != null) ctx.set("page", page);
            _actionResults = ((UIMeta)ctx.meta()).fireAction(ctx, requestContext());
            _actionTarget = (String)ctx.propertyForKey("linkTarget");
            ctx.pop();
        } else {
            // static URL -- initialize action target
            Context ctx = MetaContext.currentContext(this);
View Full Code Here


    public List<ItemProperties> actionCategories ()
    {
        if (!_isGlobal) {
            Context context = MetaContext.currentContext(this);
            UIMeta meta = (UIMeta)context.meta();
            context.push();
            _actionsByCategory = new HashMap();
            List<ItemProperties> categories = meta.actionsByCategory(context, _actionsByCategory, UIMeta.ActionZones);
            context.pop();
            return categories;
View Full Code Here

    public AWResponseGenerating actionClicked ()
    {
        // if (_isGlobal) return MetaNavTabBar.getState(session()).fireAction(_action, requestContext());
        Context context = MetaContext.currentContext(this);
        UIMeta meta = (UIMeta)context.meta();
        return meta.fireAction(_action, context, requestContext());
    }
}
View Full Code Here

    }

    public void renderResponse (AWRequestContext requestContext, AWComponent component)
    {
        Context context = MetaContext.currentContext(this);
        UIMeta meta = (UIMeta)context.meta();
        _allLayouts = meta.itemList(context, UIMeta.KeyLayout, zones());

        super.renderResponse(requestContext, component);
    }
View Full Code Here

    public List<ItemProperties> allLayouts ()
    {
        if (_allLayouts == null) {
            Context context = MetaContext.currentContext(this);
            UIMeta meta = (UIMeta)context.meta();
            _allLayouts = meta.itemList(context, UIMeta.KeyLayout, zones());
        }
        return _allLayouts;
    }
View Full Code Here

    public Map<String, Object> layoutsByZones ()
    {
        if (_layoutsByZones == null) {
            Context context = MetaContext.currentContext(this);
            UIMeta meta = (UIMeta)context.meta();
            _layoutsByZones =  meta.itemsByZones(context, UIMeta.KeyLayout, zones());
        }
        return _layoutsByZones;
    }
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.