Package ariba.ui.meta.core

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


    public void search ()
    {
        if (errorManager().checkErrorsAndEnableDisplay()) return;
        Predicate pred = Predicate.fromKeyValueMap(_searchMap);
        Context context = MetaContext.currentContext(this);
        String className = (String)context.values().get(UIMeta.KeyClass);
        QuerySpecification spec = new QuerySpecification(className, pred);

        context.push();
        context.setScopeKey(UIMeta.KeyClass);
        spec.setUseTextIndex(pred != null
View Full Code Here


    {
        super.init();
        _displayGroup = new AWTDisplayGroup();

        Context context = MetaContext.currentContext(this);
        String field = (String)context.values().get(UIMeta.KeyField);
        DetailDataSource dataSource =  new DetailDataSource (null, field);

        _displayGroup.setDataSource(dataSource);
    }
View Full Code Here

    }

    public void prepareForGlobal ()
    {
        Context context = MetaContext.currentContext(this);
        _isGlobal = booleanValueForBinding("showGlobal", context.values().get(UIMeta.KeyClass) == null);
        if (_isGlobal) {
            MetaContext.currentContext(this);
            MetaNavTabBar.getState(session()).assignCurrentModuleContext(context);
        }
View Full Code Here

    }

    public void initClass ()
    {
        Context context = MetaContext.currentContext(this);
        _className = (String)context.values().get(ObjectMeta.KeyClass);
        String zonePath = UIMeta.getInstance().zonePath(context);
        _zonePath = (zonePath == null) ? null : zonePath.concat(".");

        _editManager = EditManager.activeEditManager(UIMeta.getInstance(), session());
View Full Code Here

        _editManager = EditManager.activeEditManager(UIMeta.getInstance(), session());

        // register validation callback if necessary
        Boolean editing = (Boolean)context.propertyForKey(UIMeta.KeyEditing);
        if (editing != null && editing.booleanValue()) {
            _object = context.values().get("object");
            _contextSnapshot = context.snapshot();
            // ToDo: Need to change error manager not to add dups
            errorManager().registerFullValidationHandler(this);
        }
    }
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.