Using Forms 10.1.2.3 and JRE1.6.0_10, web.show_document pops window behind

Hello everyone, we are using Forms 10.1.2.3 and JRE1.6.0_10. We have separateFrame=true. We noticed when we open another browser using web.show_document('xxxx','_blank'), for example to our online help, the window pops behind the Forms MDI window. In previous versions of java it always popped in front of it like you would expect. We are using XP and IE7. It also acted the same way on Vista with IE7 as well. Has anyone else encountered this or found a workaround?

As far as the dll goes, our dll is written in C and uses I guess windows api calls to start whatever task we need. (I didnt write it). As far as the forms code goes, we use the webutil_c_api calls. Here's a sample of the function I call from forms:
FUNCTION StartTask ( pStartin varchar2, pCommandline varchar2, perrormessage in out varchar2) return number IS
          StartIn varchar2(255) := pStartIn;
          Commandline varchar2(1000) := pCommandline;
          Errmsg varchar2(2000):='$$';
     rc pls_integer;
          f_handle WEBUTIL_C_API.FUNCTIONHANDLE;
          args Webutil_c_api.parameterlist;
          param1 Webutil_c_api.ParameterHandle;
          param2 Webutil_c_api.ParameterHandle;
          param3 Webutil_c_api.ParameterHandle;
     begin
          --debuglog('calling StartTask local');
          f_handle := WEBUTIL_C_API.register_function('ClientUtils.dll','StartTask');
          args := WEBUTIL_C_API.create_parameter_list;
     param1 := WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_CHAR_PTR
          ,WEBUTIL_C_API.PARAM_INOUT,StartIn, 255);
          param2 := WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_CHAR_PTR
          ,WEBUTIL_C_API.PARAM_INOUT,Commandline, 1000);
          param3:= WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_CHAR_PTR
          ,WEBUTIL_C_API.PARAM_INOUT,Errmsg, 2000);          
          rc := WEBUTIL_C_API.Invoke_Int(     'ClientUtils.dll','StartTask',args);     
          perrormessage := WEBUTIL_C_API.GET_PARAMETER_STRING(args,param3);
     WEBUTIL_C_API.Destroy_Parameter_List(args);
     WEBUTIL_C_API.Deregister_Function(f_handle);                                                                                
     return rc;
     END;

