Javascript in web.show_doc not works in explorer version 6

Hi ,
I've requirements to open form B from form A using URL not call_form (the config parameters are not the same), but when I open form B using web.show_document I end up having the new form opened in a oversized web browser which also shows standard button and address bar.
To avoid that I tried using the examples I found on OTN, see below:
I try to run this examples found in OTN but they not work in Explorer version 6.
1) WHEN_BUTTON_PRESSED trigger contains:
begin
WEB.SHOW_DOCUMENT ('javascript:window.open("http://www.google.com","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=yes");self.close()','_blank');
end;
2)POST_FORM trigger contains
web.show_document('Javascript:window.close()','_self');
Both do nothing and when I exit the form I get an empty black window, this is not acceptable in a production environment.
The POST-FORM trigger worked well with the pervious release of window explorer.
Thanks for your help

Hi Frank,
Many thanks,
the when-Button-pressed trigger of my Exit button contains the following code:
DECLARE
url_txt varchar2(1000);
BEGIN url_txt := 'http://servername/closing_window.htm';
WEB.SHOW_DOCUMENT(url_txt,'_self');
END;
The closing_window.htm is a simple page:
<html>
<HEAD>
<body onLoad="window.close();">
</html>
</HEAD>
Data in my form are already committed when I exit it.
How to commit is maybe an issue, in fact if I commit before calling the web.show_document the browser is not closed and a black window appears.
Thanks

