Package ariba.ui.aribaweb.util

Examples of ariba.ui.aribaweb.util.AWStringDictionary


                    trace.popElementId();
                }
            }
        }
        if (otherBindings != null) {
            AWStringDictionary otherBindingsValues = (AWStringDictionary)otherBindings.value(component);
            if (otherBindingsValues != null) {
                for (int index = otherBindingsValues.size() - 1; index >= 0; index--) {
                    AWEncodedString currentBindingName = otherBindingsValues.nameAt(index);
                    AWEncodedString currentBindingValue = otherBindingsValues.elementAt(index);

                    // translate any "on..." handlers
                    String bindingString = currentBindingName.string();
                    AWEncodedString translatedBinding;
                    if (bindingString.startsWith("on") && (translatedBinding = (AWEncodedString)_TranslatedBindings.get(bindingString)) != null) {
View Full Code Here


        return _fragmentIdentifier;
    }

    public AWStringDictionary otherBindingsValues ()
    {
        AWStringDictionary otherBindingsValues = super.otherBindingsValues();
        if (_scrollToVisible) {
            if (otherBindingsValues == null) {
                otherBindingsValues = page().otherBindingsValuesScratch();
            }
            otherBindingsValues.put(BindingNames.name, fragmentIdentifier());
        }
        return otherBindingsValues;
    }
View Full Code Here

            // This merges otherBindings from the parent with other
            // bindings bound to this component giving preference to the
            // parent's bindings (allow parent to override child).
            // Is this *always* what we want, or do we need to allow
            // developers to decide how to merge things?
        AWStringDictionary otherBindingsValues = (AWStringDictionary)
            ((_otherBindingsBinding == null) ?
            valueForBinding(AWBindingNames.otherBindings) :
            valueForBinding(_otherBindingsBinding));
        AWBindingDictionary bindingDictionary = _componentReference.otherBindings();
        if (bindingDictionary != null) {
            if (otherBindingsValues == null) {
                otherBindingsValues = _page.otherBindingsValuesScratch();
            }
            for (int index = (bindingDictionary.size() - 1); index >= 0;index--) {
                AWEncodedString currentBindingName = bindingDictionary.nameAt(index);
                AWBinding currentBinding = bindingDictionary.elementAt(index);
                AWEncodedString currentBindingValue = encodedStringValueForBinding(currentBinding);
                if (currentBindingValue != null) {
                    otherBindingsValues.putIfIdenticalKeyAbsent(currentBindingName, currentBindingValue);
                }
            }
        }
        return otherBindingsValues;
    }
View Full Code Here

    }

    public AWStringDictionary otherBindingsValuesScratch ()
    {
        if (_otherBindingsValues == null) {
            _otherBindingsValues = new AWStringDictionary();
        }
        else {
            // no need to clear here as long as the genericElement removes all keys, but to be safe.
            _otherBindingsValues.clear();
        }
View Full Code Here

TOP

Related Classes of ariba.ui.aribaweb.util.AWStringDictionary

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.