1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

How to display Concurrent Program Log file from OAF Page

Discussion in 'Oracle Development General' started by sambuduk, Aug 21, 2014.

  1. sambuduk

    sambuduk Forum Advisor

    Messages:
    242
    Likes Received:
    73
    Trophy Points:
    455
    Location:
    Hyderabad , Telangana
    Hi All,

    The below code i am using in the controller for to display Concurrent Program Log file as a POPUP window. With this code Log file is displaying properly when i click on 'X' (close Button) mark it has closed.But after that if i click on any button in main page again the Log file Popup is opening automatically.

    So can you please let me know how to close the Popup or Is there any other way to display Log file???


    StringBuffer l_buffer = new StringBuffer();
    StringBuffer l_buffer1 = new StringBuffer();
    l_buffer.append("javascript:mywin = openWindow(top, '");
    l_buffer1.append("&akRegionApplicationId="+"0");
    l_buffer1.append("&akRegionCode="+"FNDCPREQUESTVIEWREGION");
    l_buffer1.append("&retainAM=Y");
    // String logUrl = "http://dev.synechron.net:8004/OA_CGI/FNDWRR.exe?temp_id=152687164"; //"/OA_HTML/OA.jsp?page="+l_buffer1.toString();
    OAUrl popupUrl = new OAUrl(logURL, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE );
    String strUrl = popupUrl.createURL(pageContext);
    l_buffer.append(strUrl.toString());
    l_buffer.append("', 'lovWindow', {width:750, height:550},false,'dialog',null);");
    pageContext.putJavaScriptFunction("SomeName",l_buffer.toString()+"javascript:popup.close()");




    Regards
    Sambasiva Reddy.K