Similar Messages

  • App Insights for web application not working when deployed to Dev server

    App Insights is not sending telemetry data for ASP.NET MVC web *requests* (page views from the JS instrumentation are fine) when the app is deployed to the Dev or Test IIS servers.  On local IIS express it works perfectly fine.    I have
    no idea how to troubleshoot this problem.
    Bert Jackson

    - the AI.config file is both in the root of the site, and the /bin folder (which was confusing the other day).  Both are correct.
    - it looks like a local browser can go to https://dc.services.visualstudio.com (it results in a 403 since its just a GET to the root).  During this test, I found that this server did NOT have the Root trust certificate (Baltimore cybertrust), which
    would cause problems when using IE locally to browse the app; the javascript AI logging was not working, because it couldnt fetch the ai.0.js file).  I got the proper root certificate installed on the server, but request logging still not working.  I
    dont believe the firewall is a problem.
    - I've verified that all binaries are indeed deployed in to the bin folder on the server
    - web.config does have the AI http module; I've verified via logging that the ApplicationInsightsWebTracking is loaded.  However, I have custom Context/Telemetry initializers, and their Initialize() methods are *NOT* being called when deployed on the
    server.  I've tried both ways of registering the initializers; via code in the Application_Start() event and also in the ApplicationInsights.config file.
    I don't know how to troubleshoot any further, to figure out if AppInsights is actually *trying* to send telemetry out and failing, or if its not actually even trying.
    Bert Jackson

  • Content Search Web Part not work for Office Web Apps

    Hi ,
    In Content Search Web Part word documents are not able to open in browser,but in document library  its working.
    Office Web Apps not work in Content search web part
    Please help me
    Regards
    Sachin

    Below is the display template to open the document in OWA.
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"> 
    <head>
    <title>AdSpace Picture on top, 3 lines on bottom</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;Picture URL&#39;{Picture URL}:&#39;PublishingImage;PictureURL;PictureThumbnailURL&#39;,&#39;Link URL&#39;{Link URL}:&#39;Path&#39;,&#39;Line 1&#39;{Line
    1}:&#39;Title&#39;,&#39;Line 2&#39;{Line 2}:&#39;Description&#39;,&#39;Line 3&#39;{Line 3}:&#39;&#39;,&#39;FileExtension&#39;,&#39;SecondaryFileExtension&#39;,&#39;ContentTypeId&#39;,&#39;ServerRedirectedURL&#39;</mso:ManagedPropertyMapping>
    <mso:MasterPageDescription msdt:dt="string">This Item Display Template will show a 304x100 picture of the item on top. The title and the default item description will display to the bottom of the picture with an additional line that is available
    for a custom managed property.</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#Content Web Parts;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:_dlc_DocId msdt:dt="string">ZRMVMDDDEAE7-1-215</mso:_dlc_DocId>
    <mso:_dlc_DocIdItemGuid msdt:dt="string">583b0835-32ff-4d1c-983f-b6ff4a0ef956</mso:_dlc_DocIdItemGuid>
    <mso:_dlc_DocIdUrl msdt:dt="string">http://sp2013-dev-6:7000/sites/adspace/_layouts/15/DocIdRedir.aspx?ID=ZRMVMDDDEAE7-1-215, ZRMVMDDDEAE7-1-215</mso:_dlc_DocIdUrl>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">http://sp2013-dev-6:7000/sites/adspace/_catalogs/masterpage/Display Templates/Content Web Parts/Item_PictureOnTop.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
        <!--
                Warning: Do not try to add HTML to this section. Only the contents of the first <div>
                inside the <body> tag will be used while executing Display Template code. Any HTML that
                you add to this section will NOT become part of your Display Template.
        -->
        <script>
            $includeLanguageScript(this.url, "~sitecollection/_catalogs/masterpage/Display Templates/Language Files/{Locale}/CustomStrings.js");
        </script>
        <!--
            Use the div below to author your Display Template. Here are some things to keep in mind:
            * Surround any JavaScript logic as shown below using a "pound underscore" (#_ ... _#) token
            inside a comment.
            * Use the values assigned to your variables using an "underscore pound equals"
            (_#= ... =#_) token.
        -->
        <div id="Item_PictureOnTop">
    <!--#_
    var useWACUrl = !$isEmptyString(ctx.CurrentItem.ServerRedirectedURL);
            if(ctx.ScriptApplicationManager && ctx.ScriptApplicationManager.states){
                useWACUrl = (useWACUrl && !ctx.ScriptApplicationManager.states.openDocumentsInClient);
            var appAttribs = "";
            if(!useWACUrl)
                if (!$isEmptyString(ctx.CurrentItem.csr_OpenApp)) { appAttribs += "openApp=\"" + $htmlEncode(ctx.CurrentItem.csr_OpenApp) + "\"" }; 
                if (!$isEmptyString(ctx.CurrentItem.csr_OpenControl)) { appAttribs += " openControl=\"" + $htmlEncode(ctx.CurrentItem.csr_OpenControl) + "\"" };
            var url = ctx.CurrentItem.csr_Path;
         if($isEmptyString(url)){
                if(useWACUrl)
                    url = ctx.CurrentItem.ServerRedirectedURL;
                } else {
                    url = ctx.CurrentItem.Path;
    var encodedId = $htmlEncode(ctx.ClientControl.get_nextUniqueId() + "_pictureOnTop_");
    var linkURL = $getItemValue(ctx, "Link URL");
    linkURL.overrideValueRenderer($urlHtmlEncode);
     var iconURL = Srch.ContentBySearch.getIconSourceFromItem(ctx.CurrentItem);
    var line1 = $getItemValue(ctx, "Line 1");
    var setLineHeightRenderer = function(valueInfoObj)
        if(!$isNull(valueInfoObj) && !valueInfoObj.isEmpty)
            if(!$isNull(valueInfoObj.defaultValueRenderer))
                return valueInfoObj.defaultValueRenderer(valueInfoObj);
            else
                return valueInfoObj.toString();
        else
            return "&nbsp;";
    var line2 = $getItemValue(ctx, "Line 2");
    line2.overrideValueRenderer(setLineHeightRenderer);
    var line3 = $getItemValue(ctx, "Line 3");
    line3.overrideValueRenderer(setLineHeightRenderer);
    var pictureURL = $getItemValue(ctx, "Picture URL");
    var pictureId = encodedId + "picture";
    var pictureMarkup = Srch.ContentBySearch.getPictureMarkup(pictureURL, 304, 100, ctx.CurrentItem, "cbs-pictureOnTopImg", line1, pictureId);
    var containerId = encodedId + "container";
    var pictureLinkId = encodedId + "pictureLink";
    var pictureContainerId = encodedId + "pictureContainer";
    var dataContainerId = encodedId + "dataContainer";
    var line1LinkId = encodedId + "line1Link";
    var line1Id = encodedId + "line1";
    var line2Id = encodedId + "line2";
    var line3Id = encodedId + "line3";
     _#-->
            <div class="top-content-box" id="_#= containerId =#_" data-displaytemplate="ItemPictureOnTop">
                <div class="top-content-img" id="_#= pictureContainerId =#_">
                    <a class="cbs-pictureImgLink" href="_#= $urlHtmlEncode(url) =#_" title="_#= $htmlEncode(line1) =#_" target="_blank" id="_#= pictureLinkId =#_">
                        _#= pictureMarkup =#_
                    </a>
                </div>
                    <h3 id="_#= line1Id =#_"><a class="cbs-pictureOnTopLine1Link" target="_blank" href="_#= $urlHtmlEncode(url) =#_" title="_#= $htmlEncode(line1) =#_"
    id="_#= line1LinkId =#_"> _#= line1 =#_ </a></h3>      
                    <span class="content-date" title="_#= $htmlEncode(line2) =#_" id="_#= line2Id =#_"><img class="cbs-Thumbnail" src="_#= $urlHtmlEncode(iconURL) =#_"
    alt="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureId =#_" />_#=line2=#_</span>                
            </div>
        </div>
    </body>
    </html>
    Basically,ctx.CurrentItem.ServerRedirectedURL is calculated by a managed property ServerRedirectedURL which needs to be included in the display template.
    Problem solved.
    Nehal Bhandari,ATL, Nagarro Softwares

  • Flash player download web site not working

    After uninstalling flash player, I can't get the web site to reinstall it. I go to the web site click the agree and install now and gos to the next page but nothing pops up like it said it should.
    http://get.adobe.com/flashplayer/thankyou/activex/?installer=Flash_Player_10_for_Windows_I nternet_Explorer&i=McAfee_Security_Scan_Plus&d=Google_Toolbar_6.3

    Hi eidnolb,
    My OS is windows 7 Ultimate. There no Service packs listed Microsoft don't have one for it yet. My brower is Internet explorer 8 version: 8.0.7600.16385. My firewall is not causeing problems and the popup blocker didn't even activate.
    Date: Wed, 14 Apr 2010 10:01:33 -0600
    Subject: Flash Player flash player download web site not working
    Hi newcomer76, Please post back your operating system and if any applicable Service Packs, any and all browsers that you use with the versions.
    With that information, I'll be able to give you instructions and the links you need.
    Thanks,
    eidnolb
    >

  • Spry Image Slideshow does not work in Explorer

    My spry image slideshow works fine in Safari and Firefox, but does not work in Explorer.
    A small box shows up in IE 8, and absolutely nothing shows up in IE 7.
    www.epaaudio.com
    Any Suggestions?

    How did you get your slideshow to play in Internet Explorer? I'm using the same slideshow on my new website and it plays fine in everything but IE versions. Here's a test page I'm working on... http://4034.sandbox.i3dthemes.net/oceankayakbanzai.html
    I looked at the code for your page and didn't notice anything different on mine. But yours works... Let me know if you have any suggestions. Thanks!

  • Web links not working in iPhone calendar notes. Used to work. Ideas?

    Web links not working in iPhone calendar notes. Used to work. Ideas?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Has any of this been tried?

  • Some web sites not working in FF but they are OK in Safari.

    A couple of times lately I have had web sites not work correctly with Firefox. I need to switch to Safari to complete the tasks I needed to do. My FF is running on Mountain Lion and is up to date.
    Thanks,
    MJT

    Hello michaeljt, the sites you have problem, is it with a lot of flash content ?
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Please reload the webpage while bypassing the cache using '''one''' of the following steps:
    *Hold down the ''Shift'' key and click the ''Reload'' button with the left mouse key.
    OR
    *Press ''Ctrl'' + ''F5'' or ''Ctrl'' + ''Shift'' + ''R'' (Windows and Linux)
    *Press ''Command'' + ''Shift'' + ''R'' (Mac)
    See if this helps solve the issues you had and please report back to us!
    thank you

  • "no serializer is registered..." error with a web service not working

    I'm using JDeveloper 10.1.3
    EJB 3.0
    I'm having issues with the web service not working after I create a client for it. The web service works fine up until I generate the proxy on the other side.
    ERROR An error occurred for port: {http://buslogic/}MyWebService1SoapHttpPort: no serializer is registered for (class buslogic.runtime.....
    I saved the file before I added the proxy and the wsdl looks the same between the working one and the non working one. I can not pin point the when the change to the web service is occuring. It seemed to work once all the way up until I had a ADF page trying to retrieve data, another time it failed when the proxy was created.
    I can get the version that I saved to work immediately after the version that does not fails.
    Any help would be greatly appreciated,
    Dan

    I'm using JDeveloper 10.1.3
    EJB 3.0
    I'm having issues with the web service not working after I create a client for it. The web service works fine up until I generate the proxy on the other side.
    ERROR An error occurred for port: {http://buslogic/}MyWebService1SoapHttpPort: no serializer is registered for (class buslogic.runtime.....
    I saved the file before I added the proxy and the wsdl looks the same between the working one and the non working one. I can not pin point the when the change to the web service is occuring. It seemed to work once all the way up until I had a ADF page trying to retrieve data, another time it failed when the proxy was created.
    I can get the version that I saved to work immediately after the version that does not fails.
    Any help would be greatly appreciated,
    Dan

  • The web controls not work(windows phone)

    Hi
    I have a web app.after I make an animation in this page(like a transition page in loading page), the web controls not work more.
    the site is shown but any thing not work like scrolling or tap in links

    Can you please explain more clearly what you are doing and what you need help with? What is your overall scenario, what exactly is your code doing, what behaviour do you expect and how is that different from what you actually see?

  • Webmail is not working internet explore after installed sp3 exchange 2007 roll up 15

    webmail is not working internet explore after installed sp3 exchange 2007 roll up 15 but mozill firefox webmail is working fine

    Hi,
    Does the issue happen to all users? What’s your IE version? Is there any error when you access OWA 2007 in IE?
    Please click Compatibility View settings in your Internet Explorer. Then, add the OWA site to the list of sites to be viewed in compatibility view and check whether the issue persists.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Javascript after button click not working

    The problem is on button submit I wanted a javascript prompt which does not work in the portal.
    The code is like this
    privatevoidbtnSubmit_Click(objectsender, System.EventArgs e)
    Page.RegisterClientScriptBlock("alert","<script language='javascript'>alert('Thank you! Your form was successfully submitted.');</script>");
    Could you explain this.
    Thanks

    Hi guys,
    try the following code.
    page_load code
    ===============
    YourButtonName.Attributes.Add("onClick", "JsFnName()");
    Javascript code in .aspx
    ========================
    <script language="javascript">
    function JsFnName()
    alert('Thanks you your form was succesfully submitteid');
    </script>

  • Filter did not work at OBIEE  Version 11.1.1.7.0

    String repSQL = report.generateReportSQL(reportRef, rp, m_sessionID);
    The “Filterexpression” is working well for the OBIEE Version 11.1.1.6.0  but it is not working for OBIEE Version 11.1.1.7.0.
    (i.e) While i try to run “Filterexpression” in for OBIEE Version 11.1.1.7.0. , i get the following errors
    AxisFault  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode:
    faultString: Assertion failure: pMatchFilterFromPropBag != 0 at line 3051 of roject/webreport/globalfilterutils.cpp faultActor:  faultNode:  faultDetail:
    {com.siebel.analytics.web/soap/error/v1}Error: <sawsoape:Code>ACIOA5LN</sawsoape:Code>
    <sawsoape:Message>Assertion failure: pMatchFilterFromPropBag != 0 at line 3051 of project/webreport/globalfilterutils.cpp</sawsoape:Message>
    <sawsoape:File>globalfilterutils.cpp</sawsoape:File>
    <sawsoape:Line>3051</sawsoape:Line>
    Assertion failure: pMatchFilterFromPropBag != 0 at line 3051 of project/webreport/globalfilterutils.cpp
    ead.run(SimpleThreadPool.java:557)

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • SetFocus not working in older versions of Reader (pre version 8)

    I have a form that was created in LiveCycle Designer 8.2 and has the following issue:
    I have used the setFocus method to help the form filler (end user) navigate around the form. It works fine when the end user is viewing the form in Reader version 8 or higher, but it does not work in earlier versions. is there a work around to get similar functionality in earlier versions of Reader.
    Example:
    there is a drop-down list where the user is directed to different fields depending on their answer. it uses the following if expression in the "validate" event:
    if (this.rawValue == 2){
    xfa.host.setFocus(textField1);
    if (this.rawValue == 1) {
    xfa.host.setFocus(DropDownList2);

    Brian,
    One more thing about the setFocus issue:
    I tried my test form on Adobe Reader 6.0.2 and the setFocus worked OK when using the somExpression.
    So adding the somExpression to the setFocus works with Reader 6.0.2 and up, but it did not work with Reader 6.0 or Reader 6.0.1.
    LC Designer 8.2 will let you set the minimum target version in the "Form Properties" "Defaults" tab to 6.0.2, so that may be the lowest version it supports. I did notice that at this 6.0.2 version my other Javascript code does not function; not sure why.
    Ron

  • Fastdial does not work after installing version 7.0.1

    Fastdial does not work after installing version 7.0.1

    '''this will fix your problem with FF 7.01 '''
    '''http://dl.dropbox.com/u/10199236/fast_dial-3.5.1-fx-modified.xpi '''
    '''''This link will fix Fast Dial for Firefox 8.0.1'''''
    '''http://dl-web.dropbox.com/u/12466346/speedfox.org/addons/fast_dial-3.5b1fixed2-fx.xpi '''

  • Why my app not work in new version, Why my app not work in new version

    I just update to new version software ios6.0 for my iPad, but I found that few of my apps downloaded before are not working now, how can I do now?

    Lily yu wrote:
    Why my app not work in new version
    Ummm..I think that's obvious...the developer hasn't updated them to work with iOS 6

Maybe you are looking for

  • Spinning beach ball, OS 10.8.5 Etracheck report

    Below is my EtaCheck report. Hoping to resolve the spinning beach ball issue. Any help is appreciated. Problem description: Spinning beach ball. This makes it difficult to work productively. EtreCheck version: 2.1.8 (121) Report generated March 28, 2

  • REF CUR within FUNC

    I'm trying to check if rows exist on table_a - I'm using ref curs b/c need for dynamic FROM clause - getting message : PLS-00455: cursor 'L_REF_CUR' cannot be used in dynamic SQL OPEN statement vers 8.1.7.2.0 Thanks for help. CREATE OR REPLACE FUNCTI

  • Sample rate (X_Value) is wrong

    On one particular PC i recorded: X_Value 0 1.000122 2.000243 3.000365 4.000486 5.000608 6.00073 7.000851 8.000973 on every other PC i recorded: X_Value 0 1 2 3 4 5 6 7 8 Just have a simple timed while(1000ms) loop around a "Write To Measurement File"

  • Schema in the System Container

    I just started working on someone's Lync 2010 environment and I found their Schema was never moved from the System container over to the Configuration container.   I tried using the old OCS Global Settings Migration Tool but it wont let me because th

  • Select giving problem

    Hi, I have a select statement which I am using in my java application, currently we are using ms-access database this select works fine with access, but noew we testing the application with Oracle. I am connecting to Oracle using ODBC driver, but the