Package ariba.ui.aribaweb.core

Examples of ariba.ui.aribaweb.core.AWBinding.stringValue()


    {
        AWBinding filenameBinding = (AWBinding)bindingsHashtable.remove(BindingNames.filename);
        if (!filenameBinding.isConstantValue()) {
            throw new AWGenericException(getClass().getName() + ": \"filename\" binding must be constant.");
        }
        String filename = filenameBinding.stringValue(null);
        AWMultiLocaleResourceManager resourceManager = AWConcreteApplication.SharedInstance.resourceManager();
        AWImageInfo imageInfo = resourceManager.imageInfoForName(filename);
        String imageUrl = imageUrl(imageInfo, filename);
        AWEncodedString width = widthString(bindingsHashtable, imageInfo);
        AWEncodedString height = heightString(bindingsHashtable, imageInfo);
View Full Code Here


            fastStringBuffer.append(" height=\"");
            fastStringBuffer.append(heightString);
            fastStringBuffer.append("\"");
        }
        AWBinding borderBinding = (AWBinding)bindingsHashtable.remove(BindingNames.border);
        String borderString = (borderBinding != null) ? borderBinding.stringValue(null) : "0";
        if (borderString != null) {
            fastStringBuffer.append(" border=\"");
            fastStringBuffer.append(borderString);
            fastStringBuffer.append("\"");
        }
View Full Code Here

        for (int index = bindingsDictionary.size() - 1; index >= 0; index--) {
            String bindingName = bindingsDictionary.keyAt(index);
            // bindingNames are uniqued, so its okay to use '!=' to compare these.
            if (bindingName != AWBindingNames.semanticKeyBindingName()) {
                AWBinding binding = bindingsDictionary.elementAt(index);
                String stringValue = binding.stringValue(null);
                if (stringValue != null) {
                    fastStringBuffer.append(" ");
                    fastStringBuffer.append(bindingName);
                    if ((stringValue != BindingNames.awstandalone) && !stringValue.equals(BindingNames.awstandalone)) {
                        if (AWUtil.contains(stringValue, '"')) {
View Full Code Here

    {
        AWElement imageElement = null;
        boolean isStaticImageName = false;
        AWBinding filenameBinding = (AWBinding)bindingsHashtable.get(BindingNames.filename);
        if ((filenameBinding != null) && (filenameBinding.isConstantValue())) {
            String filename = filenameBinding.stringValue(null);
            if (AWUtil.contains(StaticImageNames, filename)) {
                isStaticImageName = true;
            }
        }
        if (!isStaticImageName || AWBinding.hasDynamicBindings(bindingsHashtable)) {
View Full Code Here

    private String _name;

    public void init (String tagName, Map bindingsHashtable)
    {
        AWBinding nameBinding = (AWBinding)bindingsHashtable.remove(AWBindingNames.name);
        _name = nameBinding.stringValue(null);
        super.init(tagName, bindingsHashtable);
    }

    public String name ()
    {
View Full Code Here

        _sortOrderingBinding = (AWBinding)bindingsHashtable.remove("sortOrdering");
        _noGroupBinding = (AWBinding)bindingsHashtable.remove("nogroup");

        AWBinding binding = (AWBinding)bindingsHashtable.remove(AWBindingNames.key);
        if (binding != null) {
            String keyString = binding.stringValue(null);
            if (keyString != null) {
                _keyPath = FieldPath.sharedFieldPath(keyString);
            }
        }
View Full Code Here

            }
        }

        binding = (AWBinding)bindingsHashtable.remove("uniquingKeyPath");
        if (binding != null) {
            setUniquingKeyPath(binding.stringValue(null));
        }
       
        _alignBinding = (AWBinding)bindingsHashtable.remove("align");
        _vAlignmentBinding = (AWBinding)bindingsHashtable.remove("valign");
        _actionBinding = (AWBinding)bindingsHashtable.remove(AWBindingNames.action);
View Full Code Here

    }

    public String columnVAlignment ()
    {
        AWBinding binding = thisColumn()._vAlignmentBinding;
        String alignment = (binding == null) ? null : binding.stringValue(parent());
        return (alignment!=null) ? alignment : _table.globalVAlignment();
    }

    public Object cc_align ()
    {
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.