Package ariba.ui.aribaweb.util

Examples of ariba.ui.aribaweb.util.AWEnvironmentStack.peek()


    static final void setClientSideConfirmation (AWRequestContext requestContext,
                                                 AWEncodedString confirmationId)
    {
        AWEnvironmentStack env = requestContext.pageComponent().env();

        List idList= (List)env.peek(ClientSideConfirmationIdList);
        if (idList == null) {
            idList = ListUtil.list();
            env.push(Confirmation.ClientSideConfirmationIdList, idList);
        }
        idList.add(confirmationId);
View Full Code Here


        if (page == null)
            return null;

        AWEnvironmentStack env = page.env();

        Object awInputId = env.peek(AWLabel.awinputId);
        if (awInputId == null) {
            return null;
        }

        Assert.that((awInputId instanceof AWInputId), "Expected ariba.ui.aribaweb.core.AWInputId for awinputId. Received: %s", awInputId.getClass().getName());
View Full Code Here

    }

    public static UIMeta.UIContext peekContext (AWComponent component)
    {
        AWEnvironmentStack env = component.env();
        return (UIMeta.UIContext)env.peek(EnvKey);
    }

    public void init (String tagName, Map bindingsHashtable)
    {
        _valueMapBinding = (AWBinding)bindingsHashtable.remove(ValueMapBindingKey);
View Full Code Here

    protected boolean pushPop (boolean isPush, boolean needCleanup,
                               AWComponent component)
    {
        boolean didCreate = false;
        AWEnvironmentStack env = component.env();
        Context context = (Context)env.peek(EnvKey);
        Assert.that(isPush || context != null, "Should always have context on pop");
        boolean forceCreate = isPush && (_pushNewContextBinding != null && _pushNewContextBinding.booleanValue(component) );
        if (context == null || forceCreate) {
            UIMeta meta = UIMeta.getInstance();
            context = meta.newContext();
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.