Package ariba.ui.aribaweb.core

Examples of ariba.ui.aribaweb.core.AWComponentReference$BoundReference


        // recording & playback
        // provide a better semantic key
    protected AWBinding _debugPrimaryBinding ()
    {
        AWBinding primaryBinding = null;
        AWComponentReference componentRef = componentReference();

        if (componentRef != null) {
            AWComponent parent = parent();
            primaryBinding = componentRef.bindingForName(BindingNames.action, parent);
            if (primaryBinding == null) {
                primaryBinding = componentRef.bindingForName(BindingNames.pageName, parent);
            }
        }
        return primaryBinding;
    }
View Full Code Here


    }

    protected AWBinding _debugPrimaryBinding ()
    {
        AWBinding primaryBinding = null;
        AWComponentReference componentRef = componentReference();

        if (componentRef != null) {
            primaryBinding = bindingForName(AWBindingNames.selection, false);
            if (primaryBinding == null) {
                primaryBinding = bindingForName(AWBindingNames.action, false);
View Full Code Here

        }
    }

    public AWResponseGenerating invokeAction(AWRequestContext requestContext, AWComponent component)
    {
        AWComponentReference selectedTab = _selectedTab;
       
        if (PerformanceState.threadStateEnabled() && selectedTab != null) {
            AWBinding labelBinding = _selectedTab.bindingForName(BindingNames.label);
            PerformanceState.getThisThreadHashtable().setSourceArea(labelBinding._bindingDescription());
        }
View Full Code Here

        Backtracking
      -----------------------------------------------------------------------*/

    public Object restoreFromBacktrackState (Object backtrackState)
    {
        AWComponentReference currentlySelectedTab = _selectedTab;
        AWComponentReference tab = (AWComponentReference)backtrackState;
        _currentIndex = AWUtil.indexOfIdentical(tabs(), tab);
        setSelectedTab(tab);
        return currentlySelectedTab;
    }
View Full Code Here

        // An invisible tab is passed as null, not eliminated from the list.  We need the
        // list to stay the same length so that stateful components will remain in the
        // same place.
        if (_hasVisibleBindings) {
            for (int index = _allTabs.length - 1; index > -1; index--) {
                AWComponentReference currentTab = _allTabs[index];
                AWBinding isVisibleBinding = currentTab.bindingForName(AWBindingNames.isVisible);
                visibleTabs[index] = (isVisibleBinding == null || component.booleanValueForBinding(isVisibleBinding)) ?
                    currentTab : null;
            }
        }
    }
View Full Code Here

TOP

Related Classes of ariba.ui.aribaweb.core.AWComponentReference$BoundReference

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.