我正在尝试将Oracle Forms与Javascript集成,并使用Oracle的这个文档作为指南:
http://docs.oracle.com/cd/E23943_01/web.1111/e10240/javascript.htm
我遇到第6.2节的问题,它说:
“document.forms_applet.raiseEvent(event_name,payload);
这里假设您已将ID配置变量设置为forms_applet。“
我不知道如何设置ID配置变量。 有谁知道如何做到这一点? Google似乎没有太大的帮助,而且对我来说,Oracle doco太模糊了。
谢谢
I'm trying to integrate Oracle Forms with Javascript and am using this documentation from Oracle as a guide:
http://docs.oracle.com/cd/E23943_01/web.1111/e10240/javascript.htm
I'm having trouble with section 6.2 where it says:
"document.forms_applet.raiseEvent(event_name, payload);
The assumption here is that you have set the ID configuration variable to forms_applet."
I don't know how to set the ID configuration variable. Does anyone know how to do this? Google didn't seem to be very much help and the Oracle doco was too vague for me.
Thanks
最满意答案
我找到了在哪里设置表单的ID。 它位于标签内的applet定义中。
<OBJECT classid="cldis:DAEID" codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#version=1,6,0,12" WIDTH="1000" HEIGHT="800" HSPACE="0" VSPACE="0" ID="forms_applet">然后在更改ID之后,我可以在我的javascript中执行以下操作:
document.forms_applet.raiseEvent("myEvent", "My string for the event");I found where to set the ID of the form. It's in the applet definition inside the tag.
<OBJECT classid="cldis:DAEID" codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#version=1,6,0,12" WIDTH="1000" HEIGHT="800" HSPACE="0" VSPACE="0" ID="forms_applet">Then after changing the ID I can do things in my javascript like:
document.forms_applet.raiseEvent("myEvent", "My string for the event");更多推荐
发布评论