Remove Dojo from XPages globally

2020-07-24 05:00发布

At http://www.dominoguru.com/pages/11182010085538.html and http://dpastov.blogspot.dk/2011/01/trying-to-get-full-control-over-xpage.html it's explained to set

xsp.client.script.libraries=none

in the xsp.properties file.

I did so but got the following error then

http://pastebin.com/9qiUVPri

It's running on Domino 8.5.3FP2

Any ideas for what reason?

标签: xpages
2条回答
家丑人穷心不美
2楼-- · 2020-07-24 05:10

You need to disable the resource aggregation too:

xsp.resources.aggregate=false
查看更多
放我归山
3楼-- · 2020-07-24 05:13

I got a solution. First thing is this setting in the xsp.properties

xsp.resources.aggregate=true

If it is set to false, then one can use also

xsp.client.script.libraries=none

No Errors any more on the page. The html now looks like this

<!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>
查看更多
登录 后发表回答