JavaScript Error on JSFF reload
Hi,
I have a fragment containing table. For capturing the double click event on table row, I have added client & server listener
<af:clientListener method="goDoubleClick" type="dblClick"/>
<af:serverListener type="doubleClickOnRow" method="#{backingBeanScope.Txn1000.doubleClickOnRow}" />
Following JavaScript function is added to JSFF.
<f:verbatim>
<![CDATA[
<script type="text/javascript">goDoubleClick = function(event) {
var source = event.getSource();
AdfCustomEvent.queue( source, "doubleClickOnRow"
, {}, true); } </script>
]]>
</f:verbatim>
When Fragment is loaded for the 1st time, everything works fine.
Next time when fragment is getting reloaded getting following script error.
Error: 'goDoubleClick' is undefined.
Help for resolving the error appreciated.
It looks like when the fragment reloads, clientlistener method got triggered but it doesn't find that (goDoubleClick) function.
Similar Messages
-
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. -
Javascript error when adding Flash movie to DWCS3
When I try to add a Flash movie to a page in DW CS3, I get
the following message:
When executing onClick Options.htm, the following Javascritp
Error(s) occurred:
At line 55 of the file "I:\Program FIles\Adobe\Adobe
Dreamweaver CS3\Configuration|Commands|Object|Object Options.js":
Cannot fine the file I:\Program FIles\Adobe\Adobe|adobe
Dreamweaver CS3\Configuration\Shared\Common\Cache\Empty.htm.
At line 55 of the file "I:\Program FIles\Adobe\Adobe
Dreamweaver CS3\Configuration\Commands\Object Options.js":
getDocumentDOM: Argument number 1 is invalid.
If I click through the error messages, I finally get the
movie on the page and it seems to display okay in IE6 ahd FX.
I don't get the error when I load a Flash movie if I use DW
8.
Do I need to reload DWCS3? Or is there a fix that I can
download. It seems to be a problem with DWCS3.
Regards,
Bill SchaepeTroubleshooting JavaScript errors in Dreamweaver
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"TurboBill" <[email protected]> wrote in
message
news:flrsjd$6kh$[email protected]..
> When I try to add a Flash movie to a page in DW CS3, I
get the following
> message:
>
> When executing onClick Options.htm, the following
Javascritp Error(s)
> occurred:
>
> At line 55 of the file "I:\Program FIles\Adobe\Adobe
Dreamweaver
> CS3\Configuration|Commands|Object|Object Options.js":
> Cannot fine the file I:\Program FIles\Adobe\Adobe|adobe
Dreamweaver
> CS3\Configuration\Shared\Common\Cache\Empty.htm.
>
> At line 55 of the file "I:\Program FIles\Adobe\Adobe
Dreamweaver
> CS3\Configuration\Commands\Object Options.js":
getDocumentDOM: Argument
> number
> 1 is invalid.
>
> If I click through the error messages, I finally get the
movie on the page
> and
> it seems to display okay in IE6 ahd FX.
>
> I don't get the error when I load a Flash movie if I use
DW 8.
>
> Do I need to reload DWCS3? Or is there a fix that I can
download. It
> seems
> to be a problem with DWCS3.
>
>
> Regards,
> Bill Schaepe
>
> -
JavaScript error on Dreamweaver 8
I am getting an error message using dreamweaver 8.02 and
yoursql/mysql (MAMP). The message is : While executing
getSetupSteps in Connections.htm, the following JavaScript error(s)
ocurred: At line 857 of the file "J.Rodolfo Rodriguez's Macintosh
HD: Applications: Macromedia Dreamweaver 8: Configuration: Shared:
Common: Scripts: dwscripts.js": TypeError: theStr has no properties
I am using the the dual hardcore for MacBook. Please give me
some advice. Already, I erased and reloaded the dreamweaver folder.
I am going to reinstall the Mac os software. See if that works....
Sincerely,
RodolfoTroubleshooting JavaScript errors in Dreamweaver
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"JavaScript error" <[email protected]> wrote
in message
news:eqtm36$1o2$[email protected]..
>
> I am getting an error message using dreamweaver 8.02 and
yoursql/mysql
> (MAMP).
> The message is : While executing getSetupSteps in
Connections.htm, the
> following JavaScript error(s) ocurred: At line 857 of
the file "J.Rodolfo
> Rodriguez's Macintosh HD: Applications: Macromedia
Dreamweaver 8:
> Configuration: Shared: Common: Scripts: dwscripts.js":
TypeError: theStr
> has no
> properties
>
> I am using the the dual hardcore for MacBook. Please
give me some advice.
> Already, I erased and reloaded the dreamweaver folder. I
am going to
> reinstall
> the Mac os software. See if that works....
>
> Sincerely,
>
> Rodolfo
>
> -
Javascript error message upon opening gmail only in firefox
I get a javascript error message (Error: embeds[i].attributes.getNamedItem("src") is null) upon opening gmail, but only only in firefox, not in safari. I had firefox ver. 16.0.2 installed, then downgraded to 15.0.1, but I still get the message. I have an old macbook pro, OS10.5.8 -- can't go any higher. How can I resolve this?
Thank you.I checked Gmail with a Firefox 16 version and it still works.
You can try these steps in case of issues with web pages:
You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
*Hold down the Shift key and left-click the Reload button
*Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
*Press "Command + Shift + R" (Mac)
Clear the cache and remove cookies only from websites that cause problems.
"Clear the Cache":
*Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*Firefox > Preferences > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Javascript error with f:subview and jsp:include
Hi,
I have tried to include one jsp page with jsf components into another jsp page with jsf components. But somehow I get a Javascript error.
I have of course included the jsp:include into an f:subview like this:
<f:subview id="tree" rendered="#{tabsBacker.treeRendered}">
<jsp:include page="mission.jsp" />
</f:subview>In mission.jsp, all non-jsf tags are surrounded by f:verbatim tags (otherwise, JBoss would complain anyway).
The Javascript error says: "elements.form1:_link_hidden_ is null".
"form1" is the name of the form in my jsp page which includes the other one.
As soon as I remove the jsp:include thing, everything works fine. The include happens in a t:panelTabbedPane, and (probably as a result of the javascript error), the tab where the included page should be shown, can't be displayed. I can click on the tab, the page is reloaded, but nothing else happens.
The error occurs in IE and in Firefox.
Can anyone help me to solve this problem??
Kind regards,
WiebkeIt's just a jsp fragment file. Here's the start of the jspf included above:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx" %>
<f:subview id="browseForm">
<table class="box" width="100%">
<tr>
<td><h:outputText value="#{labels.someValue}" styleClass="smalltitle"/></td>
</tr>And so on. This was just done to stop the jsp files becoming too long, I think. So the subview tag is included in the jspf file rather than around the jsp file as you have it.
Illu -
Getting javascript error while selecting the Recipients in OBIEE delivers.
Hi All,
I am working on OBIEE from quite a long time, but recently I came across a error while selecting the Recipients in Recipients list of OBIEE delivers.
Making it more comprehensive, when I try to create an ibot , after entering all necessary information when I select Recipients in Recipients list and click on ok. I get a JavaScript error "null" is null or an object. The surprising thing is when i select cancel it works as ok.
Any help will be highly appreciated
Thanks,
Jyoti
Message was edited by:
user616430I think you dont have a field named /BIC/XXXXXX in the table from which you are trying to fetch the data. Chech the spelling of the field name and table name.
-
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 -
Dreamweaver 6 launch error - JavaScript error bcinit
Hi
I have DW6 latest version running on Win XP SP3 and am all of a sudden getting the strangest bug (I have reported it), but I am wondering if anyone else has seen it or has any ideas how to fix it?
FYI I have already tried completely uninstalling Creative Cloud, rebooting, running the Creative Clean utility to remove all traces of any suite and then reinstalling Creative Cloud (takes hours ) and still have the same problem which is as follows below (FWIW I have never used BusinessCatalyst, either):
I launch DW and get the following error message "While executing onLoad in BusinessCatalyst.htm, the following JavaScript error(s) occurred: In file "BusinessCatalyst": bcinit is not defined"
When I try to open a file I get the following error message "The following translators were no loaded due to errors: ASP.NET: has configuration information that is invalid. BCDynamicTranslator.html: has configuration data that is invalid. BCStaticTranslator.html has configuration information that is invalid. XSLTransform.htm: has configuration data that is invalid"
Once I clear the dialog DW loads. However, when I attempt to save a file I then get the message "While executing onLoad in _beforeSave.htm, the following JavaScript error(s) occurred: In file "_beforeSave": beforeSave is not defined"
In addition, the space in the Help menu for Updates is simply blank and there is no Edit > Paste item either (just an empty space).
One other clue is that after I reinstalled Creative Cloud and BEFORE I applied the latest updates it seemed DW ran OK (it was a quick check, so I might be wrong).
The problems above are rendering DW unuseable to me at the moment, and it is totally bizarre they remain after a complete reinstall, so any clues on what has happened/how to fix it would be greatfully received!
Thanks!Hi John
So many thanks for that. I tried step 4 and deleted 2 WinFileCache files (neither of which were called what they said they were) and restarted DW and it now (so far!) seems to work again.
I have no idea what went wrong, but I am up and running again, so MUCHOS thanks again for your swift repsonse!
atb -
Dreamweaver 6.1 - JavaScript error when switching between open tabs
When switching between open tabs a sequence of javascript
errors occurs. I had not used Dreamweaver for about 2 weeks, and
last time I used it with no problems.
I have tried uninstalling it, OKing removal of all files when
asked, re-installing it and updating with dwmx61_updater.exe, but I
still get the same errors.
This has rendered the software virtually unuseable, so any
help would be greatly appreciated, as I'm working to a
rapidly-approaching deadline.
"While executing Browse_Back enabled in toolbars.xml, a
JavaScript error occurred"
followed by
"While executing Browse_Forward enabled in toolbars.xml, a
JavaScript error occurred"
followed by
"While executing Browse_Stop enabled in toolbars.xml, a
JavaScript error occurred"
The relevant code seems to be :
<!-- Browser nav toolbar -->
<toolbar id="Browser_Toolbar" platform="win"
label="Browser Navigation" container="document"
initiallyVisible="false">
<button id="Browse_Back"
image="Toolbars/images/MM/back.gif"
disabledImage="Toolbars/images/MM/back_dis.gif"
tooltip="Back"
label="Back"
enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
command="dw.getDocumentDOM().browser.backPage()"
update="onEveryIdle"/>
<button id="Browse_Forward"
image="Toolbars/images/MM/forward.gif"
disabledImage="Toolbars/images/MM/forward_dis.gif"
tooltip="Forward"
label="Forward"
enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
command="dw.getDocumentDOM().browser.forwardPage()"
update="onEveryIdle"/>
<button id="Browse_Stop"
image="Toolbars/images/MM/stop.gif"
disabledImage="Toolbars/images/MM/stop_dis.gif"
tooltip="Stop"
label="Stop"
enabled="dw.getDocumentDOM().browser.getPageBusy()"
command="dw.getDocumentDOM().browser.stopPage()"
update="onBrowserPageBusyChange"/>
<button id="Browse_Refresh"
image="Toolbars/images/MM/browserRefresh.gif"
tooltip="Refresh"
label="Refresh"
enabled="true"
command="dw.getDocumentDOM().browser.refreshPage()"/>
presumably the next error is caused by the previous ones
failing :
"While executing getCurrentValue in AddressURL.htm, a
JavaScript error occurred"
the relevan tcode :
function getCurrentValue()
var dom = dw.getDocumentDOM();
var value = dom.browser.getURL();
if (value && value.length)
//check if is it not a temp file
//extract the tail of the url
var filename = value;
var slashIndex = filename.lastIndexOf("/");
filename = filename.substring(slashIndex+1);
var tempIndex = filename.indexOf("TMP");
if (tempIndex != 0)
addRecentAddress(value);
return value;You can try this simple fix -
Quit DW.
Find this folder -
C:\Documents and Settings\<username>\Application
Data\Macromedia\Dreamweaver
8\Configuration\WinFileCache-*.dat
(these folders are normally hidden - you may have to use
Explorer > Tools >
Folder Options to unhide them)
and delete it.
Restart DW. Works better?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"earthdoctor" <[email protected]> wrote in
message
news:[email protected]...
> When switching between open tabs a sequence of
javascript errors occurs. I
> had
> not used Dreamweaver for about 2 weeks, and last time I
used it with no
> problems.
>
> I have tried uninstalling it, OKing removal of all files
when asked,
> re-installing it and updating with dwmx61_updater.exe,
but I still get the
> same
> errors.
>
> This has rendered the software virtually unuseable, so
any help would be
> greatly appreciated, as I'm working to a
rapidly-approaching deadline.
>
>
> "While executing Browse_Back enabled in toolbars.xml, a
JavaScript error
> occurred"
> followed by
> "While executing Browse_Forward enabled in toolbars.xml,
a JavaScript
> error
> occurred"
> followed by
> "While executing Browse_Stop enabled in toolbars.xml, a
JavaScript error
> occurred"
>
> The relevant code seems to be :
>
> <!-- Browser nav toolbar -->
>
> <toolbar id="Browser_Toolbar" platform="win"
label="Browser
> Navigation"
> container="document" initiallyVisible="false">
>
> <button id="Browse_Back"
> image="Toolbars/images/MM/back.gif"
> disabledImage="Toolbars/images/MM/back_dis.gif"
> tooltip="Back"
> label="Back"
>
enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
> command="dw.getDocumentDOM().browser.backPage()"
> update="onEveryIdle"/>
>
> <button id="Browse_Forward"
> image="Toolbars/images/MM/forward.gif"
> disabledImage="Toolbars/images/MM/forward_dis.gif"
> tooltip="Forward"
> label="Forward"
>
enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
> command="dw.getDocumentDOM().browser.forwardPage()"
> update="onEveryIdle"/>
>
> <button id="Browse_Stop"
> image="Toolbars/images/MM/stop.gif"
> disabledImage="Toolbars/images/MM/stop_dis.gif"
> tooltip="Stop"
> label="Stop"
> enabled="dw.getDocumentDOM().browser.getPageBusy()"
> command="dw.getDocumentDOM().browser.stopPage()"
> update="onBrowserPageBusyChange"/>
>
> <button id="Browse_Refresh"
> image="Toolbars/images/MM/browserRefresh.gif"
> tooltip="Refresh"
> label="Refresh"
> enabled="true"
> command="dw.getDocumentDOM().browser.refreshPage()"/>
>
>
>
> presumably the next error is caused by the previous ones
failing :
>
> "While executing getCurrentValue in AddressURL.htm, a
JavaScript error
> occurred"
> the relevan tcode :
>
>
> function getCurrentValue()
> {
> var dom = dw.getDocumentDOM();
> var value = dom.browser.getURL();
> if (value && value.length)
> {
> //check if is it not a temp file
> //extract the tail of the url
> var filename = value;
> var slashIndex = filename.lastIndexOf("/");
> filename = filename.substring(slashIndex+1);
> var tempIndex = filename.indexOf("TMP");
> if (tempIndex != 0)
> {
> addRecentAddress(value);
> }
> }
> return value;
> }
>
> -
On my iPad 2 I can nolonger view maps. It says there are JavaScript errors. How can I fix this problem?
First, try a system reset. It cures many ills and it's quick, easy and harmless...
Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo. Ignore the "Slide to power off" text if it appears. You will not lose any apps, data, music, movies, settings, etc.
If the Reset doesn't work, try a Restore. Note that it's nowhere near as quick as a Reset. Connect via cable to the computer that you use for sync. From iTunes, select the iPad/iPod and then select the Summary tab. Follow directions for Restore and be sure to say "yes" to the backup. You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod. Again, say "yes." -
Report Viewer Javascript error
I have a good report that works great if I export to pdf.
objdoc.ExportToDisk (ExportFormatType.PortableDocFormat, "c: \ \ testreport.pdf");
When I load the CrystalReportViewer
CrystalReportViewer1.ReportSource = objdoc;
returns a javascript error:
TreeWidget_getHTML JScript
file:
allinOne.js
this instruction:
to for (var D in E) {B [C + +] = E [D]. getHTML (F.initialIndent, D == 0)
because b[c++] is undefined for some values ...
The only problem I have when I load the report in the ReportViewer.
The old crystalreportviewer 10.0.53 works on VS2008 now i like import this aspx on VS2010 but i have this problem.Is there any resolution for the above issue?
I have the similar problem.
To reproduce the error just add a reference to a js script file in the page head:
<script src="/Scripts/ClassExtentions.js" type="text/jscript"></script>
where the Array prototype has an extension like: "Array.prototype.testing = true;"
on loading the page an error occurs in treeview.js TreeWidget_getHTML() function:
..sub[i].getHTML < is undefined (Object doesn't support this property or method) = no getHTML function.
Verifying function (prototype property) availability is missing from other code parts as the next error is in palette.js PaletteWidget_init function:
..item.init() < is undefined = no init function for the runtime object, item..
tryed this fix (works fine):
treeview.js line 711
for (var i in sub)
if (sub[i].getHTML) a[j++]=sub[i].getHTML(o.initialIndent,i==0)
best regards, Zsolt -
JavaScript error on Interactive Report
When clicking on the Magnifying glass of my interactive report search bar, I receive a JavaScript error.
Line: 2 Char: 15193 Error: Syntax Error
The page that I am navigating to has 2 regions. The first is an interactive report and the second is an html region that has an Iframe reference to another interactive report. Based upon the selection of a radio group, the corresponding region(interactive report) displays. All other interactive reports work fine when their pages don't have a region with a Iframe reference.
If I navigate to another page after the error occurs and then come back to the page, everything then works fine. The error only happens on the first use. I have installed the latest patch set for Apex 3.2 I currently am running 3.2.1.00.11. I read a bug on Metalink that referenced this javascript error, but applying the patch set does not seem to fix the issue. The bug was 8568894.
Any help would be appreciated.This might be useful for others also...
After hours and hours of debugging headers and responses and comparing pages to others which work, I realised that this interactive report's display condition is based on REQUEST = SUBMIT.
As such, the actions menu will NOT set the Request parameter when clicking in the actions menu and the Apex engine refuses to send anything back to the browser - not even an error message.
I'll raise a bug for this via Oracle Support.
Cheers, Pete -
This only happens whenever I try to access code view, and it won't allow me to add any more code. This is the error message I get:
"While executing DWMenu_View_Text command in menus.xml, the following JavaScript error(s) occurred:
Exception thrown in native function"
A third party tried to access my site, but the page froze, with an error message:
"Script error on line........."
I'm not sure if this has something to do with FileZilla, but now when I try to open it, I get number of error messages about, "failed to write xml file" and "Application Data\FileZilla\filezilla.xml (error 5: access is denied.)"
I've tried deleting the WinFileCache from Dreamweaver and disabled all extensions, but none of these helped.
Please help. does anyone know what's going on?I've never heard of a Filezilla DW extension, but this is the KB article for you:
http://kb2.adobe.com/cps/405/kb405604.html -
Javascript error when opening Tag editor
I have been using dreamweaver 8 for the last month or so. all
of a sudden a couple of days a go it started to give me the same
error every time i right clicked an input element and clicked the
'Tag Edit <Input>'.
The error reads
"While executing onLoad in input.htm, a JavaScript error
occurred."
Any ideas?
I have already tried the repair option in Add/Remove
Programs, and that didnt work
I then tried the Remove option, and then completely
reinstalled it to no prevail
Thankyou for any suggestions you may haveSee if this helps:
Troubleshooting JavaScript errors in Dreamweaver
http://www.adobe.com/go/19105
Nadia
Adobe® Community Expert : Dreamweaver
CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
~ Customisation Service Available ~
http://www.csstemplates.com.au
CSS Tutorials for Dreamweaver
http://www.adobe.com/devnet/dreamweaver/css.html
"Jay6390" <[email protected]> wrote in
message
news:esqm83$if1$[email protected]..
>I have been using dreamweaver 8 for the last month or so.
all of a sudden a
> couple of days a go it started to give me the same error
every time i
> right
> clicked an input element and clicked the 'Tag Edit
<Input>'.
>
> The error reads
> "While executing onLoad in input.htm, a JavaScript error
occurred."
>
> Any ideas?
> I have already tried the repair option in Add/Remove
Programs, and that
> didnt
> work
> I then tried the Remove option, and then completely
reinstalled it to no
> prevail
>
> Thankyou for any suggestions you may have
>
Maybe you are looking for
-
How do you connect mac to pc?
i have mac and a pc in my room and was wondering how i could transfer files on my pc to mac....?is there anyway of doing this by connecting the two?how do you do that? thanks!!! HAPPY HOLIDAYS^^
-
Setting parameter in Detail View Object
I want to setting parameter in detail view.I have two table.One is master another is detail.I use parameter in master table so I put my page parameter form and I execute it.It work fine.I want to use parameter in detail table.In detail table if I don
-
How best can i optimise this script
I have a script the loops through a table and function. it works fine but it takes a longer time complete even though resources are given. the code below is just the same code i used how best can i represent it for speed even though i have all resour
-
Load data from file extremely slow due to refresh
Hi I am loading a data from a csv file to an existing table in a PeopleSoft schema on Oracle 11G. The process works fine except that it takes an extremely long time. I suspect that this is because SQL Developer is refreshing the table list on the lef
-
Hi, first at all, sorry by my poor english. I wanted to install the 10g and self-study guide that Oracle sent me in the mail. The install requires a registration key, made available at oracle.com. After filling in all the forms required to register,