Package ariba.ui.aribaweb.core

Examples of ariba.ui.aribaweb.core.AWResponseGenerating


        return AWComponentActionRequestHandler.SharedInstance.urlWithSenderId(requestContext(), _elementId);
    }

    public AWResponseGenerating getFramePage ()
    {
        AWResponseGenerating actionResults = null;
        AWBinding pageNameBinding = null;
        AWBinding actionBinding = null;
        if ((pageNameBinding = bindingForName(BindingNames.pageName)) == null &&
                (actionBinding = bindingForName(BindingNames.action)) == null) {
            actionResults = (AWResponseGenerating)valueForBinding(BindingNames.value);
View Full Code Here


        return useAnnotationType;
    }

    public AWResponseGenerating click (AWRequestContext requestContext, AWComponent returnPage)
    {
        AWResponseGenerating page = null;
        if (isTestLink()) {
            page = testLinkClick(requestContext);
        }
        else if (isTestStager() || isTestTearDownStager()) {
            page = testStagerClick(requestContext, returnPage);
View Full Code Here

        return page;
    }

    private AWResponseGenerating testStagerClick (AWRequestContext requestContext, AWComponent returnPage)
    {
        AWResponseGenerating page = returnPage;
        if (_annotatedItem.getClass() == Method.class) {
            Method m = (Method) _annotatedItem;

            TestLinkClickCallback testLinkClickCallback =
                TestLinkManager.instance().getTestLinkClickCallback();
            if (testLinkClickCallback != null) {
                AWResponseGenerating nextPage = testLinkClickCallback.click(
                    requestContext, this, returnPage);
                if (nextPage != null) {
                    page = nextPage;
                }
            }
View Full Code Here

        }
    }

    private AWResponseGenerating testLinkClick (AWRequestContext requestContext)
    {
        AWResponseGenerating page = null;

        TestContext testContext = TestContext.getTestContext(requestContext);
        TestSessionSetup testSessionSetup = TestLinkManager.instance().getTestSessionSetup();
        // If this is a test link, then either call pageForName
        // otherwise, call pageForName, invoke the method specified.
View Full Code Here

    public AWResponseGenerating invokeAction(AWRequestContext requestContext, AWComponent component)
    {
        // if they make a selection, then show files
        AWTDisplayGroup displayGroup = currentDisplayGroup();
        boolean hadSelection = (displayGroup.selectedObject() != null);
        AWResponseGenerating result =  super.invokeAction(requestContext, component);
        if (!hadSelection && (displayGroup.selectedObject() != null)) setShowingFileContents(true);
        return result;
    }
View Full Code Here

    public AWResponseGenerating currentClicked ()
    {
        String url = _matcher.group(1);
        setValueForBinding(url, "actionUrl");
        String target = currentTarget();
        AWResponseGenerating response = (AWResponseGenerating)valueForBinding(AWBindingNames.action);
        if (response == null) {
            response = HTMLActions.handleAction(url, target, this);
        }
        return response;
    }
View Full Code Here

    {
        getMRU(session(), componentReference()).updateMRUForKey(_currentTab.label);
        // invalidate list...
        _all = null;
        setValueForBinding(_nextTab.item, AWBindingNames.selection);
        AWResponseGenerating response = (AWResponseGenerating)valueForBinding(AWBindingNames.action);
        if (response == null || response == pageComponent()) {
            _selectedTab = _nextTab;
            recordBacktrackState(_selectedTab);
        }
        return response;
View Full Code Here

            context.setRequestContext(requestContext);
            context.push();
            context.set(UIMeta.KeyModule, _selectedModule.name());
            String className = (String)action.properties().get(UIMeta.KeyClass);
            if (className != null) context.set(UIMeta.KeyClass, className);
            AWResponseGenerating response =  meta.fireAction(action, context, requestContext);
            context.pop();
            return response;
        }
View Full Code Here

    }

    public AWResponseGenerating invokeAction (AWRequestContext requestContext, AWComponent component)
    {
        pushErrorManager();
        AWResponseGenerating result = super.invokeAction(requestContext, component);
        popErrorManager();
        return result;
    }
View Full Code Here

    public AWResponseGenerating downloadContentAction ()
    {
        if (_hasCompleteAction) {
            requestContext().setResponseCompleteCallback(new FileDownloadCallback(session()));
        }
        AWResponseGenerating action = (AWResponseGenerating)
                valueForBinding(AWBindingNames.action);
        return action;
    }
View Full Code Here

TOP

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

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.