【问题标题】:TypeError: d is undefined in OBIEE11gTypeError: d 在 OBIEE11g 中未定义
【发布时间】:2015-12-28 05:42:58
【问题描述】:

我想在 OBIEE 11g 中为不同的提示使用单个按钮。 我用文字写了这段代码:

<DIV CLASS = "XUIPromptEntry minibuttonOn">
<input class="button" type = "button" value = "Apply" onclick='javascript:
    try
    {
        var x = 0;
        var aElm=PromptManager.getPromptManager().getAllPromptCollectionJSON();
        for(var i = 0; i < aElm.length;i ++ )
                    {
                    for(var j = 0; j < aElm[i].promptSteps[0].prompts.length;j ++ )
                                {
                                var promptid = aElm[i].promptSteps[0].prompts[j].promptStreamID;
                                var g = null;
                                var h = PromptManager.getPromptManager().getPromptCollectionInfoWithViewID(aElm[i].viewStatePath);
                                if(h)
                                            {
                                            try
                                                        {
                                                        var b = h.getAllPromptExprsArray();
                                                        if( ! h.verifyPromptValuesAndDisplayError(b))
                                                                    {
                                                                    return;
                                                                    }
                                                        g = PromptManager.buildPromptExprGivenExpr("", b);
                                                        }
                                            catch(f)
                                                        {
                                                        alert(f);
                                                        return;
                                                        }
                                            }
                                }
                    x++;
                    }
        x--;
        PromptManager.submitPrompt(aElm[x].viewStatePath, true,"PromptFinish", g)
    }
    catch(e) {alert("Apply ALL Button Exception" + e.description);}' ></input> 
<input class="button" type = "button"  value = "Clear" ONCLICK = 'return PersonalizationEditor.removeDefaultSelection(false)' > </input>
<div/>

但我收到此错误: 类型错误:d 未定义

【问题讨论】:

    标签: obiee


    【解决方案1】:

    尝试注释这部分代码

    if( ! h.verifyPromptValuesAndDisplayError(b))                                                                   
    { return; }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-01-27
      • 1970-01-01
      • 2018-06-01
      • 2020-06-02
      • 2020-09-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多