Package ariba.ui.aribaweb.core

Examples of ariba.ui.aribaweb.core.AWBinding


    {
        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


    public AWElement determineInstance (String elementName, Map bindingsHashtable, String templateName, int lineNumber)
    {
        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);
    }
View Full Code Here

    protected void processBindings (String prefix, AWBinding[] bindings, FastStringBuffer buf)
    {
        int i = bindings.length;
        while (i-- > 0) {
            AWBinding binding = bindings[i];
            Log.aribaweb.debug("------- binding: %s", binding.bindingName());

            if (binding instanceof AWBinding.ExpressionBinding) {
                processExpressionBinding(prefix, (AWBinding.ExpressionBinding)binding, buf);
            }
        }
View Full Code Here

    {
        if (_displayGroup.dataSource() != null) {
            _displayGroup.checkDataSource();
        }
        else {
            AWBinding listBinding = bindingForName(AWBindingNames.list);
            if (listBinding != null) {
                Object list = valueForBinding(listBinding);
                _displayGroup.checkObjectArray (list);
            }
        }
View Full Code Here

        return (showOptionsMenu() || showNavigationBar() || showButtonColumns()) && (_exportState == EXPORT_NONE);
    }

    public boolean showColumnLabelWhenGrouping ()
    {
        AWBinding binding = bindingForName(BindingNames.showColumnLabelWhenGrouping);
        return (binding == null) ? true : booleanValueForBinding(binding);
    }
View Full Code Here

    }

    public String awname ()
    {
        String awname = null;
        AWBinding binding = bindingForName(BindingNames.displayGroup);
        if (binding == null) {
            binding = bindingForName(BindingNames.list);
        }
        if (binding != null) {
            awname = AWRecordingManager.actionEffectiveKeyPathInComponent(binding, parent());
View Full Code Here

    private static final String AllowSwitch = "allowSwitch";
    private static final String TemplateName = AWComponentDefinition.computeTemplateName(TabSet.class);

    protected boolean canSwitch ()
    {
        AWBinding binding = bindingForName(AllowSwitch);
        if (binding != null) {
            return booleanValueForBinding(binding);
        } else {
            AWComponent r = AWNavigation.requestNavigation(this, AWNavigation.Hide);
            return (r == null);
View Full Code Here

    public void renderResponse(AWRequestContext requestContext, AWComponent component)
    {
        _object = valueForBinding("object");
        if (_object == null) _object = parent();

        AWBinding listBinding = bindingForName(AWBindingNames.list);
        Object choiceSource;
        if (listBinding != null) {
            _list = (List)valueForBinding(listBinding);
            if (_list == null) _list = ListUtil.list();
            choiceSource = _list;
View Full Code Here

        return booleanValueForBinding(BindingNames.enableScrolling) && scrollingAllowed(requestContext());
    }

    public Object leftPos ()
    {
        AWBinding lp = bindingForName("leftPos");
        return lp != null ? valueForBinding(lp) : Constants.getInteger(0);
    }
View Full Code Here

TOP

Related Classes of ariba.ui.aribaweb.core.AWBinding

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.