Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.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
从XPages全局删除Dojo_Xpages - Fatal编程技术网

从XPages全局删除Dojo

从XPages全局删除Dojo,xpages,Xpages,在和它的解释设置 xsp.client.script.libraries=none 在xsp.properties文件中 我这样做了,但得到了以下错误 它在Domino8.5.3FP2上运行 有什么原因吗?您还需要禁用资源聚合: xsp.resources.aggregate=false 我找到了解决办法。 首先是xsp.properties中的这个设置 xsp.resources.aggregate=true 如果设置为false,则还可以使用 xsp.client.script.lib

在和它的解释设置

xsp.client.script.libraries=none

在xsp.properties文件中

我这样做了,但得到了以下错误

它在Domino8.5.3FP2上运行


有什么原因吗?

您还需要禁用资源聚合:

xsp.resources.aggregate=false
我找到了解决办法。 首先是xsp.properties中的这个设置

xsp.resources.aggregate=true
如果设置为false,则还可以使用

xsp.client.script.libraries=none
页面上不再有错误。 html现在看起来像这样

<!DOCTYPE html>
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
</head>
<body>
<span id="view:label1">Test</span></body>
</html>

试验