Is there a timer in jdev

is there a such thing as a timer or wait option in jdev. in other words can you place a stop in the code to wait 10 seconds before proceeding.
if so what is called.
thanks

You can use a simple js function
function pausecomp(millis)
var date = new Date();
var curDate = null;
do { curDate = new Date(); }
while(curDate-date < millis);
Include the js function in pagecontext using putJavaScriptFunction and Call it in OnLoad API in OABodybean.
You can also use the same logic in java code in process request that should also work, although I haven't tried it.
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • When creating a new window in safari, using command T, the marker have not activated the search field. It means you have to click there every time. Changed after upgrading to Mavericks. Anyone knows how to change this?

    When creating a new window in safari, using command T, the marker have not activated the search field. It means you have to click there every time. Changed after upgrading to Mavericks. Anyone knows how to change this?

    Yes, you can do something like that. What you would do is create a button for each image and then hide them. When I do this type of thing I place all of the buttons on a template page and then hide the template.
    You can then use JavaScript to copy the icon from any of the hidden buttons to the main button that you've set up to display the image. For example, suppose you set up 10 buttons named b1, b2, b3, ...b10. The code to copy the icon from one of them to the button used to display the image (b0) would be something like this:
    // Get the icon from the b3 button
    var oIcon = getField("b3").buttonGetIcon();
    // Get  reference to the b0 button
    var f = getField("b0");
    // Set the icon of the b0 button to the icon retrieved from the hidden button
    f.buttonSetIcon(oIcon);
    // Show the b0 button
    f.display = display.visible;
    This code would go in the Mouse Up event of the smaller button.

  • ''Well When i plug in my ipod touch the battery life is low..i let it sit a wyhle.And it starts up to the apple logo and it stay there some time then it restartsback over to the very low battery and repeat(Over&Over)?

    ''Well When i plug in my ipod touch the battery life is low..i let it sit a wyhle.And it starts up to the apple logo and it stay there some time then it restartsback over to the very low battery and repeat(Over&Over)

    Can you reset the device by holding the sleep and home button until the Apple logo comes back again?
    If this does not work, try to connect in recovery mode, explained here: iOS: Unable to restore

  • I tries to backed up and storage on iCloud but its just shows down below "Estimating time remaining" but theres no time remaining !!! And i connect to the Wifi already and i buy a storage capacity !!! But its not backing so what should i do in that case !

    I tries to backed up and storage on iCloud but its just shows down below "Estimating time remaining" but theres no time remaining !!! And i connect to the Wifi already and i buy a storage capacity !!! But its not backing so what should i do in that case !!!?    

    Welcome to the Apple Community.
    First check that your device is correctly connected to the wifi/internet (settings > wifi)
    If your back up continually fails, you might try turning off back up on your mobile device (settings > iCloud > storage & backup) and then deleting the backup file from iCloud by swiping the backup file on the mobile device (settings > iCloud > storage & backup > manage…) and then turning back up on again.
    If this doesn't help, try turning off some items for back up in a pattern to try to establish if your problem is being caused by specific data on your device.
    Being able to back up to the cloud can be very useful, especially if you don't have access to a computer or have infrequent access to one, however unless you specifically need to use iCloud for back up, you will find backing up to iTunes significantly more convenient and possibly more reliable.

  • I have a Lion content code for the free update. Is there a time limit on how long I have to download it

    I received a web order number and content code for my free update of Lion. Is there a time limit on how long I have before I must actually download the application? Thanks. JVC

    There is a time limit.
    http://www.apple.com/macosx/uptodate/

  • Is there a time limit for a podcast to publish on iweb?

    I am creating a podcast in Garageband.  I would like to do it in a series of 13 minutes for each lecture.
    Is there a time limit or file size restriction to publish on my website in iweb?

    I don't think so (provided you have sufficient space on your host), but to get a better answer, you should ask the question in the iWeb forum.
    (this is a mirrored question, somehow it got posted twice, so if you want to respond, try responding to the other thread and let this one drop into forum oblivion..)

  • Is there a time limit for how long a free form can be used/accessed?

    Is there a time limit for how long a free form that is created can be used/accessed, or is it soely dependent upon when the 50 respondent max has been reached?  I am creating a form now, that will likely be distributed in early January, and I want it to be accessible through the end of June, 2013.  (I am simply using the option to create a single form for free- not the 30-day trial). 

    There is no time limit. The limit is the 50 responses.

  • One of the users on my Mac book pro, running Mountain lion finds that no changes made in last session are there next time they log on

    One of the users on my Mac book pro running mountain lion finds that no changes made in last session are there next time they log on.
    For instance, the Macintosh HD icon, is always moved so that it is almost off the screen to top left hand side of the desktop.
    None of my changes to the sidebar in the finder are there.
    My changes to the dock have reverted.
    Despite unticking the box when logging out, even though i have quit all applications, iphoto and safari are always re-opened.
    iphoto always says the library needs to be upgraded... even though i did that the last time.
    I have tried deleting ALL the files in the "Saved application state" folder in the library folder, but that doesn't seem to make any difference.
    This is on a second admin user account.
    The main user account seems to be fine.
    This account used to be in the filevault on Lion, but is not now in Mountain Lion.
    Can anyone help?
    Thanks

    The same tragic thing happened to me, not even a full two days after I bought it. I immediately powered it off, wiped it as best I could, and put it in front of a fan. I tried valiantly to get the back off, but couldn't remove all the screws. I was basically inconsolable until I realized that no matter what, my credit card insurance would cover it, since it had been less than 90 days. Fast forward 48 hours, and it seemed to run just fine. Some of the keys and the track pad were sticky, and I figured since it was covered, I might as well get it fixed. My only concern at this point was had I voided the Apple Care. I brought it in, told them what happened, said what I needed to satisfy the credit card, and they said, "We'll just swap it out for you, no problem." I was thrilled, and the Genius said they appreciated my honesty, and it was easier for all parties to just do it this way. And my Apple Care was transferred to the new machine. This was my first Mac and, needless to say, I am now an Apple devotee.

  • Trying to up grade from Contribute 4 to 6.5! Is there a time limit how long you own a Licence?

    We bought Contribute 4 sometime before 2006! When trying to Up Grade the first Agends where very helpfull and wanted to Activate it with an 1 time Code!
    We managed to activate it finally in Win7! Only two weeks later the Labtop broke down and we managed to get the Software deactivated by using an old Computer from our local repair shop.
    Now I tryed to activate it again in Win8 and the next ADOBE agend told itś not possible to Up grade from Contribute 4 to 6.5, because the Serialnumber is to old!!!

    Hi,
    the old mashine is broken down and the company AVALON, who
    installed the program has no records anylonger about the program
    details.
    They only gave us the inf that the program is Contribute
    Version 4 and they didn´t even know if it was a single licence or if
    they had it under Company licenze.
    I managed a few weeks ago to
    activate the up grade to my Labtop, because after the winter season we
    had some holiday time and I tried to get it done at home.
    Onfortunatly
    my own Labtop crashed a week after.
    Now we started to work and we have
    to up grade the Webpages.
    Kauko bought the update for 115 EUR in
    January and he is not going to like it when I tell him they gave us
    wrong Info from AVALON when asking if the up date is working or not!
    So how we proceed?
    On 20-05-2013, Shekhar_Dhiman wrote:
    RE:
    TRYING TO UP GRADE FROM CONTRIBUTE 4 TO 6.5! IS THERE A TIME LIMIT HOW
    LONG YOU OWN A LICENCE?
    created by Shekhar_Dhiman in
    Contribute General Discussion - View the full discussion

  • Hi there - Every time I try to open an app, it seems to crash. Has anyone experience this problem? Suggestions are appreciated for getting this fixed. Thx!

    Hi there - Every time I try to open an app, it seems to crash. Has anyone experience this problem? Suggestions are appreciated for getting this fixed. Thx!

    - Reset the iPod. Nothng is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Purchase/.install any new app.
    - The remaining items here:
    iOS: Troubleshooting applications purchased from the App Store
    - Last, restore the iPod

  • Bonjour keeps generating error event 100. It's there 128 times in a week! What does it mean?

    Bonjour keeps generating error event 100 in windows 8.1 event viewer. It's there 128 times in a week! What does it mean?

    Hey Michael,
    That error could be cause by a conflict with the firewall on your computer. Take a look at the articles below to go over some troubleshooting as well as verifying that Bonjour was properly installed on your computer. 
    iTunes for Windows: Bonjour alert due to firewall, security, or proxy software
    http://support.apple.com/en-us/HT203392
    How to tell if Bonjour for Windows successfully installed
    http://support.apple.com/en-us/HT201776
    Take care,
    -Norm G.  

  • I have iwork on two computers, but my account doesn't show record of it for my being able to reinstall on the new computer.  Is there a time limit?  I tried airdrop, but it won't let me use it.

    I have iwork on two computers, but my account doesn't show record of it for my being able to reinstall on the new computer.  Is there a time limit?  I tried airdrop, but it won't let me use it.

    Sounds like you installed iWork from before there was the Mac App Store.
    If you installed it from a Family DVD you are entitled to install that on 5 computers and can do that from the DVD.
    If not then you need to purchase it from the M.A.S. and will be able to install it on any of your computers using the same Apple I.D. However Apple is promising a new version before Christmas so it may not be a good time to buy now.
    Peter

  • There are times when I try to start firefox 3.6 that it does not come up,but when I click it again, I get fire fox is running but not responing, close fire fox, or shut down computer. There are other times that it starts up normaly wit no probs

    # Question
    there are times when I try to start firefox 3.6 that it does not come up,but when I click it again, I get fire fox is running but not responding, close fire fox, or shut down computer. There are other times that it starts up normally wit no probs
    ..

    Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
    Someone on this forum suggested, that USB3 may interfere with the magic mouse.
    I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
    Thanks for the advice, Bee
    Cheers, Gerd

  • If I download a tv show to my iPad can I watch it when I am on an airplane?  Is there a time limit on how long I have to watch the tv shows if I down load a complete season?

    If I download a tv show to my iPad can I watch it when I am on an airplane?  Is there a time limit on how long I have to watch the tv shows if I down load a complete season?

    If you download a purchased TV Show or movie to the iPad, you can watch them anywhere. I have downloaded several movies to watch on flights.
    I don't one know much about TV shows, but as far as I know, you can't rent them, you have to purchase them and there is no time limit because you bought it.

  • TS1362 some songs quit in the middle of the track even though there is time showing. It goes right to the next song.

    Songs quit in the middle of the track even though there is time showing. It goes right to the next song. Can I fix this or recover the full song?

    I just found out how to solve the problem today
    Go to the original location of the song. Meaning, if the song file is on the desktop then go there and individually click the songs and they'll play on Itunes perfectly fine
    I'm not sure why this happened but I hope that works for you!

Maybe you are looking for

  • How To See Numbers In Arabic Instead Of Indian Format

    I want to see numbers in Arabic format not in Indian format when i log on the Arabic Interface . I have EBS (12.0.6) installed on Linux centos , I have implement the below Oracle Metalink Note to solve this issue How To See Numbers In Arabic Instead

  • Searching for photos by lens

    how do I search for all photos taken with a certain lens?  thanks joanlvh

  • Help - save smart folder window disappearing

    Dear friends I have a really big problem with saving smart folders : i do all the steps until I press "save" - at that point the save widow only appears for 1 second and than disappears so I am unable to specify the location where I want to same the

  • Discussion service unavailable

    I config oam with webcenter successfully. I wanna config discussion service connection at /em take the following url as reference. http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e12405/wcadm_services.htm#CHDGAICG I've checked all my step

  • Dynamic Convert get conversion error-Unable to get dynamic conversion.

    Hi , I cheked in a Academy template that system delivered in path /app/ucm/server/customer/DynamicConvert/samples/gui_template and a default layout that system delivered in path /app/ucm/server/customer/DynamicConvert/samples/gui_layout. Then i click