Orbeon JavaScript Embedding error: `ORBEON.xforms.server.AjaxServer.Event is not a constructor`
Orbeon JavaScript Embedding error: `ORBEON.xforms.server.AjaxServer.Event is not a constructor`
我正在尝试使用 JavaScript Orbeon 嵌入 API。设置转发后*(我希望是正确的,我先有 404,然后是 CORS 错误)现在表单已嵌入到页面中但表单不起作用,单击任何 control/button 都会导致错误
ORBEON.xforms.server.AjaxServer.Event is not a constructor
.
更具体地说,单击下一页按钮会在控制台中产生:
xforms.js:2399
⌄ Uncaught TypeError: ORBEON.xforms.server.AjaxServer.Event is not a constructor
at HTMLDocument.focus (xforms.js:2399)
focus @ xforms.js:2399
---
xforms.js:2722
⌄ Uncaught TypeError: ORBEON.xforms.server.AjaxServer.Event is not a constructor
at HTMLDocument.click (xforms.js:2722)
click @ xforms.js:2722
* 转发是这样设置的:
<VirtualHost *:443>
....
SSLProxyEngine on
RewriteEngine on
RewriteRule "^/orbeon/(.+)" "https://orbeon.server.ip/orbeon/" [P,L]
JS Embedding API Limitations状态,即
oxf.xforms.combine-resources
must be set to true
(在properties-local.xml
)
我正在尝试使用 JavaScript Orbeon 嵌入 API。设置转发后*(我希望是正确的,我先有 404,然后是 CORS 错误)现在表单已嵌入到页面中但表单不起作用,单击任何 control/button 都会导致错误
ORBEON.xforms.server.AjaxServer.Event is not a constructor
.
更具体地说,单击下一页按钮会在控制台中产生:
xforms.js:2399
⌄ Uncaught TypeError: ORBEON.xforms.server.AjaxServer.Event is not a constructor
at HTMLDocument.focus (xforms.js:2399)
focus @ xforms.js:2399
---
xforms.js:2722
⌄ Uncaught TypeError: ORBEON.xforms.server.AjaxServer.Event is not a constructor
at HTMLDocument.click (xforms.js:2722)
click @ xforms.js:2722
* 转发是这样设置的:
<VirtualHost *:443>
....
SSLProxyEngine on
RewriteEngine on
RewriteRule "^/orbeon/(.+)" "https://orbeon.server.ip/orbeon/" [P,L]
JS Embedding API Limitations状态,即
oxf.xforms.combine-resources
must be set totrue
(在properties-local.xml
)