1

在 Rally SDK 2 中,我制作了一个标签选择器,然后将其添加到容器中。它呈现正常,但是当用户点击下拉箭头时,控制台报告错误(Uncaught TypeError: Object # has no method 'getContextPath')并且标签选择器不允许用户选择标签(每隔一次,但是,它们已列出)。

        this.tag_picker = Ext.create('Rally.ui.picker.TagPicker', {
            width: 275,
            fieldLabel: "Tags: ",
            allowBlank: true,
            minHeight: 100,
            autoExpand: true
        });
        this.down('#big_box').add( this.tag_picker );
4

1 回答 1

0

查询首选项键以确定是否应显示工具提示并尝试使用 Rally.getContextPath() 构建请求 URL 时存在错误。作为一种解决方法,您可以将 toolTipPreferenceKey 设置为 undefined (toolTipPreferenceKey: undefined) 以避免看到此错误。

于 2012-06-22T19:33:19.530 回答