Examples of AWBinding


Examples of ariba.ui.aribaweb.core.AWBinding

        return lp != null ? valueForBinding(lp) : Constants.getInteger(0);
    }

    public void setLeftPos (int val)
    {
        AWBinding lp = bindingForName("leftPos");
        if (lp != null) {
            setValueForBinding(val, lp);
        }
    }
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

    }

    private int stepIndex ()
    {
        if (_stepIndex == UninitializedStepIndex) {
            AWBinding stepIndex = bindingForName(BindingNames.stepIndex);
            if (stepIndex != null) {
                _stepIndex = intValueForBinding(stepIndex);
            }
            else {
                _stepIndex = NonNumberedStep;
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

        }
    }

    public boolean hasSubsteps ()
    {
        AWBinding hasSubsteps = bindingForName(BindingNames.hasSubsteps);
        if (hasSubsteps != null) {
            return booleanValueForBinding(hasSubsteps);
        }
            // By default if we have any content, it must be Substeps
        return componentReference().contentElement() != null;
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

        return SupportedBindingNames;
    }

    public void init ()
    {
        AWBinding binding = bindingForName(fileFilter);
        if (binding != null) {
            _fileFilter = (FileFilter)valueForBinding(binding);
        }
        else {
            binding = bindingForName(filenameFilter);
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

    }

    public AWComponent selectClicked ()
    {
        setValueForBinding(_currentFile, BindingNames.selection);
        AWBinding action = bindingForName(BindingNames.action);
        return (AWComponent)action.value(parent());
    }
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

        super.awake();
        _list = valueForBinding("list");
        _count = OrderedList.get(_list).size(_list);
        _indexBinding = bindingForName("index");

        AWBinding binding = bindingForName("count");
        _maxCount = (binding == null) ? _count : intValueForBinding(binding);
        if (_maxCount > _count) _maxCount = _count;
    }
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

        Bindings
      -----------------------------------------------------------------------*/

    public boolean isExpanded ()
    {
        AWBinding binding = bindingForName(BindingNames.state);
        if (binding != null) {
            _isExpanded = booleanValueForBinding(binding);
        }

        return _isExpanded;
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

                    }
                }
            }

            for (int index = bindings.size() - 1; index >= 0; index--) {
                AWBinding currentBinding = bindings.elementAt(index);
                Object value = currentBinding.value(component);
                String key = bindings.keyAt(index);
                context.set(key, value);
            }

            if (scopeKey != null) context.setScopeKey(scopeKey);
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

    protected Map addBindingsForNewReference (AWComponent component, Map result, Map <String, Object> more)
    {
        if (more != null) {
            for (Map.Entry <String, Object> entry : more.entrySet()) {
                AWBinding binding;
                Object value = entry.getValue();
                if (value instanceof FieldPath) {
                    if (((FieldPath)value).car().equals("component")) {
                        binding = AWBinding.bindingWithNameAndKeyPath(entry.getKey(),
                                ((FieldPath)value).cdr().fieldPathString());
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBinding

    }

    protected AWElement createContentElement (AWComponent component, Map newBindingsHashtable,
                                              AWApplication application)
    {
        AWBinding contentLayoutsBinding = (AWBinding)newBindingsHashtable.remove("awcontentLayouts");
        if (contentLayoutsBinding != null) {
            Map<String, String> contentToLayout = (Map)contentLayoutsBinding.value(component);
            if (!MapUtil.nullOrEmptyMap(contentToLayout)) {
                String name;
                if (contentToLayout.size() == 1 && ((name = contentToLayout.get("_main")) != null)) {
                    return createLayoutInclude(name);
                } else {
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.