Hi everyone,
I have a problem with embeding Orbeon form by using ORBEON.fr.API.embedForm.
Simply code html:
<html>
<head>
<script type="text/javascript" src="/orbeon/xforms-server/baseline.js?updates=fr"></script>
</head>
<body class="orbeon">form:
<form method="post" action="/">
<div id="f" class="orbeon" style="width:100px;height:600px"></div>
</form>
<script>
ORBEON.fr.API.embedForm(
document.getElementById('f'),
"/orbeon",
"wniosek",
"andrzej-test",
"new");
</script>
</body>
</html>
Redirect in .htaccess is placed, the orbeon form display on the page but there are a few problems:
It's look like that:
Bottom part of the page:
On the console there are one problem:
while other many js files are read correctly.
Button "Save" doesn't work too. Do not do any action.
When I run URL of the new form which this script execute, the form is displayed correctly and all button actions work properly.
Embeded form doesn't work properly. Where could be the problem?
Thanks form help.