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,
Bill

Did 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.

Similar Messages

  • Javascript errors using Checkpoint Mobile Access VPN: Workaround needed

    Hi,
    We are currently in the process of upgrading from APEX 3.2 to 4.2.1 at our organization. We are done with fixing all applications and tests have been successful so far.
    However we are facing one issue when we use applications by passing through a web proxy called Checkpoint Mobile Access VPN. The issue never occured in APEX 3.2 when using this proxy.
    Before explaining the issue here is a quick description of how this proxy works. I first authenticate through the proxy's login page. Once authenticated, there is a list of shortcuts I can choose to access our Portal.
    From the portal, I then have links to my APEX applications (APEX authentication is done with Oracle Single-sign-on).
    The proxy modifies all URLs to something like this:
    https://my-proxy-host/axess/Web/pls/apex/f,CVPNHost=my-apex-host,CVPNProtocol=http,CVPNOrg=rel?p=10001:101:2345777452066514
    It also modifies HTML content and javascript libraries in order to work with its translated URLs (and maybe for some other reasons which I don't know). In javascript files, it replaces some functions and variables with some of its own.
    Now here is the issue. This javascript rewriting causes a syntax error to occur in desktop_all.min.js , more precisely in the code that concerns apex.security . This causes all apex and jquery functions to break.
    To investigate deeper, I removed the #APEX_JAVASCRIPT# placeholder in a template and included one by one all the uncompressed libraries that are used by desktop_all.min.js .
    This resolved the issue.
    After this I tried to include again all the same libraries but in their minified version. I then got the issue back. After searching a bit I realized that the issue is located in security.min.js .
    The minified version of the library has a syntax error but the uncompressed version works well.
    I analyzed the syntax error and it's caused by the proxy that closes a parenthesis at the wrong place. I've never had this kind of javascript rewriting issue before but the proxy software definitely failed in this case.
    I understand that the error is caused by the proxy software and has nothing to do with APEX. However I need to put a workaround in place since we have no choice of using the proxy in many situations.
    -Does anyone here ever got or heard about this issue? If yes, did you find a workaround?
    -I may have found my own workaround and would like to know your opinion on it:
    I took the uncompressed security.js file and minified it with a tool found on internet. The result code is different from the one bundled with APEX.
    I then refered to this new file in my template and had no error this time.
    What I finally did is edit desktop_all.min.js and replace the line concerning apex.security with my new file. It seems to work quite well.
    I know it's not a good approach to overwrite files provided by APEX like this but I would prefer this than including all the dozens of files.
    I would like to keep #APEX_JAVASCRIPT# so APEX continues controlling which libraries to include.
    What do you think about this? Maybe is there something similar that would be a better approach?
    Thanks in advance

    Hello
    I have similar problem - difference is just in using PPTP instead of VPN client but basicaly it is the same setup.
    Simply ip local policy doesn't work when you have some encrypted traffic.
    Can you post your configuration for the internet-redirect-rmap route map.
    I have tried with match gre protocols and ports 1723 for pptp but it simply doesn't work so I am wondering is this even feasible on cisco router.
    Dusan

  • Error using XSQL to generate RSS feeds on Unix

    I`m using an XSQL file used with a stylesheet to render an RSS 2.0 feed.
    RSS readers can pick the feed up successfully when I used a Windows based Oracle Application server installation but not when it was migrated to a Unix based server.
    Both servers do successfuly render the RSS feed into Internet Explorer as raw XML which looks identical.
    Any ideas?

    Check the content type of the response comming from your Unix server. There may be a different content type value for one of the HTTP header, which have some impact on your RSS reader.
    Using FireFox is another way to see if there are subtille differences in the responses that IE does not detect.
    Hope this helps,
    Eric

  • Javascript errors when loading ADF app

    We are running two ADF applications in a weblogic server with ADF 11.1.2.3 patches. Out of these two applications, users intermittently encounter javascript error using either IE 8, IE 9, or Firefox in http mode at first screen.  We only recently started testing https, so we do not know if the error will occur with https – however, it needs to work in both modes.  This error sometimes goes away by clearing the cache and sometimes goes away over time.   The front page for the two applications are essentially the same.  We investigated and diagnosed  (through IE developer tool) is that the JS files containing the core ADF JavaScript libraries are not being downloaded completely (this is same for other static files including image files).  Also could notice that these incomplete files  took a much longer time to download (16ms) when compared to others(<1ms) of same size.
    The issue may be related to : https://forums.oracle.com/thread/1558474. as the error messages shown here are almost the same especially those with ADF Javsacript API missing.

    Can you try restarting the server once. We resolved this issue by restarting the server and clearing and restting the browesr to the defaults.

  • Frame timeout error using Configure Trigger3.vi

    Hi all,
    I'm triggering the frame capture of an .avi with an RTSI connection.  However, I keep getting a frame timeout error when I use the IMAQ Configure Trigger3.vi.  I don't get any timeout errors when I just use the IMAQ Generate Pulse3.vi but I am trying to sync the frame capture to an optical switch.  If I just use IMAQ Generate Pulse3.vi, I get a .avi but the frames are completely out of sync with the switch, but if I use both IMAQ Generate Pulse3.vi  and Configure Trigger3.vi I get nicely separated images but it takes an age and ends up in a timeout error.
    I want to capture e.g. 500 frames, over the course of 2 s - so I've set my frame timeout to be 2000.   At my current acquisition rate (31680 Hz per line (1024 pixels)) 500 frames corresponds to a total of 1.578 s (images are 100 pxls in height).  This is much less than the total scanning time.  Where am I going wrong?
    Thanks in advance for your help.
    Miika
    Attachments:
    screen.png ‏32 KB

    Hey Miika
    What are the hardware you are using. These vi's only work with specific hardware and this may be why they are not functioning correctly. For example the Configure trigger3 vi only works with the following PCIe-1427, PCIe-1429, PCe-1430, PCIe-1433.
    Matthew Trott
    Applications Engineer
    National Instruments UK
    www.ni.com/ask

  • Javascript error generated on localization of detailed navigation links.

    I m working on an application in EP KM and doing localization. when I log in with language user I m getting javascript error.
    error comes when I click on the link in detailed navigation. All the detailed navigation links has been translated in 4 languages.(Spanish,French,Italian,german). Special character problem is also a problem in detailed navigation, on Page and iviews its fine.
    anybody idea about translation of detailed navigation and any error that is generated by that link. ( We have done translation using worklist translation manually. )
    I cannot modify Script that generates errors. Because It is auto generated by SAP.
    I watched preview of available pages in that particular language, I am getting no errors.
    So I think there is no error with language.
    So what can be the problem actually?

    Hi,
    We are experiencing the same issue and believe it is a required change on the detailed navigation.
    If you are able to fix this, please can you let me know what the possible fix is.
    Thanks
    Kai

  • OAM Error : Enable JavaScript to use OAM Server.

    Hi Friends,
    I see following script when I try to access a resource protected using OAM in Mozillla and Safari browsers.
    <body onLoad="document.myForm.submit()"><noscript><p>JavaScript is required. Enable JavaScript to use OAM Server.</p></noscript>The same configuration works with IE.
    Could you please help me understand if any patch need to be applied to OAM or if I am missing something in the configurations?
    Note: We are using OAM 11.1.1.5.0 to protect webcenter 11.1.1.5.0.
    Thanks,
    Sachin
    Edited by: 873687 on Feb 3, 2012 2:54 AM

    Hi,
    We had a customer that ran into the same exact issue and symptoms described in this thread. The issues occurred after some upgrades were made to browsers and java. Our customer was using Forms/Reports 11.1.2.1 (11gR2), OAM/OID (11.1.1.5) and mod_osso for the Forms-OAM integration.
    The issue was caused by a bug in OAM 11.1.1.5. The problem is when OAM authentication occurs, it does some web directs within it's internal java code. The HTML/JavaScript it tries to execute fails only in Chrome/Firefox. Applying the patch, supposedly fixes that faulty HTML/Javascript generated by OAM.
    Oracle Support documents on the issue and bug:
    - There is a Oracle Support article describing the issue: 1447194.1
    - Oracle Support Bug Number: 13254371
    To fix the issue:
    - Apply OAM Patch: 13115859. Its a generic patch that will work on any environment type.
    - If you use WebGates for your application, check out patch 13453929
    I wrote an article on how to install the patch: http://pitss.com/us/2013/04/04/oam-error-enable-javascript-to-use-oam-server/
    I hope this helps!
    Thank you,
    Gavin

  • I am getting JavaScript Errors when I attempt to use the Multiscreen Preview function in DW CS 5.

    When I attepmpt to use the Multiscreen Preview button in DW CS 5 I get the following error:
    "While executing onShow in MultiscreenPreview.htm, the following JavaScript error(s) occured:
    In file "Multiscreen Preview":
    onShow is not defined"
    This leads to either an unusable multiscreen preview box or another series of similar JavaScript errors.
    Is there a solution to this problem and if so what is it?
    Thank you for your time.

    Follow this KB article:
    http://kb2.adobe.com/cps/405/kb405604.html
    Start with 12 & 4 and then go through the rest if needed.

  • ERROR WHEN USING JHEADSTART TO GENERATE ADF BUSINESS COMPONENT FROM DESIGNE

    Use JDeveloper to generate a ADF Businness component using Jheadstart from
    Designer the following error is thrown
    oracle.jmig.source.ExtractorException: Caught SQL exception:ORA-01795: maximum number of expressions in a list is
    1000
    at oracle.jmig.source.designer.DesignerExtractor.extract(DesignerExtractor.java:136
    at oracle.jmig.MigrationRunnable.extract(MigrationRunnable.java:349)
    at oracle.jmig.MigrationRunnable.migrate(MigrationRunnable.java:183)
    at oracle.jmig.MigrationRunnable.run(MigrationRunnable.java:122)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    at java.lang.Thread.run(Thread.java:595)

    Yes, this is a known issue. We will fix this for the next release.
    Having said that, the next release will contain the JHeadstart Forms2ADF generator which directly reads Oracle Forms .fmb files to ADF, without the need to use Oracle Designer, avoiding problems like this alltogether.
    Steven Davelaar,
    JHeadstart Team.

  • Javascript Error When Using ADDT

    When I try to use the User registration wizard I am getting the following error :
    While executin onLoad in CreateActivationPage.htm, the following JavaScript error(s) occured :
    At lin 26 of file : "C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS4\Configuration\Translators\Cookie_translator.htm":
    patterMatch has no properties
    It seems to only happen when I use this particular part of ADDT, everything else is working.  I have tried :
    Deleting the cache file
    Re-Creating the configuration folder
    Neither have worked, can someone help me get past this?  I need to use this part of ADDT bad now....

    Hi,
    I am getting the same problem when trying to use the Update Record Form Wizard.
    While executing onClick in ServerObject-UpdRecPHP.htm the following Javascript error(s) occurred.
    At line 26 of file "C:\Program Files\Adobe\Adobe Dreamweaver CS4\Configuration\Translators\Cookie_translator.htm": patternMatch has no properties.
    This has only just started to happen.
    Any solutions?

  • JavaScript Error Message using Angel Learning Software

    After upgrading to the latest version of FF I receive a JavaScript error message when attempting to send an email via the Angel Learning educational portal. All the other operations in Angel appear to function normally at this time. Does anyone have any ideas as to what may be the issue and it if will be resolved or can be bypassed?
    Thanks!

    Thank you. The JavaScript is enabled on my FF settings. The message I am receiving is:
    Script: http://angel.cascadia.edu/jscript/yahoo/utilities/utilities.js:9
    So, perhaps I confused jscript with JavaScript by error? Either way, the link you forwarded said not to confuse the two...
    "Please note that JavaScript is not Java and Jscript is not JavaScript!"
    So, I clicked on the link to JScript which says that it is the same language as JavaScript and has a different name due to trademark issues. I have IE on my computer but never use it. Would you recommend that I uninstall IE? Please let me know if you have any other suggestions.
    Thanks!

  • Javascript error when using ExternalInterface.addCallback  with crossdomain swf file

    how can i use ExternalInterface.addCallback when using
    javascript access from Server A (html) to Server B (swf) ? coz it
    showing error?
    Server A
    192.168.0.10/XXX/example.html
    ===========
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    id="MGSInsurances1" width="960" height="600"
    codebase="
    http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
    <param name="movie" value="
    http://192.168.0.22/MGS/flex/MGSInsurances1.swf"
    />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#869ca7" />
    <param name="allowScriptAccess" value="always" />
    <embed src="
    http://192.168.0.22/MGS/flex/MGSInsurances1.swf"
    quality="high" bgcolor="#869ca7"
    width="960" height="600" name="MGSInsurances1"
    align="middle"
    play="true"
    loop="false"
    quality="high"
    allowScriptAccess="always"
    type="application/x-shockwave-flash"
    pluginspage="
    http://www.adobe.com/go/getflashplayer">
    </embed>
    </object>
    <script language="javascript">
    window.MGSInsurances1 =
    document.getElementById('MGSInsurances1');
    </script>
    Server B
    192.168.0.22/MGS/flex/MGSInsurances1.swf
    ==================
    Security.allowDomain("*");
    if(ExternalInterface.available)
    ExternalInterface.addCallback("onchange",onchange);
    ExternalInterface.addCallback("datachange",datachange);
    but javascript Error is showing "Unknown name", how can i fix
    it? urgent! somebody know this?

    i solved it! because i havent restart my server again! No
    Error again ! sorry for bothering everybody.

  • Javascript error when using Hotmail

    I am using FF 3.6.8 and when on my Hotmail page, I get javascript errors so that I am unable to send emails or ad attachments. The only way I get around this is to refresh the page and start again.

    Hi,
    I am getting the same problem when trying to use the Update Record Form Wizard.
    While executing onClick in ServerObject-UpdRecPHP.htm the following Javascript error(s) occurred.
    At line 26 of file "C:\Program Files\Adobe\Adobe Dreamweaver CS4\Configuration\Translators\Cookie_translator.htm": patternMatch has no properties.
    This has only just started to happen.
    Any solutions?

  • Javascript error when send email using webmail

    Dear Sun,
    One of our user encounter javascript error when try sending email using webmail below is the error message:
    " +https://webmail.ubd.edu.bn/uwc/webmail/comp_fs_lr.html&rev=3&security=false&lang=en&popupLevel=undefined&cal=1&charset=escaped_unicode, Line 1755+
    +Permission denied+
    "

    Hi Shane,
    below is the answer you need
    What browser is the user using?
    => Firefox and IE
    What browsers have you tested where it doesn't occur?
    =>I tested all the browser (firefox,IE, chrome) it doesn't happen to me
    When did this problem first start?
    =>After the user finish compiled his message and click send
    What is the exact version of UWC you are running (./showrev -p | grep uwc)
    =>Patch: 122793-26 Obsoletes: 118540-43, 117287-99, 117819-13, 119156-07 Requires: Incompatibles: 118042-22, 126233-04 Packages: SUNWuwc
    Patch: 122793-29 Obsoletes: 118540-43, 117287-99, 117819-13, 119156-07 Requires: Incompatibles: 118042-22, 126233-04 Packages: SUNWuwc
    Patch: 122793-31 Obsoletes: 118540-43, 117287-99, 117819-13, 119156-07 Requires: Incompatibles: 118042-22, 126233-04 Packages: SUNWuwc
    Does this error occur all the time? Does it occur for every user, or some users or just one user?
    => Not all the time, so far i just receive one complaint .

  • JavaScript error when using HoverMenu

    Hi,
    I'm using the HoverMenu with the TreeView in my project. When I call JavaScript methods in my form from the menu I get JavaScript Object Expected errors.
    For test I have made a simple DynPage iView (see code below). When I try to call the script reloadTree() from buttons, links, checkbox etc. everything works just fine. Trying to call the same method in the setClientSideScript of a hover menu item I get a JavaScript error: Object expected.
    I have tried to add the script method as raw text to the form with no luck. If I use the Document.setHeadRawText the script is inserted in the body and not in the header as described in the documentation.
    If I add alert('Some test') directly to the setClientSideScript it works just fine
    The code example is from the doProcessBeforeOutput()
    Document doc = getDocument();
    doc.setHeadRawText("<script>function reloadTree(){alert('Alert inside reloadTree function');}</script>");
    myForm.addRawText("<a href="#" onClick="reloadTree()">Test of reloadTree() from a href...</a>");
    HoverMenu hover = new HoverMenu("HoverMenu");
    hover.setMenuTrigger(com.sapportals.htmlb.enum.HoverMenuTrigger.ONCLICK);
    hover.addMenuItem("TEST1", "Test of reloadTree() from hovermenu...").setClientSideScript("reloadTree()");
    TextView tv = new TextView("click here to test reloadTree()");
    tv.setHoverMenu(hover);
    form.addComponent(tv);
    Button bt_Refresh = new Button("Button_HiddenRefresh");
    bt_Refresh.setText("Test of reloadTree() from button");
    bt_Refresh.setOnClientClick("reloadTree()");
    form.addComponent(bt_Refresh);
    Checkbox cb = new Checkbox("Checkbox");
    cb.setText("Test from checkbox");
    cb.setDisabled(false);
    cb.setChecked(true);
    cb.setOnClientClick("reloadTree()");
    form.addComponent(cb);
    Does anyone know why the HoverMenu item script in setClientSideScript cannot access JavaScript functions in my form ?
    Regards
    Michael

    Hi,
    I'm using the HoverMenu with the TreeView in my project. When I call JavaScript methods in my form from the menu I get JavaScript Object Expected errors.
    For test I have made a simple DynPage iView (see code below). When I try to call the script reloadTree() from buttons, links, checkbox etc. everything works just fine. Trying to call the same method in the setClientSideScript of a hover menu item I get a JavaScript error: Object expected.
    I have tried to add the script method as raw text to the form with no luck. If I use the Document.setHeadRawText the script is inserted in the body and not in the header as described in the documentation.
    If I add alert('Some test') directly to the setClientSideScript it works just fine
    The code example is from the doProcessBeforeOutput()
    Document doc = getDocument();
    doc.setHeadRawText("<script>function reloadTree(){alert('Alert inside reloadTree function');}</script>");
    myForm.addRawText("<a href="#" onClick="reloadTree()">Test of reloadTree() from a href...</a>");
    HoverMenu hover = new HoverMenu("HoverMenu");
    hover.setMenuTrigger(com.sapportals.htmlb.enum.HoverMenuTrigger.ONCLICK);
    hover.addMenuItem("TEST1", "Test of reloadTree() from hovermenu...").setClientSideScript("reloadTree()");
    TextView tv = new TextView("click here to test reloadTree()");
    tv.setHoverMenu(hover);
    form.addComponent(tv);
    Button bt_Refresh = new Button("Button_HiddenRefresh");
    bt_Refresh.setText("Test of reloadTree() from button");
    bt_Refresh.setOnClientClick("reloadTree()");
    form.addComponent(bt_Refresh);
    Checkbox cb = new Checkbox("Checkbox");
    cb.setText("Test from checkbox");
    cb.setDisabled(false);
    cb.setChecked(true);
    cb.setOnClientClick("reloadTree()");
    form.addComponent(cb);
    Does anyone know why the HoverMenu item script in setClientSideScript cannot access JavaScript functions in my form ?
    Regards
    Michael

Maybe you are looking for

  • Installing a Forms & Report middle Tier (10.1.2) on a 10.1.3 farm

    I have to install a new farm based on the 10.1.3 release. I will install the Infrastracture and one middle tier in two different Oracle Homes. The problem is that I need also Forms & Report Services, and we know that there will be no F&R services unt

  • Data Import defaulting Null date to system date

    I am trying to import Campaigns using Data Import, and when End Date is NULL it defaults to system date. Is there any way to avoid this default? Even when I don't "map" the End Date, it still defaults it. Thanks!

  • Need a 'volume track' for each of my tracks

    The Master Track is a great tool, but it operates on all of the tracks. Is there a way to have a volume track that is specific to each of my tracks? There are some places I would like to alter the volume up or down per track, but I don't see how to d

  • Embed Excel spreadsheet in .INDD?

    Hello, I'm wondering if it is possible to embed a Microsoft Excel spreadsheet into an .INDD file? I would like to provide a link within my InDesign file so they can click it and open an Excel spreadsheet. I know it would be possible to do this in the

  • Cotent Conversion Parameters at reciver side

    hi, i have file stucture like, <node>     <field1>aaa</field1>     <field2>bbb</field2>     <field3>ccc</field3>     <field4>ddd</field4>     <subnode1>          <field5>dd</field5>          <field6>ee</field6>     </subnode1>     <subnode2>