Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/480.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Rally SDK 2 tagpicker是否有必填字段?对象没有方法“getContextPath”_Javascript_Rally - Fatal编程技术网

Javascript Rally SDK 2 tagpicker是否有必填字段?对象没有方法“getContextPath”

Javascript Rally SDK 2 tagpicker是否有必填字段?对象没有方法“getContextPath”,javascript,rally,Javascript,Rally,在Rally SDK 2中,我创建了一个标记选择器,然后将其添加到容器中。它呈现ok,但当用户点击下拉箭头时,控制台会报告一个错误UncaughtTypeError:Object没有“getContextPath”方法,并且标记选择器不允许用户每隔一次拾取标记,尽管标记已列出 this.tag_picker = Ext.create('Rally.ui.picker.TagPicker', { width: 275, fieldLa

在Rally SDK 2中,我创建了一个标记选择器,然后将其添加到容器中。它呈现ok,但当用户点击下拉箭头时,控制台会报告一个错误UncaughtTypeError:Object没有“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 );

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