Similar Messages

  • WEB.Show_Document(POP Up Window In 11g forms)

    Is it possible to open a Http inside the POP Up Window In 11g forms.
    This is what i tried to use:
    Created a Dummy Window,dummy Canvas and by clicking the push button i gave this message:
    web.show_document('http://www.google.com','Html_Window');
    WEB.Show_Document will open only in seperated window but i need to open in the Pop Window is it possible please help on this.

    As Denis mentioned, you cannot show html content natively in a form. You would need a bean to do that. However, if you are just trying to create something that looks like a standard browser pop-up window, there are several ways to do it. Be aware however, that in some cases, the following example will not work if you are using an older JRE. The latest JRE is 1.6.0_29 and runs the following code correctly assume the browser is not set to block pop-ups.
    EXAMPLE 1:
    web.show_document('javascript:window.open ("http://www.oracle.com","myPop","location=no,toolbar=no,menubar=no,status=no,resizable=yes,height=600,width=600");self.close();');
    EXAMPLE 2:
    Declare
         inJS      varchar2(32767);
    Begin
         -- More info about window.open here:
         -- http://www.w3schools.com/jsref/met_win_open.asp
         inJS := 'new_win=window.open("http://www.oracle.com","new_win1","menubar=0,location=0,toolbar=0,status=0,scrollbars=1,resizable=1,width=500,height=600");';
         web.javascript_eval_expr (inJS);
    End;

  • How to use form design for both online and Offline Scenrio!

    Hi All,
    I have created the forms using WebDynpro context with ZCI layout for Online scenario.
    There are some fields which need to be prefilled and are read only.. Header fields.
    There is no interface structures created seperately but the interface is constructed through webdynpro context.
    Now that I have to use the same for offline scenario, I don't see layout in SFP of form. I can create a structure for Importing fields but there is no Layout for mapping?
    Do I need create seperate forms for this as I have some prefilled hedaer fields which I can't pass using download beacause there is no context design available for this?
    Regards,
    Srinivas

    you could either create a separate form for your offline form using Data Dictionary interface or use the Data Dictionary interface for both of your forms.
    You do have the option of creating your own XML file for your offline form - you may be able to copy the XML code out of your online interface, save it to a file and use that for your offline interface - i'm not 100% sure on this as I've never done that.

  • Well I am in my first year in college and am finally looking to get a macbook that I have always wanted. But I dont know what one to get. Ill be using it for school work, music and pictures, searching the web and traveling abroad.

    I have a lot of pictures and i know I am going to be getting an external hardrive. But i am stuck between the 13 in new macbook air and the 15 in retina macbook. battery life is important but i want it to be really fast and just like a powerhorse. I could use all the input I could get. I will be studying abraod to and i want something that will be good to use over there and still be fast. Thanks guys all imput needed!

    Goodness me, a month? That's crazy! I'd say wait it
    out and get your free adapter or battery (though I'm
    bitter I just barely missed the free nano promotion
    too).
    I am expressing interest in getting that free battery, but I really don't need an extra adapter because I still have the original one from my first MacBook.
    Had you mailed your MacBook in for just the random
    shutdown issue? It seems bizarre that it has taken so
    long, because I sent mine in for the same issue and
    it took two weeks total turn around. Also, did they
    give you any reason as to why it will take so long to
    ship out your replacement?
    My MacBook was initially sent in just for the random shutdown issue, but then I called them while it was getting repaired to request the new plastic, since that was becoming a public issue. I think the logic board was replaced by two weeks into the repair, but then it had to wait longer for plastic. When all of that was replaced, it failed the final testing and was going to take longer, but they offered a replacement.
    I think my replacement is taking so long because it is a custom build (so that took about 3 business days) and then estimated shipping is always one week, so since yesterday it has been waiting to be shipped.
    ARGH.

  • Creating and Edit Order in Web Dynpro (seperate window or view?)

    Hi,
    I have just done with Web order creation in web dynpro and is going to start on Edit now. Should I have a seperate window for Edit or should I put it together in the same window as Create order?

    Hi Jackson,
    Most of the time for such kind of requirements it is generally prefer to have a seperate view for edit and that is being called using the plugs from the main screen.
    The flow will be like this:
    View 1 (main View having data, Fieds for editing are disabled)  -
    > Fires Plug to Edit view -
    > Edit View ( With all fields enabled which you want for editing).
    In kind of a design the main advantage is, you can directly keep the required nodes in the component controller and map these nodes in main view and edit view, both. Without even caring for any data flow.
    Data flow will be automatically be taken care by the component controller. The only one thing which needs to be handled is the UI elements enable and disable property. Because in the case of the main view you need to keep the disbale property of most of the UI element as True (as you don want user to edit anythign in this main view). In the edit view the disable property of same UI elements will be set to False, as used can edit any thing in this edit view.
    If you keep this kind pf approach one more added advantage is that you can pass various parameters in the plug function. So if you want to handle something on the bases of sone flag etc then you can pass those parameters in the plug method.
    However, as replied earlier, the decision is purely based upon your requirement. If the requirement is to show the edit screen as a Pop-up then you can help it!! Go with it..
    I hope this will solve your issue. Please revert back if you need any other information.
    Thanks and Regards
    Pravesh

  • Using form with mssql,access and oracle9i

    Is it a good idea to use forms 9i with mssql,access and oracle 9i as back end
    meaning using forms6i/9i as front end
    what happens with datatype defined in mssql tables
    like smallint etc
    SEJ

    Yes, I have read it. Good information, and it has gotten me close. If I follow what it says, I can get directly into insert mode ... however, update and delete buttons still exist.
    Here are the exacts in my situation:
    1) created a dynamic page that creates a link generated from the function 'Portal30.wwv_user_utilities.get_url('my_application.my_link','parameter_name','parameter_value');'. Notice no relational operator.
    2) created a form that is based upon table 'b'. The value passed to this form by step 1 is a foreign key from table 'a'.
    3) created a link object that references form identified in step 2.
    By clicking on the link generated by the dynamic page (with a parameter set and no conditional operators set), we go to the form in insert mode but we see all buttons. After your last note I decided to try a new, fresh, Portal generated form based upon table 'b', making the primary key and the foreign key hidden. I modified the link to reference this new form. By clicking the link, I go to the form in insert mode, but ALL buttons are showing, including query, next, and previous, even though some of these buttons are invalid.
    I am using 3.07.? We are in the middle of installing 3.08 or 3.09, whichever we can get running first. My dba is out for the week, so I will not be able to upgrade until next week.
    Any thoughts you have would be helpful. I am on the verge of creating 2 forms, but I don't want the code duplication if I can help it.
    Once again, thanks in advance.

  • How can I access a web link using forms

    Hi,
    I need to access a Application using a link provided. I need to pass the parameter like userid, password and connection string to that link.
    How can I achieve this in forms????
    I use forms 11.1.1.4 and Window 7 and IE 8
    Thanks,
    maddy
    Edited by: maddy on 27-Nov-2012 21:19

    WEB.SHOW_DOCUMENT ('http://www.oracle.com','_blank');The url can be generated dynamically from your code by replacing it with variables.
    WEB.SHOW_DOCUMENT ('http://myServer/someApp?' || myParameter || '=' || myParamaterValue,'_blank');

  • Easy-to-use form extension for DW8

    I am looking for an easy-to-use form extension for DW8. And
    please don't suggest forms-to-go because I bought that and none of
    my forms have ever worked. I have had to hire someone to fix the
    forms for me.
    I just want to create forms that work without having to spend
    DAYS trying to make them work...
    Please help!!

    Hi dsuk,
    Have you tried here?
    Cheers
    BTCare Community Mod
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Printing in calendar format using forms

    I need to print to a file in a calendar format, with
    monthly view using Forms 9i. Oracle Portal and APEX
    is not an option.
    There is a table which consists data for several months,
    and I need to use oracle forms as parameter form
    to pass the date range to print the calendar.
    The requirement is one month per page. I am thinking
    there should be a way to generate an HTML output.
    As always, looking forward to some great ideas.
    thanks

    OK. Here goes:
    Query 1:
    /*Select the months between the from and to dates */
    SELECT months, to_date('01-'||months,'DD-MON-YYYY') order_date
    FROM ( SELECT distinct TO_CHAR(days,'MON-YYYY') months
    FROM (SELECT :p_fr_date + (ROWNUM-1) days
    FROM M191F
    WHERE ROWNUM <= to_number(:p_to_date - :p_fr_date) +1)
    ORDER BY to_date('01-'||months,'DD-MON-YYYY')
    M191F is a dummy table with 1000 rows in it. It has 1 column M191COPY NUMBER(10). We use it just as a driver if things want to bring out a given number of records. We are using a parameter form in the report to get p_to_date and p_fr_date but that would be easy to receive from a Form.
    In the group I see there is a formula column producing the page title, it returns
    return to_char(:order_date,'fmMonth YYYY');
    Query 2
    Now you need to take some headache pills:
    SELECT
    TO_CHAR((TO_DATE('01-'||:months,'DD-MON-YYYY') -
    DECODE(TO_CHAR(TO_DATE('01-'||:months,'DD-MON-YYYY'),'Dy'),
    TO_CHAR(TO_DATE('24-FEB-2003','DD-MON-YYYY'),'Dy'), 0,
    TO_CHAR(TO_DATE('25-FEB-2003','DD-MON-YYYY'),'Dy'), 1,
    TO_CHAR(TO_DATE('26-FEB-2003','DD-MON-YYYY'),'Dy'), 2,
    TO_CHAR(TO_DATE('27-FEB-2003','DD-MON-YYYY'),'Dy'), 3,
    TO_CHAR(TO_DATE('28-FEB-2003','DD-MON-YYYY'),'Dy'), 4,
    TO_CHAR(TO_DATE('01-MAR-2003','DD-MON-YYYY'),'Dy'), 5,
    TO_CHAR(TO_DATE('02-MAR-2003','DD-MON-YYYY'),'Dy'), 6)) + (ROWNUM-1) ,'FMDy dd Mon YYYY') datee,
    '' day, '' tasks, to_date('') the_date
    FROM M191F
    WHERE ROWNUM <= DECODE(TO_CHAR(TO_DATE('01-'||:months,'DD-MON-YYYY'),'Dy'),
    TO_CHAR(TO_DATE('24-FEB-2003','DD-MON-YYYY'),'Dy'), 0,
    TO_CHAR(TO_DATE('25-FEB-2003','DD-MON-YYYY'),'Dy'), 1,
    TO_CHAR(TO_DATE('26-FEB-2003','DD-MON-YYYY'),'Dy'), 2,
    TO_CHAR(TO_DATE('27-FEB-2003','DD-MON-YYYY'),'Dy'), 3,
    TO_CHAR(TO_DATE('28-FEB-2003','DD-MON-YYYY'),'Dy'), 4,
    TO_CHAR(TO_DATE('01-MAR-2003','DD-MON-YYYY'),'Dy'), 5,
    TO_CHAR(TO_DATE('02-MAR-2003','DD-MON-YYYY'),'Dy'), 6)
    UNION ALL
    SELECT TO_CHAR(TO_DATE(ROWNUM||'-'||:months,'DD-MON-YYYY'),'FMDy dd Mon YYYY') datee,
    TO_CHAR(TO_DATE(ROWNUM||'-'||:months,'DD-MON-YYYY'),'dd') day,
    ans_y_util.daily_tasks (:p_owner, TO_DATE(ROWNUM||'-'||:months,'DD-MON-YYYY')) tasks,
    TO_DATE(ROWNUM||'-'||:months,'DD-MON-YYYY') the_date
    FROM M191F
    WHERE ROWNUM <= TO_CHAR(LAST_DAY(TO_DATE('01-'||:months,'DD-MON-YYYY')),'DD')
    The union bit is the call to our function in ans_y_util which I think will return some text to say what's happening on the date provided, for the user. So it calls that once for each date in the range, even if there's nothing happening on that day.
    It looks like the trick is in working out which day of the week you're on about. Putting the hard coded date of reference in Feb 2003 gives it a starting point.
    Then all this is neatly laid out in the Layout Editor... ;-) I guess it's something to do with an Across/Down layout, measured to fit the 7 cells in it across before going down.
    I hope this is relevant. But you did ask!

  • Report Status using web.show_document

    Hi all.
    I am using the web.show_document for running my report - using distribution xml file and mail.
    I want to insert a record in a table if the report generation succeeds.
    From Oracle Documentation I can see that I cannot get the report status in the form when it is run using web.show_document.
    And for distribution I cannot use run_report_object.
    Any workaround for this?
    Thanks in advance
    Anu.

    Dear Mr. hisham,
    Thanks For your Post,
    Actually i have the same issue, but it want to kill a running report in the report server by clicking such a button that have already the jobID.
    whithout opening the reportserver page so that no body see any other reports running.
    like in this example:
    Declare
    L_URL Varchar2(1000);
    Begin
    L_URL := :apps_server||'/reports/rwservlet/Killjobid'||:JOB_ID||'?'||'server='||:report_server;
    WEB.SHOW_DOCUMENT ('javascript:window.open('||l_URL||');self.close()','_blank') ;
    End;
    Is it posible to do that, If so how can do it. and do i have to do any settin someware on the server like formsweb.cfg or reportserver.cnf.
    thanks in advance.

  • Using web.show_document to open xml file

    I have successfully created an xml file and saved it to a directory on my hard drive. I was tyring to find answers to Client_OLE2 and stumbled upon Web.Show_Document to open this file. Essentially the file is in a spreadsheet format so when I manually open using IE then Excel is launched. Anyway, currently I am running forms locally and have set a virtual-directory virtual-path in my orion-web.xml file. My virtual path is /report_tmp/. So in my form I have issued the following call to launch a browser and display the file:
    Web.Show_Document('/report_tmp/'||v_filename, '_BLANK');
    This call does not produce any errors nor does it display the file. What am I doing wrong?
    Thanks,
    c

    Is the browser launching?
    If it is have you tried a show source on the browser window?
    Sometimes if you open an XML file in a browser you get a blank page but the XML is there. Something to do with the XML format I think. I'm no expert on XML just a behaviour I have observed.

  • How to add Tabs and List Boxes in Webi Report in Reporting Area(Not Report Filters & Input Controls)

    Hi All,
    I have a requirement to use some components called List Box and Tabs in my WebI report for presenting the information by dynamic dimension and measure selection using list box and segregate information by using Tabs as in below image.
    Image was prepared in MSPaint not executable webi report.
    Is it possible to integrate the list box and tabs into Report Zone in BO Webi? as show in below image?
    Thanks in Advance
    Muralidhar Reddy N

    Hello Muralidhar Reddy,
    The exact tool for your requirement is SAP BO Dashboard or SAP BO Design studio. WebI is a tool for ad-hoc reporting tool and we have limited functionalities to make dashboards using webI. You can have all those chart options in WebI and you can use Input controls or drill filters for restricting data. But you cannot have these selection components in reporting area. Tabs as shown in above post, you can have in bottom of the report.
    find below a good example of dashboard using WebI
    http://blog.davidg.com.au/2011/04/webi-as-dashboard.html
    hope it helps
    Regards,
    Nikhil Joy

  • Occasional ora-6502 using forms 6i and 10g

    Hi all.
    We have been experiencing some weird and unexpected ora-6502 errors in some of our forms 6i modules running against 10g (rel 1 or 2).
    Forms modules are correctly functioning and for some reason, one day an ora-6502 error suddenly pops up.
    Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.
    I know that this may sound hard to believe, but it has happened several times. All we do is put some message built in, recompile all, and the error is gone (for a while).
    So my questions are:
    - Is this a known issue beween forms 6i and 10g Db?.
    - Is there a patch on Metalink ( we use Forms [32 bits] Versión 6.0.8.26.0 (Producción))
    - A workaround?
    and most important
    - Have anyone been exposed to a similar situation?
    Regards, Luis ...!

    Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.Sounds like the form has not been "clean compiled" against the server on which it is running. Try a "Compile All", which causes all previously compiled program units to be compiled fresh.
    Or even better, clean out all the compiled code from your fmb before compiling the fmb on the server where it runs.
    See this topic:   Re: Why does this happen - find ';', replace with ';'?

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

  • Submit button and using form fields

    Hello all, I'm a bit new to using LiveCycle.  I created a form in acrobat. I have all my fields working properly but I ran into a snag.  Seems as though people with reader can't open and fill in my form because of a saving issue.  So I figured... let's try LiveCycle. I opened the same form.
    This is what I can figure out: I need a submit button that can attach the current pdf to a new email and then grab some of the field values from the form.  These field values are used to fill in the subject and the "To" field in outlook. I had a button that could do this in acrobat, but it doesn't seem to work in LiveCycle.  Can someone please offer some guidance?  Thanks so much.
    This is what I had on the acrobat form that worked before LiveCycle if it helps at all (used from an adobe sample):
    // This is the form return e-mail. Its hardcoded
       // The form will return to the manager chosen from the dropdown bob
       var cToAddr = "[email protected]";
       // First, get the client CC e-mail address
       var cCCAddr = this.getField("manager").value;
       // Now get the beneficiary e-mail only if it is filled out
       var cBenAddr = this.getField("PlaceHolderEmail").value;
       // Get the name and req number
       var cName = this.getField("EmployeeName").value;
       var cNumber = this.getField("Department").value;
       // Set the subject and body text for the e-mail message
       var cSubLine = "Absence Notification - " + cName + " - " + cNumber;
       var cBody = "Thank you for submitting this form.\n" +
                   "Save the mail attachment as a record";
       //** Send the form data as an PDF attachment on an e-mail
       // Build the e-mail URL
       var cEmailURL = "mailto:" + cCCAddr + "?cc=" + cBenAddr
                     + "&subject=" + cSubLine
                     + "&body=" + cBody;
       this.submitForm({cURL: cEmailURL, cSubmitAs:"PDF", cCharSet:"utf-8"});

    Here is a sample form for your reference..
    https://acrobat.com/#d=CK4QgXn38l49bzQlhWtKSA
    You need to use the rawValue to get the field value in LiveCycle..
    for example
          // First, get the client CC e-mail address
         var cCCAddr = manager.rawValue;
    Thanks
    Srini

