Javascript error openin an external window
Hi.
I'm opening an external window from my webdynpro app with the following code:
IWDWindow help = wdThis.wdGetAPI().getComponent().getWindowManager().createExternalWindow("URL",null,false);
help.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
help.removeWindowFeature(WDWindowFeature.TOOL_BAR);
help.removeWindowFeature(WDWindowFeature.MENU_BAR);
help.open();
And when this borwser opens the browser where the app is running(back) has a javascript error that says:
Line: 56
Char: 18
Error: 'childNodes.length' is null or not an object
Code: 0
URL: <my app URL>
What can i do to solve that problem?
I hope somebody can help me.
Thx.
Best regards.
Gregory.
Gregory,
As Armin says WD application should not produce JavaScript messages. So open CSN ticket.
VS
Similar Messages
-
Error in displaying external window
hi friends,
i am developing an application for sending an email
with the guidence of saptechnical
i am creating a button TO with an action
in that button i am using the following code
data lo_componentcontroller type ref to ig_componentcontroller.
lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).
lo_componentcontroller->showaddressbookpopup( ).
and in show addressbookpopup method in component controller i write the following code
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_this->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
wd_this->gr_window =
lo_window_manager->create_window(
window_name = 'Addressbookwindow'
title = 'Model Dialoug Box'
message_display_mode = if_wd_window=>co_msg_display_mode_selected
message_type = if_wd_window=>co_msg_type_none
wd_this->gr_window->open( ).
but whene ever i click on the to button i got the error as
Addressbookwindow does not exist within component
can any on help me....!
thanks in advance,
karunakarHello Karunakar,
the window name has to be in uppercase... change Addressbookwindow to ADDRESSBOOKWINDOW. And also make sure you have a window by name ADDRESSBOOKWINDOW.
BR, Saravanan -
Error while opening the external window
Hi
I am trying to open an external window on click of a button.
This is the piece of code I have written
url = "http://www.google.com";
url = java.net.URLEncoder.encode( url ) ;
String title="External Window";
//IWDWindow win=wdComponentAPI.getWindowManager().createExternalWindow(url,title ,false);
IWDWindow win=wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,title );
win.show();
//win.open();
I have tried both show() and open() method. and also createExtrenalWindow and CreateNonModalExtrenalWidnow. But I am getting the follwing error.
Application error occurred during request processing.
Details: com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'dc.gs.com/osrch' and application 'http:' are not deployed on the server. Please check the used URL for typos.
Exception id: [0017087D8739002C0000025600001B9C00045A7873FC3E52]
This is the URL it got in the external new window..
http://<host>:50000/webdynpro/dispatcher/dc.gs.com/osrch/http%3A%2F%2Fwww.google.com
I know the www.google.com is concatenating with portal URL , hence it is throwing the error.
How to get rid of the portal path
thanks
PKhi,
You can try the following code:
IWDWindowInfo info = wdComponentAPI.getComponentInfo().findInWindows("PopUpWindow");
IWDWindow window = wdComponentAPI.getWindowManager().createWindow(info , true);
window.setWindowPosition(WDWindowPos.CENTER);
wdContext.currentContextElement().setVa_win(window);
window.open();
This works fine.
Thanx. -
Javascript error in Content Admin- Portal Content- iview Navigation window
Hi friends,
We are in the process of portal migration and as a part of this, we installed NW04 SPS 14 using Rapid Installer and then upgraded it to SPS 18. The components we upgraded are:
Java component
Portal Platform
Knowledge Management and Collaboration
Adobe Document Services
BI UDI
BI MMR
After upgradation, when we logged in to portal, we were not able to see/browse Portal pages/Roles/Iviews/Worksets (PCD Contents) under Content Administration->Portal Content.
Again, whichever window is there for navigation of PCD, we are not able to see the contents of PCD.For e.g. System Administration -> System Configuration.
Does anyone know how to solve this issue?
Regards,
NilzHi nilz,
See this thread:
Getting javascript error while logging in EP
Javascript error when loading Portal Content
Regards, Suresh KB -
I can't close a window unless I shut down the computer. I get a javascript error box.
Two windows have jammed. Every time I go to close them, they throw up a long dialogue box saying "Are you sure you want to navigate away from this page?" next to a blue question mark.
Underneath that it says " JavaScript Error!"
"Press ESC to close this alert!"
When I escape, the windows are still there and I can't close them.
I've tried uninstalling Firefox and reinstalling and they are still there.
Is this just a glitch or am I infected?
I prefer to keep version 3.6.3 because I use Realplayer Browser Record Plugin and later versions don't seem to accept it.
ThanksYou can disable [[JavaScript]] temporarily and close those tabs or windows.
Tools > Options > Content : [ ] Enable JavaScript -
Close external window in NW04s
Hi,
We are using the following API in order to close an external window: TaskBinder.getCurrentTask().getClient().sendRedirect("javascript:window.close();",0);
After closing the window, the object in the backend system remain locked (and not released). it seems that the session remains alive and hence the object is locked.
If we close the window with the X of the window, the object of the backend is released as required.
As suggestions?
Thanks,
AviadHi AVIAD,
Check this.
Step 1: Take a context attribute(WindowInstance) of type com.sap.tc.webdynpro.services.session.api.IWDWindow.
Step 2: Take a CloseButton in the View(DisplayView) that is used as a embed View of external Window.
Step 3:
When you are calling the external window set WindowInstance
public void onActionDisplayExternal Window(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionDisplayResult(ServerEvent)
IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows(
"DisplayWindow");
// create the Window
IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
window.setWindowPosition(WDWindowPos.CENTER);
window.setTitle("WindowTitle");
window.setWindowSize(100,100);
// Save WindowInstance in Context
wdContext.currentContextElement().setWindowInstance(window);
// and show the window
window.show();
//wdThis.wdFirePlugInDisplay();
//@@end
Step4: Associate action CloseWindow with the CloseButton
and destroy the window instance inside it.
public void onActionCloseWindow(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionCloseWindow(ServerEvent)
IWDWindow window = wdContext.currentContextElement().getWindowInstance();
window.destroyInstance();
//@@end
External Window
Re: Exit button error...
Regards,
Mithu -
Javascript error calling a bi 7.0 webapplication from a bsp application
Hi everyone,
This is the scenario we're facing a javascript error :
Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
The html link to the bi web application is created according to this documentation :
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
Purpose of the bsp application :
in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
The process described above is :
working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
The javascript error calling bi 7.0 web applications is :
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
Message: Object doesn't support this property or method
Line: 96
Char: 11
Code: 0
URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
Is there any way to find out, what is causing this object is missing ?
Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
system components :
production system
SAP NetWeaver 7.0 Portal SP22
SAP BI 7.01 SP 7
q&a system
SAP NetWeaver 7.0 Portal SP22
SAP BI 7.01 SP 8
Kind regards.
DirkHello everyone,
we did some further analysis on this problem und we think we found the problem.
The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
Has anyone seen this before? Any ideas how we can fix this?
Kind regards,
Matthias
Edited by: Matthias Keller on Jun 9, 2011 2:07 PM -
Invalid URL Exception while opening a file using external window in webdynp
I am trying open an URL ythru external window on click of button in my webdynpro.
This is the URl I am trying to open
File://mww/Documents/Attachments/2008/10/56254/{FD803B0D-157F-47F9-A5A8-C687E1DC6B96}_break.JPG
if I try to open from a from the browser it works fine but thru webdynpro it is throwing the error.
mww is another system where the file is residing.
But I am using the same techniue in other component where I am able to open file from an external window.
File://mww/Documents/Attachments/2008/10/56254/some.jpg
The only difference in the URL is {FD803B0D-157F-47F9-A5A8-C687E1DC6B96}Since this URL is generated by another system I do not have any other aletrnative but I have live with this URL.
can some body please give some idea how to fix this
if I use java.net.URLEncoder.encode() then I am not getting any error , buit file is not opening in the browser( external window)
below is the error stack I am getting.
com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=File://mww/Documents/Attachments/2008/10/56254/{FD803B0D-157F-47F9-A5A8-C687E1DC6B96}_break.JPG
at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.checkURL(AbstractURLGenerator.java:699)
at com.sap.tc.webdynpro.services.sal.url.core.URLGeneratorInternal.checkURL(URLGeneratorInternal.java:390)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createNonModalExternalWindow(ClientComponent.java:1037)
at com.gis.dcww.findsrch.AttachmentView.onActionOpen_Attachement(AttachmentView.java:179)
at com.gis.dcww.findsrch.wdp.InternalAttachmentView.wdInvokeEventHandler(InternalAttachmentView.java:203)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
thanks
PKHi Armin, Josue
Thanks for the reply
Please note I am able to open an external window( browser ) thru my code with "File" protocol.
I have no issue opening an external window or using File protocol.
I am able to open an image/doc with a normal URL as follows
File://mww/documents/image.jpg
or
File://mww/document/temp.csv
But My URL has some system( thru Other applications ) generated charaters in it , I need get the path from DB( which I have done ) and pass this URL to the ExternalNonModalWindow as paramter.
MY code is opening successfully the external window for any URL .
but for URL which has these character { } is throwing the invalid URL error
for the below URL, I am getting the error
File://mww/Documents/Attachments/2008/10/56254/{FD803B0D-157F-47F9-A5A8-C687E1DC6B96}_break.JPG
thanks
PK
because of the flower bracket it is throwing the error.
thansk
PK -
"JavaScript Error encountered while loading HTML"
Hi,
I have been trying to embed a google map on a InDesign CC page, NO LUCK YET.
I spoke several Adobe InDesign help line people, unfortunately they couldn't solve it.
Here is the problem: I tried with different versions
1- version) I copy of a map code and paste the code on a page, shows grey square round image and nothing (no map)
2- version) From Object menu:
"Select insert HTML.."
"This is an HTML snippet."
I paste the codes into HTML box, a second later, small box message,
"JavaScript Error encountered while loading HTML"
I have 64bit 12gb ram computer with windows 8.1
InDesign CC version 9.2.1 x64
Java 7 update 51
I have tried with Internet explorer, google chrome and fire fox, and different maps, still no luck.
Can anyone solve this problem?
Thank you in advance,
atamtanYes, Google changed something and not for the better.
Try a bing map instead. They work fine. -
Javascript error when creating a new OC4J instance?
Hi
Im trying to deploy the documentum portlet, and a requirement was to install Ant, Java SDK....and i did
after that...on my Application server machine (the portal), when i login to the enterprise manager to start a new OC4j instance, my browser shows a script error in the status bar in IE 6.0.
it says: Object expected, ....and whenever i click "Create OC4j instance" the page is scrolled up to the top part of the page. so there is some kind of javascript error. how can i fix this? its stopping me from my development process.
Your help is appreciated. thanks
Faisal[b]On Windows this is caused most often by the temporary directory setting.
Change the temporary directory to some fixed directory writable by anybody, e.g. "C:\temp".
Change this in:
Registry entry: hkey_local_machine\software\oracle\key_<oashome>\REPORTS_TMP
<oashome>\opmn\conf\opmn.xml: search for environment variable TEMP (under ias-instance)
Good luck! -
Getting javascript error while accessing URL iview
Hi All,
I have created a URL iview. There is a search functionality in this iview when we search any text then it is giving javascript error (Permission Denied).
When we use the search functionality of that URL directly in the browser then it is working fine.
Please Help.The URL that is being invoked may not like running inside an IFRAME. Not all URLs work correctly as iViews
See what happens if you tell the iView to launch in a new window... -
Hi,
I am using Oracle ApEx 3.0.1 and am trying to implement the Ajax Loading animation on a report I am running. The problem though, is that I am getting a javascript error on the following line:
window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 10);Looks like in Oracle ApEx 3.0.1, I am getting the javascript error:> Uncaught ReferenceError: *$s is not defined*
What would I need to change, to get this to work with no javascript errors in Oracle ApEx version 3.0.1 ?
Thanks.
Tony.Hi,
It might be that $s function is not introduced on 3.0
Try
window.setTimeout('document.getElementById("AjaxLoading").value=document.getElementById("AjaxLoading").HTML)', 10);Regards,
Jari -
Fix for Dreamweaver CC 2014.1 JavaScript Error With All ASPX Files
Entire morning wasted.
Adobe's upgrade to Dreamweaver 2014 to 2014.1 on Windows 7 Professional has broken the product across the board and it no longer opens any .aspx pages correctly. A large number of people use .NET and now we can no longer access/use these files/pages without multiple JavaScript errors. Particularly those that have edited the MMDocumentTypes file to make the product work in the first place since they stopped supporting the users that develop in ASP.NET.
Every time a .aspx file is now opened, the following JavaScript error is received: "While executing translateCustomControl in ExternalRenderers.html, a JavaScript error occurred. Click 'close' and it appears again...over and over. Our sites are all unable to open in DW because of this. It worked fine in earlier versions of DW, including 2014. It's only 2014.1 that broke everything.
The fix for this:
1. Follow instructions on this out-of-date help file: Change, add recognized file extensions | Dreamweaver
2. (and the part that's new): The MMDocumentTypes file is located in C:\Users\*your username*\AppData\Roaming\Adobe\Dreamweaver CC\Configuration\DocumentTypes directory. Open that file and add aspx back to the <documenttype id="HTML"> declaration at the top.
I am posting this issue here in hopes that some of the users won't waste most of the day trying to figure this out.
Chris LeeHi Ivan,
I'm having that exact same problem now...in addition to that JavaScript error message coming back. I submitted a bug report last week about this and received the following reply:
Hi Chris,
We would like to let you know that we able to reproduce this issue at our end. Thanks for reporting this.
We will try to prioritize it for fixing. This might take some time. We thank you for your patience with us in this regard.
Please let us know if you need help regarding anything else. We will be more than happy to help you.
Thanks,
Arindam Ghosh
Dreamweaver Team,
Adobe Systems
Hopefully they can get this fixed soon, as it's ground my work in the software to a halt.
Chris -
Urgent: Javascript Error in Portal Navigation
Hi,
We are using EP 6.0 SP 13.
We are facing an issue of Java script error in the portal.
The areas in which the portal is affected are as follows:
1. When we open the Login page of the portal, the Font Type, Size and
formatting and the style of "Log in" button is not normal.
2. After we login, Any component that uses javascript is not working
3. Whenever we execute any BW report we are getting alert box with
message:
"Session Manager will not work!"
4. When we try to log out, again we get scripting error.
5. We are also not able to navigate in User Mangement and Content Management.
Please help as soon as possible.
Regards,
PrasadHello Prasad,
As we are talking about JavaScript errors, it is interesting to know which browser and OS you are using?
INTERNET EXPLORER 5.5 WINDOWS SERVER 2000/IA32 32BIT
Not Released
31.03.2004
INTERNET EXPLORER 6.0 WIN XP 2002 PROF. 32-BIT Released 31.03.2004
INTERNET EXPLORER 6.0 WINDOWS SERVER 2000/IA32 32BIT Released 31.03.2004
INTERNET EXPLORER 6.0 WINDOWS SERVER 2003/IA32 32BIT Released 27.06.2005
INTERNET EXPLORER 7.0 WIN XP 2002 HOME 32-BIT Released 11.12.2006
INTERNET EXPLORER 7.0 WIN XP 2002 PROF. 32-BIT Released 11.12.2006
See the for supported browsers:<a href="https://websmp205.sap-ag.de/~form/handler?_APP=00200682500000001303&_EVENT=RELEASE&00200682500000002804=01200314690900000192&00200682500000003818=WBRPFM&00200682500000003853=Enterprise%20Portal">NW2004_Browsers</a>
Greetings,
Praveen Gudapati
p.s Points are always welcome for helpful answers -
JavaScript error using UIXML to generate frames
Hello all,
I am trying to use the uix:frameBoderLayout and uix:frame elements to generate an HTML page with frames. I get a Javascript error when running the testFrame.uix in JDeveloper 9.0.3. Both MSIE and Netscape yield the same error.
The JavaScript error is:
JavaScript Error:
http://20.19.205.86:8988/pssWeb-pss-context-root/testFrame.uix,
line 1:
_checkLoad is not defined.
The HTML generated is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="ltr" lang="en-US">
<head>
<title>Property Security System Application</title>
<link rel="stylesheet" charset="UTF-8" type="text/css" href="/pssWeb-pss-context-root/cabo/styles/cache/blaf-en-netscape.css">
</head>
<body class="xc" style="background-color:#FFFFE1" onload="_checkLoad(event)" onunload="_checkUnload(event)">
<script src="/pssWeb-pss-context-root/cabo/jsLibs/MarlinCore.js">
</script>
<frameset border="0" rows="100%,*">
<frameset rows="*,0" onresize="if(!frames['_uixJS'].cached){location.reload();}">
<frameset rows="null,*,null">
<frame name="top" marginwidth="5" frameborder="0" marginheight="0" noresize src="topFrame.uix">
<frame name="center" marginwidth="5" frameborder="0" marginheight="0" noresize src="centerFrame.uix">
<frame name="bottom" marginwidth="5" frameborder="0" marginheight="0" noresize src="bottomFrame.uix">
</frameset>
<frame frameborder="0" marginwidth="0" marginheight="0" title="" name="_uixJS" noresize src="/pssWeb-pss-context-root/cabo/jsps/a.jsp?_t=jsCache">
</frameset>
<noframes>
</noframes>
</frameset>
</body>
</html>
<!-- Created by Oracle UIX 2.1.7 -->
_checkLoad is contained in the MarlinCore.js file. That file should be in cabo/jslib/ directory.
Two things strike me odd about the generated HTML code with relation to JavaScript. First, I expect to see JavaScript source files declared in the head portion. Second, the source files is declared after the onload call is made to the _checkLoad function.
The third thing that I can see possibly causing the error is that the MarlinCore.js file is not visible to the server and therefore not delivered to the browser. But I am not certain where to find the files used by the embedded OC4J server.
Is this a bug in 9.0.3?
The uix files follow. All three framed pages (topFrame.uix, centerFrame.uix and bottomFrame.uix) display nicely in the uix preview and run nicely in the embedded OC4J.
testFrame.uix
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title="Property Security System Application"/>
</metaContainer>
<contents>
<body>
<inlineStyle>
<property name="background-color">#FFFFE1</property>
</inlineStyle>
<contents>
<frameBorderLayout xmlns="http://xmlns.oracle.com/uix/ui">
<top>
<frame name="top" source="topFrame.uix">
</frame>
</top>
<center>
<frame name="center" source="centerFrame.uix">
</frame>
</center>
<bottom>
<frame name="bottom" source="bottomFrame.uix">
</frame>
</bottom>
</frameBorderLayout>
</contents>
</body>
</contents>
</document>
</contents>
</dataScope>
</content>
</page>
topFrame.uix
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<pageLayout>
<contents>
<text text ="Top frame"></text>
</contents>
</pageLayout>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
</handlers>
</page>
center Frame.uix
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<pageLayout>
<contents>
<text text="center frame"></text>
</contents>
</pageLayout>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
</handlers>
</page>
bottomFrame.uix
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<pageLayout>
<contents>
<text text="bottom frame"></text>
</contents>
</pageLayout>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
</handlers>
</page>
Your assistance is appreciated,
BillDid you create the files with JDev 903 preview or JDEV 902? If you created with JDEV 902 and upgraded your project to
903 you need to delete all the files in the cabo directory in your public_html directory. That should get rid of your
javascript errors.
Maybe you are looking for
-
i changed my sim on my iPhone n reconfigured iMessage, it configured with my number but when i sign in with my apple id it says username/password is wrong while in all other things like FaceTime, App Store it worked with the same id and password.. ca
-
Best brand to use in PC to connect to AE
Hi- I just inherited a 2 or 3 year old HP PC. Seems pretty decent. Runs XP, plenty of RAM and an upgraded graphics card. I want to hook it to my TV for some big-screen web browsing with the family. The rest of my household network is all Mac. I curre
-
AIR uses the webkit web 'server' for running HTML pages. On the http://webkit.org site, it seems to say that Perl is or was included in the AIR implementation. If Perl is included, would that allow us to do CGI calls? I'm creating some Intranet appli
-
Export to FLV / F4V from CC 2014
After updating from PrPro CC to PrPro CC 2014 (or rather from MediaEncoder CC to MediaEncoder CC 2014 i guess) the options to export your sequence to F4V and FLV has vanished. • Am I the only one missing that option? • Is there a work-around? A: No,
-
Tomcat4.0 Vs. Tomcat3.3
Tomcat4.0 Vs. Tomcat3.3, which one is more powerful more scalable, and has less bugs?