Examples of booleanValueForBinding()


Examples of ariba.ui.aribaweb.core.AWComponent.booleanValueForBinding()

    public boolean evaluateCondition (AWRequestContext requestContext)
    {
        // defer to binding, if one was passed on the <BasicPageWrapper>
        AWComponent parent = requestContext.getCurrentComponent().parent();
        if (parent.hasBinding(BindingNames.isSidebarVisible)) {
            return parent.booleanValueForBinding(BindingNames.isSidebarVisible);
        }
        WidgetsSessionState state = WidgetsSessionState.get(requestContext);
        return state.isSidebarVisible();
    }
}
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWComponent.booleanValueForBinding()

{
    public boolean evaluateCondition (AWRequestContext requestContext)
    {
        AWComponent pageWrapper = PageWrapper.instance(requestContext.getCurrentComponent());
        if (pageWrapper.hasBinding(BindingNames.isNavigationBarVisible)) {
            return pageWrapper.booleanValueForBinding(BindingNames.isNavigationBarVisible);
        }
        return true;
    }
}
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWComponent.booleanValueForBinding()

    public boolean evaluateCondition (AWRequestContext requestContext)
    {
        // defer to binding, if one was passed on the <BasicPageWrapper>
        AWComponent parent = requestContext.getCurrentComponent().parent();
        if (parent.hasBinding(BindingNames.hasSidebarNotch)) {
            return parent.booleanValueForBinding(BindingNames.hasSidebarNotch);
        }
        if (requestContext.session(false) != null) {
            WidgetsSessionState state = WidgetsSessionState.get(requestContext);
            return state.hasSidebarNotch();
        }
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWComponent.booleanValueForBinding()

        AWComponent parentComponent = requestContext().getCurrentComponent().parent();
        while (parentComponent != null && !(parentComponent instanceof PageWrapper) ) {
            parentComponent = parentComponent.parent();
        }
        if (parentComponent != null) {
            disableHome = parentComponent.booleanValueForBinding(
                                ariba.ui.widgets.BindingNames.disableHomeAction);
        }
        if (!disableHome) disableHome = MetaNavTabBar.getState(session()).getModules().size() == 0;
       
        // temporary check for login page
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWComponent.booleanValueForBinding()

        AWComponent parentComponent = requestContext.getCurrentComponent().parent();
        if (!(parentComponent instanceof PageWrapper)) {
            parentComponent = parentComponent.parent();
        }
        boolean disableHome =
            parentComponent.booleanValueForBinding(BindingNames.disableHomeAction);

        return disableHome;
    }
}
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWComponent.booleanValueForBinding()

    {
        AWComponent parentComponent = requestContext.getCurrentComponent().parent();
        if (!(parentComponent instanceof PageWrapper)) {
            parentComponent = parentComponent.parent();
        }
        return parentComponent.booleanValueForBinding(BindingNames.disableHelpAction);
    }
}
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.