Maybe you are looking for

  • Error while Transporting Request

    Hi All, we have ECC 6.0 on Unix environment. we had copied a production client with group selection, as we wanted all the three system PRD,DEV,QLT in sync. the export was succesfully done.i copied Cofiles & Datafiles which are generated in DEV & Qual

  • Mail in OS 10.8.2 very sloooow!

    The new mail (OS 10.8.2) is very slow. I click on Inbox and it could take up to a minute for anything to load. The same w/SENT. Also, click on get mail, nothing happens. Eventually, it will download one or two, more later. Finally, one more question:

  • How do i connect my powerbook G3 to the internet?

    I recieved a Mac Powerbook G3 to take with me to iran to give to a less fortunate family but i have no idea how to connect to the internet (for updates and general usage) as the os is really old (10.2) can somebody please give me step by step instruc

  • Can't get Quicktime Player to work with an old program

    Hi, I've been trying to get a game of mine to work, and it needs quicktime 4. I had quicktime 4 running great for a while, but it suddenly stopped working a while ago. I couldn't reinstall it for some reason, it never seemed to get completely off of

  • Problem in running comm_dssetup.pl

    Hi all, I am trying to install "Sun Java(TM) System Directory Server 5 2005Q1" bundled with "java_es_05Q1-ga1-solaris-sparc-1.iso" for a testing purpose. This is to check the LDAP and mailbox upgrade+migration possibilities from old 2005Q1 ( msging s