Using web.show_document the first time makes new browser window lose focus

Hi,
In our application we use show_document(url, '_blank') to open our reports (as pdf) in a new window.
Our environment is Application Server 10g Release 2 with Forms 10g Release 2 and jinitiator 1.3.1.22.
The first time I call a report, the new browser window containing the pdf is shown but loses focus after about 1 second. The focus is then returned to the applet window. When calling a report again it always keeps the focus.
After closing the applet window and restarting the application, the same thing happens: first report called loses focus, all others keep the focus.
Does anyone have any idea why this is happening? We want the focus to stay on the new browser window every time...

Hi Jeroen,
I m also facing a problem something similar to yours. If you got any solution please let me know.
Problem-
Currently my application is running on Forms 9.0.4.2 and my form calls another third party which displays the image in image viewer in new browser. When user clicks on the button to display image, then I m using the following Code -
-- Method: displayDocuments ([Ljava/lang/String;)Ljava/lang/String;
FUNCTION displayDocuments(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JARRAY) RETURN VARCHAR2 IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'com/hli/imaging/adapter/LK_FormsImagingAdapter', 'displayDocuments', '([Ljava/lang/String;)Ljava/lang/String;', args);
END;
Image is displaying fine but the focus is staying on the newly opened browser. I want it to get back the focus to the forms window.Is this possible ???
Thanks in advance
Sai                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • HT1338 I use iCal for the first time. How do you update it without needing to update all programs of your computer?

    I use ical for the first time, how do you update the programm without updating for 2 hours all other programms

    From the iCal Help Menu in the Tool Bar...
    Changing or deleting an event
    You can change the time, day, alarm, or any other settings for any events you’ve created, or you can delete an event.
    You can’t change the events on a calendar you’ve subscribed to (subscribed calendars appear in your Calendar list under the heading “Subscriptions”), and you can only change the calendar, status, and alarms for events you’ve been invited to.
    To change or delete an event:
    To change the time or day of an event you’ve created, drag the event to the new time or day in the main calendar view.
    To change an event’s duration, drag the event’s top or bottom edge. (You can resize events only in Day or Week view.) If the event is an all-day event, in Week view, drag the left or right side of it.
    To change the name of an event, double-click it. If necessary, click Edit to open the event editor. Select the event name, type a new name, and then click Done. (You can also change the name of an event without opening the event editor by holding down the Option key while you double-click the event name.)
    To edit other characteristics of an event (for example, how often it repeats or whether it has an alarm), double-click the event. If necessary, click Edit to open the event editor. Make your changes.
    To delete an event, select the event and press the Delete key on your keyboard.
    If you’re changing an event to which you’ve invited other people, you need to send an updated event to the invitees by clicking Send in the event editor

  • I have bought an iPhone4 and to be able to use it for the first time I connected into a friends itunes. Now when I want to buy itunes stuff on the phone it asks me her password. How can I set up again my itunes account?

    I have bought an iPhone4 and to be able to use it for the first time I connected into a friends' itunes. Now when I want to buy itunes stuff on the phone it asks me her password. How can I set up again my itunes account?
    Now I also have a macbook where I can sync my iphone but it doesn't allow me

    first of all only sync it with 1 computers itune account
    second settings->general->store click the appleID box with her appleID in it and log out

  • Applications are mentioned free, but when we start downloading one dollar is charged in my credit card, but only for the first time when i switch on and use it for the first time one dollar is charged. and from next application it is free. why?

    Applications are mentioned free, but when we start downloading one dollar is charged in my credit card, but only for the first time when i switch on and use it for the first time one dollar is charged. and from next application it is free. why?

    Kindly inform any email id or toll free number to contact apple for your below answer, Mr.King_Penguin
    About receiving my credit card being debited for Free App Store Application downloads,
    It should be within a few days, but it might vary a bit by bank/provider :
    I am in India, if the bank don't refunds , what to do?
    Rajagopal.pngr :-  It is only a holding charge, it is not a permanent charge. If it isn't refunded within a few days or so (and it quite possibly won't be over a weekend) then you can query the charge with Apple.

  • Tried synching iphone for the first time on new PC and got error followed by itunes logo and USB cable picture. No idea what went wrong and now phone is in this screen locked. please help!

    tried synching iphone for the first time on new PC and got error followed by itunes logo and USB cable picture. No idea what went wrong and now phone is in this screen locked. please help!

    I tried connecting to iTunes and neither the PC nor iTunes recognizes the device. I went through all the troubleshooting on the Apple website for this issue and nothing worked. I've reinstalled iTunes, the driver, everything and still can't get either the PC or iTunes to recognize the phone.  I don't know what else to do :-( any help or suggestions are highly appreciated!
    I would hate to have lost all my info, especially contacts and calendar items since I have no idea what was backed up prior to the phone getting locked on this screen. I've been told that my only option is to go to the phone carrier and they will reset it for me, but that means it will wipe out all the info.
    I hope someone has a fix other than that one.

  • I am trying to intall iTunes for the first time on my computer/ windows 8. I can get through the installer, then at the end, i'm getting an error: 0x80071A3F ??? Please Help

    I am trying to intall iTunes for the first time on my computer/ windows 8. I can get through the installer, then at the end, i'm getting an error: 0x80071A3F ??? Please Help

    Hey 78463,
    Welcome to Apple Support Communities! I didn't see that particular error message in any documentation, but issues installing iTunes are resolved a majority of the time by completing the troubleshooting steps in the following article:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Cheers,
    David

  • Syncing iPhone for the first time- all new items deleted & replaced w/ old.

    Somebody, please help me. I've been looking through these threads for the last hour now and can't find any answers to my question.
    I recently had my iPhone stolen and had to buy a new one. I bought the iPhone 4 and tried to sync it to my computer and recover old contacts. When I was prompted to sync to old phone or set up as a new phone, I chose to sync to my old phone, hoping to get some of the old pictures/contacts/etc back.
    Unfortunately, I had NOOO idea it would delete all of my new pictures/contacts/etc. I thought it would be adding to, not replacing. My pictures are the most important to me, because I just had my 21st birthday and took over 200. Is there ANY way to get them back?
    I never synced my new iPhone, so I don't think there is a back-up for it, as this was the first time I tried to set it up on the computer. (I got the phone two days ago.)
    Please tell me there is a way. I don't want to lose all of those memories.

    Hey:
    IMHO, There MIGHT be a chance ....
    There are a numer of "data recovery" tools out there that might help.
    This article is a nice summary:
    http://forums.cnet.com/7726-7588_102-3223036.html
    Since the iPhone is treated as an external drive by a Window computer this might work ... If it wasy my 21st birthday I'd sure give it a go...
    I have personall used the recovery tools used by DiskInternals with good results, but never on an iPhone. Disk internals has good e-mail tech. support, send them an e-mail describing your problem and to NOT take any new pictures until you either recover what you can or give up!

  • What if I didn't charge my mac all the way before using it for the first time?

    Okay, so I got my Macbook for Christmas this past year (Mid 2011 model) and of course I was screaming my head off with excitement.
    I powered it up, starting using it for a little bit, then plugged it in to keep it going. I didn't charge it all the way to 100%, I think I was using it for about three hours while it was plugged in and up for the first time. That night, however, it did charge all the way and I don't see any problems with my battery, but I wouldn't know if it was operating at full capacity if the capacity I've been using this whole time has been lowered.
    Thanks!

    Ahh.. okay?
    I was just curious because they all say to charge it fully for the first time.. didn't know if this did anything to the battery or not.

  • I just used itunes for the first time in years with an old id number. It says my computer isnt authorized. The old computer i used is gone now. junked. There is no option to authorize this one. What do I do. Very frustrated

    Itunes is saying that my computer isn't authorized. Its the first time ive used my id since 2010 and the computer I had then is junked. Now I have a hp laptop and I can;t authorize this computer. I can't use anything I buy. What do I do?

    There's a couple of ways to get through to the authorisation controls in the 11.0.x versions.
    The control is still in the Store menu, but first (if you're using iTunes versions 11.0.x) you might need to bring up the menu bar to see the Store menu.
    If you're using 11.0.x, click on the wee boxy icon up in the top-left corner of your iTunes to see the "Show Menu Bar" control, as per the following screenshot:
    Then you'll find the control in the Store menu:
    Alternatively, if you don't want to bring up the menu bar, it's still possible to get into the authorise controls via nested menus accessible from the wee boxy icon. Here's a screenshot of where to find them:

  • Using bonjour fopr the first time

    I have a PC (XP) and Mac G4 (OSX10.3.9) on the mac I have an epson RX620 USB printer. I have tried constatnly to print from the pc via the mac to the printer. I was hoping I maybe use bonjour for the connection.
    But after I installed the app on my PC and making sure printer sharing was on on my mac I started bonjour for the first time.
    When it started it there was no Bonjour printers available?
    I am really unsure what to do next.
    Please can anyone help!!
    LISTER!

    Just a quick question. Would my computer be able to run Tiger?
    Machine Model: Power Mac G4 (AGP graphics)
    CPU Type: PowerPC G4 (2.8)
    Number Of CPUs: 1
    CPU Speed: 400 MHz
    L2 Cache (per CPU): 1 MB
    Memory: 448 MB
    Bus Speed: 100 MHz
    Boot ROM Version: 4.2.8f1
    Serial Number: CK0050XCHSE
    its one of the first G4's with A
    10gig hardrive?
    L I S T E R
    G4 400Mhz Mac OS X (10.3.9)
    G4 400Mhz   Mac OS X (10.3.9)  

  • Controlling the appearance of a new browser window coming from a weblink

    Hello all,
    I have a weblink. When the end user clicks on the web link a new browser window opens up.
    I would like to be able to control the appearance of the new browser window. I want to be able to hide url address bar, tool bar and all menus.
    Is there a way to do this by editing the weblink in CRM OnDemand ?
    Thanks,
    Trish.

    Trish, if it is possible it would need to be in the URL and I think you'll need to do a google search to find out how you pass IE attributes into a URL.
    cheers
    Alex

  • Using Mavericks for the first time, day two- heeeelp!

    OK, long story short:  old MacBook Pro with Snow Leopard went to Apple Heaven and new MacBook Pro with Mavericks (also is a 15" 2.3GHz i7 512GB flash drive machine with 16GB RAM) got a "data transplant" via Migration Assistant or whatever it is called.
    The new MacBook Pro essentially took all the data and all my settings/preferences as well as my crucial software which is disk-loaded (I bought an external drive, arrived today), rejecting only what was incompatible (unfortunately my Oldie But Goodie Photoshop).
    So far, so good.
    Now-  learning curve aside- there is weird behaviour going on:
    1.  The (Chrome) browser screens disappear if internet connection is lost but this is not shown in the wifi so I am never sure if it is loss of Broadband or loss of wifi.  I personally blame BT for this because, after 22 weeks of rubbish service, I know that the connection is less than ideal.  Is this normal behaviour?  Then-
    2.  there was a weird buzz like alarm noise, quite loud from near the palm rest on the left which nearly gave me a heart attack (I am now exceedingly stressed over the matter of breakdown, repair, and another breakdown of my main machine which I had to pay for and then anyway replace).  Should I be worried?
    3.  Final Cut Pro's Compressor is failing on export (I have posted on that forum, after trying the cleaning up of settings and trashing preferences).  Does anyone know how best to uninstall software on Mavericks without completely making a guddle of it?  So that I can reinstall, from the disks and see if I can cure the problem, or is that not even recommended/necessary?
    4.  Clicking a link in Mail will open TWO browser instances since I agreed to the incessant prompts to update software (yes, it restarted).  I hope that this is a passing phase because it is like it is launching as many windows as clicks for an apparently unresponsive link...?  Does that make sense?  And-
    5.  My user folder has a "1" after it, probably because it is a duplicate of the one from the old Mac?  Can I get rid of that "1" or am I stuck with it?  I wish I had been able to just bring in the applications, my Mail, my iPhoto and some utilities I value.  But the option to migrate is very all (with just three or four option) or nothing.
    Finally-  signing into the forum after viewing as a guest doesn't work first time.  I end up having to press "sign in" a few times to see my name pop up.  And even then I still cannot go into some threads without me being "signed out" again.
    Folks-  thank you for reading.  I love Snow Leopard, never thought that I would end up with having to use Mavericks with ZERO time to adapt (as is Sod's Law-  I have a client with a deadline who has already been waiting three weeks due to the demise of my main Mac) and ANY help coping is immensely appreciated.

    1.  I assume that that suggests that it is not normal for a browser window to respond with minimisation?  It is just weird when a window just disappears, no reason given (and since there is no obvious loss of internet it can take you by chance)
    2.  Good that you ask.  No, it hasn't.  I meant to say when I first posted.
    3.  Thanks, I gather that.  It is just that Mavericks is so different from what I am used to.  Sigh...
    4.  It has calmed down but there is absolutely no rhyme or reason to it.  Forgot to mention that I had my first ever crash of Final Cut Pro since I have been using it nearly daily for four years.  I even had Chrome crash on me in mid-upload (drat, drat, drat!).  I don't click or plough on- I stop, think and consider. Hence me posting.  Mavericks is just not as "smooth" as Snow Leopard to me.
    5.  Yes, I understand.  I just wish it would show me both instead of just the one with the "1". 
    Tell me about it!  It is impossible, I came here to answer via the link in the emailed notification, was already signed out and signed in and was returned to the front page.  Had to go back to my Mail, click the link again and this time, luckily, I was signed in.  In other words- the session is impossibly short and signing in doesn't return you to the browser window you were but rather returns you to the front.  Meh.

  • Attempting to use bluetooth for the first time, and it never sees any other devices

    I have an iPad 2 about a year old, running iOS 6.0.1.  This morning I tried to connect to another iPad, over bluetooth, and neither iPad is able to discover the other.  This is the first attempt to use bluetooth on either of these iPads.  The other iPad is also running iOS 6.0.1.  The iPads were less than 10 feet apart.
    On both devices, I went to settings:bluetooth, and turned blutooth "on".  This opened up a "Devices" box, which says "Searching...", with a spinning wheel icon. Below this box is says "Now discoverable".  Both devices remained in this state.
    I haven't used bluetooth before so I have no idea what I am doing wrong.
    Later in the day I fiddled with the bluetooth systems prefs panel on my desktop (a circa 2005 intel mac running OSX 10.6.8).

    (hadn't finished my earlier message but somehow it posted it before I was ready).
    From the OSX bluetooth panel, I turned bluetooth on, and made my computer discoverable.  I then hit "setup new device", and was taken to the Bluetooth setup assistant.  After a few seconds it showed me my ipad as one of the devices it had discovered.  Over on the ipad, though, it did not discover the desktop machine.
    After about a minute, I then selected the ipad from the list of devices on the desktop machine, and hit "continue".  At this point it said "attempting to pair with MyIpad", and "connection established".  At the same time, a panel popped up on my iPad, listing my desktop machines name, and asking for a PIN.  It is not clear to me whether it is asking for a PIN that I have supposedly set up on the desktop machine, or if it is asking me to establish a PIN.  So I quit.
    In any case, my goal in going through this attempt on the destop machine was solely to establish whether the bluetooth hardware is working on the ipad.  I believe that has to be true.
    So, can someone explain to me what steps I am *supposed* to go through to pair up two ipads over bluetooth?

  • Open the HTML attachment in new browser window

    Hi all,
    There is a Bsp application in which the table view has list of all attachmnets.
    When I click on a cell a popup opens asking whether the file is to be opened , saved or cancel.
    When I click on open then if it is a TXT attachment it opens in a notepad but if it is an HTML attachmnet it gets opened in the same browser window instaed of a new one.
    What do i do to open the HTML attachment in a new Beowser window.
    Regards,
    Sweta.

    Hi Durairaj,
    The thing is that I did not get the desired answer to my query and the thread was posted in a wrong forum thus I have the query again inthe correct forum.
    Regards,
    Sweta.

  • HT3275 Tried to use TM for the first time.  Can't get it to scroll back at all - everything is grayed out.

    I can scroll through the dates.  They highlight and expand when I scroll through them; some gray (local) and some magenta (on my backup disk). 
    But nothing at all happens when I click, right click, or double click on ANY earlier date.  The back/forward arrows in the lower right are also grayed out and without function.
    I tried it with and without the backup disk attached (just trying to recover a file that I goofed up this morning, so last night is fine.)
    I did NOT set any files to be excluded from backup, except for the backup disk itself.  The backup disk is FAR away from being loaded; 43 GB out of 500.
    Any ideas?

    OK, I may have figured out my problem, since jakeloveslucy steered me to the Time Machine Preferences panel.
    I use my MacBook for business, and I travel a lot, so I have FileVault turned on, and I make a fresh backup last thing before each trip, just in case the MacBook gets lost, damaged or stolen. (Duh.) 
    When I went to the "Select Drive" part of the Preferences Panel and selected my Firewire external drive, it said:
    "FileVault is turned on for one or more user accounts on this computer. Time Machine backs up home folders protected by FileVault only when the users who own those home folders are logged out.
    You can’t browse or restore individual items of a home folder encrypted by FileVault in the Time Machine backup. To restore all files and folders from this type of backup, start up from a Mac OS X Install disc and select “Restore System From Backup” from the “Utilities” menu in the Installer."
    As I read that, since I'm the only user of this machine, I can only back up when I'm logged out (?!), and I can only recover with a full backup, not individual files.
    So Time Machine is useless if you use FileVault to protect your data?  Please, someone, confirm or deny!

Maybe you are looking for

  • TX1410US and Windows 7 - How To Install Drivers?

    How do I install the drivers for the following components of a Pavilion TX1410US notebook under Windows 7:  - Wi-fi connection hardware  - The buttons on the screen (incl. the media keys there - because those aren't responding)

  • Disabling the Open button in the JFileChooser dialog

    Hi, I would like to enable/disable the Open button in the JFileChooser dialog, after the dialog is shown. I looked at the Java APIs but I could not find a method that gives me the access to this button. Could anyone let me know how to either retrieve

  • Does Apple will also release Lion OS downloadable in CD's?

    If so when will it be?

  • Re: android for bb playbook

    hi this is my 1st post, i have been told the 17th feb for the bb playbook android app to go live, what i'm confused about is do i have to download anything or will it just connect to my bb playbook, itself,  i'm a bit thick when it comes to things li

  • How to import and append data on existing table ?

    Hi.. I have done export data from tmp_nv2_nrm_ain table into some file using the command as below:- exp username/password tables=TMP_NV2_NRM_AIN file=TMP_NV2_NRM_AIN log=test.log constraints=no The question is how could i import the data from file ba