Auto submit page only on first time load

hi all.
i ve a requirement to display a report for a particular value of an LOV. now the problem is, until i dont submit the page, report do not show for the first displayed value of LOV. so i need to submit page so that a default report is displayed for the first value being displayed in my LOV. i have used following function in page's after footer processes:-
        begin
        htp.p('<script type="text/javascript">');
        htp.p('document.wwv_flow.submit();');
        htp.p('</script>');
        end;
guess what.....? my page freaks me out by refreshing again and again and again..............same old GW BASIC infinite-loop-hang-up type thing............
plz help me up

Hello,
no wonder your code results in an infinite loop. A submit means that the page gets reloaded, and the code is executed each time the page loads. Remove that code.
As for the intial problem, try setting the source value of your select list to the desired value.
Regards,
Dirk

Similar Messages

  • UploadedFile & https Only work first time upload ????

    I am using 10.1.3.4 Jdev. I use UploadedFile interface to upload files from local PC and ftp files to unix server. My "upload" web page works between my local PC and Unix server, but it only works first time upload file and ftp between
    https server (application server--weblogic 10.0) and Unix server. If I just use http without SSL and my codes work fine you can upload file as many times you want and ftp them to Unix server. I used FTP not sftp to transfer files from application server to unix server. Can anyone shed some lights on my head ???? Thx.

    Yes. I changed my code to SFT from ftp. it works. Thx. This URL for sftp: http://www.jcraft.com/jsch/ and is very good .
    Edited by: albertpi on Feb 11, 2010 8:05 AM
    Edited by: albertpi on Feb 11, 2010 8:05 AM

  • How do you download all chapters of a video at once?  I purchased a yoga video with multiple chapters and only the first one loaded.  It says I can't download another chapter for 90 days.

    I purchased a yoga video with multiple chapters and only the first one loaded.  It says I can't download another chapter for 90 days.  How do I get all chapters to download?

    Once a device or computer is associated with your Apple ID, you cannot associate that device or computer with another Apple ID for 90 days.
    http://support.apple.com/kb/ht4627

  • In advanced search page for the first time choices value disapper

    Hi,
    I have a problem with advanced search page, in the advanced page for the first time choices field values are disapper when refresh page then all of the choice fileds value ara appear
    Thanks;

    You can create a test case based on the JHS Demo (shipped with JHeadstart 10.1.2.2) or the HR Schema (see http://www.oracle.com/technology/products/jdev/tips/muench/jhstutorial/index.html#setuphrschemaanddata). Please e-mail it to [email protected],
    * removing the cabo folder from the web root (public_html) before zipping it, it makes the zip much smaller
    * renaming the .zip file to something like .zipped, otherwise our mail server will not process it
    * including detailed steps to reproduce the problem.
    Thanks,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Need to restrict triggering of workflow only once(first time).

    Hi guys,
    I hv a requirement to trigger the workflow only once(first time).
    whatever is the the condition/changes in document, it should not trigger for second time.
    do we hv any options available for this........
    thanks in advance...
    santosh.

    Hi susan,
    Below is the requested information,
    Release : ECC 6.0
    we are working on custom WF for ECO creation(CC01).
    Description,
    ECO is created in SAP by legacy system, thru bapi CCAP_ECN_CREATE, the WF will take the editing of the material in that ECO to different departments like MRP, accounting, sales,quality etc.... & respectively creates the views.
    we cannot use CREATE event, bcos first the ECN(CC01) is created by bapi & further bapi creates the material & inserts it into ECN again, which is CHANGING the document. once this is done, our WF should trigger.
    As we dont have CHANGE event in ECM BO, i am using CREATE event & settting it for ON CHANGE in SWEC t-code.
    Bottomline is , it is triggering as soon as any changes happens.
    But, we want it to restrict for one time triggering.
    Regards.
    santosh.

  • Taking action only the first time an event executes

    I want a certain action to occur only the first time an event handler for a button is called. Is there a simple way to do this?
    Bill F

    There are two pretty easy ways to do this.
    If you want to continue to trap other events (other event cases in your event structure), use a shift register:
    1. Add a shift register to the loop containing your event structure. (right-click on the left-hand border of your loop and select Add Shift Register).
    2. Wire a numeric constant = 0 from outside the loop to the input (left-hand) terminal of your shift register.
    3. Inside your event structure, in the event case you want to handle only once, put a case structure around the code you want to execute only once. That code should be within the True case.
    4. Add an Equal To 0? function (from the comparison palette) to the loop. Wire the input shift register to the input of Equal To 0?. Wire the output of Equal To 0? t
    o the selctor for your new case.
    5. Within the True case of your new case structure, add a numeric constant = 1. Wire that constant out to the output (right-hand) side of your shift register.
    6. Within the False case of your new case structure, wire the input side of your shift register to the output tunnel created by the wiring in step 5.
    This way the event structure will keep running and handling other events, but the case you just modified will only run the first time: the first time you get the event, the shift register will = 0 so you'll execute the True case of your new case structure. Within that case, you set the shift register to 1. The next time you get that event, the shift register = 1, not 0, so you'll execute the False case and not the code in your True case.
    If you want to stop all event handling after the first event and your event handler is the only thing with its loop, from the event case (for the event you want to stop on), wire a True boolean constant out to
    the Stop terminal of the loop containing your event structure.

  • App file sharing: files are displayed only the first time...

    clicking somewhere else and then back to the application that you want to share files are not there any more.
    I've to close and re-open the itunes in order to see them again.
    itunes is running on windows 7 64bit.
    is this a bug ?
    thank you.

    Hi! I have the same, exact problem. The files are displayed only the first time I look at the apps listed under File Sharing. If I look at another app on the list, the files on the one I previously checked are gone when I look at it again. Is there any way to fix this? I have a Lenovo X61s on Windows XP Professional 32 bit.

  • QuickTime launches slow but only the first time

    QuickTime is slow in Mac OS 10.7, that's been widely discussed.
    In my case, QuickTime is slow to open up a video file (MP4, AVI, WMV, etc,), but only the first time.  After I've successfully opened up the one video file, all subsequent video files open up quickly, even after quitting QuickTime.
    However, after a restart it's the same old situation again.
    Is QuickTime installing something, then removing it when the computer shuts down?

    QuickTime is slow in Mac OS 10.7, that's been widely discussed.
    In my case, QuickTime is slow to open up a video file (MP4, AVI, WMV, etc,), but only the first time.  After I've successfully opened up the one video file, all subsequent video files open up quickly, even after quitting QuickTime.
    However, after a restart it's the same old situation again.
    Is QuickTime installing something, then removing it when the computer shuts down?

  • How to block first time loading data in View Object for searching

    hi all,
    I am using jdeveloper ADF 11g 2 release. i am making search page. but i make it manually, not use ADF query pannel.
    I drag and drop the adf read only table. it can execute using Lov and date time range using backing bean.
    eg: vo1.setWhereClause(whereClause);
    vo1.executeQuery();
    where clause can change dynamically.
    But my table indicate vo which load it all data first time page loading. I add all tuning performance,but no data option is for insert only. so like that option can make programmatically and can execute query??
    This method I used because of I can not make searching options what I want in ADF query pannel. Is there any way add 3 options but display all table fields??
    hoping help anyone.,thks

    Akash ,
    thanks ur reply.
    how to call that method? I made this method in my AppImpl class
    public void loaddata(){
    ViewObject viewObject = this.findViewObject("EstimateSearchDet_VO1");
    viewObject.executeEmptyRowSet();
    then in my backing bean make this after phase method..
    public void view_afterPhase(PhaseEvent phaseEvent) {
    // Add event code here...
    EstimateSearch_AMImpl amob= new EstimateSearch_AMImpl();
    amob.loaddata();
    BUT it say loaddata() can not find? what should i do?
    in view property After phase include this..
    #{backingBeanScope.backing_EstimateSearchnew.view_afterPhase}
    it is underline and say After phase is not define property.
    thks

  • Cannot get the parameter from a HTML page at the first time

    Hi everyone,
    I have a html page with <input name="username" ...>, and the submit action is a url to my JSF web application. In the start page of the JSF webapp, I use following code to get value of username.
    FacesContext facesContext = javax.faces.context.FacesContext.getCurrentInstance();
    String userName = (String)facesContext.getExternalContext().getRequestParameterMap().get("username");
    However, I cannot get it at the first time. The strange thing is if i click "refresh" button, the value of username is shown up on my page.
    Why? and How to solve it?
    Thanks in advance,

    Hi,
    Are you putting this code in the public void preprocess() method?
    Check out
    http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/app_model.html
    The assumption is that Creator is being used.

  • Exception occurs only the first time

    The server listens on a port to which client connects in applet mode. Every time client connects to server for the first time (i.e. after a fresh server installation), the client pops an exception:
    java.io.InvalidClassException: javax.swing.ImageIcon$AccessibleImageIcon; local class incompatible: stream classdesc serialVersionUID = -3994512798706967451, local class serialVersionUID = -1903458698681874148.Subsequent client connects to server does not pop this exception. i.e. This occurs only for the first time.
    Through posts in forum, I thought that this could be due to swing serialization incompatibility across version.(But in this application both server and client are on the same m/c having a single JRE and JDK, both are of version 1.4.2 )
    But I am not able to reason out why the exception occurs only for the first time and then disappers in subsequent connects. ( despite clearing javaws cache and Browser cache and restarting server ... and it works on RMI mode).
    What could be the reason ?

    Hi
    We recently changed our load balancer to a new load balancer. we get this error only after the load balancer change.
    When the error occurs, I could see ORA-12571 error message only in the application error log. The listener.log has only the following message about TNS 12502. It does not have any message about ORA -12571.
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2202)) * establish * AppName * 0
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2203)) * establish * AppName * 0
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2204)) * establish * AppName * 0
    12-MAR-2010 12:24:09 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    Thanks
    Ashok

  • OSB project artifacts first time loading causing delay

    Hi,
    We are facing a delay between our proxy service and business service. The proxy service is loading its WSDL and schema from a common project which is having around 2500 wsdls and 6000 schema. The delay occurs first time we hit the service and again after 10 mins or sometime after 1hour. If we hit the service just after first time hit, then we don't see any delay between proxy service and business service. We have tried using routerruntimecachesize property but its not helping much as we only have 60 proxies and the default value for routerruntimecachesize is already 100.
    Please suggest if you have faced this issue and if there is any tuning or change that we can do. This has become blocker for our go live.
    Thanks

    All the symptoms you quote sure sounds like a bandwidth issue to me. 
    Obviously when you load a project directly from your hard drive then there's no issue with bandwidth.  But if you're pulling down 10 megs from a web server and it takes a while to start then bandwidth is the obvious issue.  I agree that 3-4 minutes sounds excessive for a 10 meg file but that depends entirely on how many users are sharing your bandwidth.  Try getting your people in these different locations to visit one of those websites that allows you to test your actual bandwidth.  It might not be as much as you think.
    On another note...What do you have your preloader set to?  The default is 100% but you can usually set it to something like 25% without too much trouble.  That should cut the start time down appreciably but nothing is going to eliminate it completely because there'll always be some initial lag the first time your learners view the content.

  • Time machine would back up only the first time after I shut off my imac and started it up again.  Then it would fail or claim it could not locate my external Hard Drive even though it's icon was showing in the time machine dialog window.

    Time machine only ever backed up the first time it runs immediately after I start up my computer after it has been shut off.  All other back up attemps fail.  Recently it stopped recognizing the icon for my external hard drive in the time machine dialog window where you select the hard drive to back up to, and turn on and off the time machine function.  Now the external HD icon only shows up on the desk top but no longer in the dialog box. I just tried shutting the computer off and turning it on again and now the light is on, on the external hard drive but the icon does not even appear on the desk top.
    The external hard drive is a 1TB Seagate. The drive still has plenty of unused capacity.  I ran a diagnostic test on it. It said the disk needed repair but the repair function would not work. The message stated that it could not be unmounted and repair is not available because the disk can't be written to. The Mac OX utility said the disk can still be opened but can't be changed nor repaired.  The external HD is not S.M.A.R.T. supported.
    I haven't tried replacing the cable yet. Is that the next thing I should try?

    What Mac OSX version are your running ("iOS" as shown in your profile cannot run on a Mac computer)?

  • Hyperlinks work only the first time clicked when published

    I am using hyperlinked text captions for slide navigation within a course.  I have placed the text hyperlinks on the master slides so they appear throughout.  The hyperlinks either link to an external pdf (job aid) or to another slide within the course. 
    When I publish the course, the hyperlinks only work the first time they are clicked.  All other times, I get the hand cursor when I roll over them, but nothing happens when I click.  Is there a setting somewhere to allow for infinite clicks on they hyperlinks?

    Hi there
    Odd that this would happen. There is no setting I'm aware of that determines the number times a link may be clicked.
    My guess is that something else is going on. Normally, the slide is paused when the link is clicked. Is this the case for you? One thought is that by clicking the link, the pause is released and perhaps the link is then no longer active because the playhead reached a different spot?
    Cheers... Rick

  • BATCHINPUT: Screen appears only the first time

    Hi everybody,
    I have the following situation in R/3:
    On transaction ABZON when the user selects this transaction for the first time, appears a window asking for the company field (BUKRS). If the user enters the same transaction again without login off, that window doesn't appears going directly to the transaction's main screen.
    The problem is that I have to make a batch input of this transaction but doesn't want the user to logoff every time it needs to run the batch input again.
    How can I avoid that screen to appear or force the batch input to always show that screen.
    If anyone can help me will be appreciated.
    Thanks,
    Orlando.

    Orlando,  I've ran across this is same problem in another transaction.    What I did was I "separated" the transaction.  Meaning the first thing that happens when the transaction runs, is to take care of the window that appears only once during a log on session.  Then later when doing the BDC to actually do something, it will not need to have this part of the recording.
    So for example, do your recording for the window that pops up enter a value, and back out of the transaction.  Call this BDC code before doing any of the rest of the transactions.  Not that the value is filled, it will not pop up again during the rest of the session.  Call your BDC to process the rest of the transaction.
    Regards,
    Rich Heilman

Maybe you are looking for

  • How do I add a Lotus Notes account to Entourage?

    Hi there, Our company uses Lotus Notes for email, and we recently got Lotus Notes Traveler set up on our iOS devices for email access via iPad/iPhones through Mail. I'd like to know if it's possible to set up access to my Lotus Notes account through

  • Multiple abends on server hosting groupwise webaccess

    Hi all, I've suddenly got a problem with my Webaccess agent, this started happening a couple of weeks ago and I've tried to install the agent on another server. Problem: After the server abends about 10-20 times i get this message in agent log window

  • Click hyperlinks in pdf via vbscript

    hi all, i'm pretty new to using adobe sdk. i have win xp with ie 6. i have adobe professional 8.0 installed. via vbscript, i can create acroexch.app, avdoc, pddoc. but i can't create acroexch.pdannot object. this is my problem: i have pdf documents,

  • User cannot Click Anywhere to Continue on some quiz slides

    In Captivate 4, on some quiz slides, after the correct answer has been submitted, the user must click on the "click anywhere to continue" box in order to move ahead. This happens only on some quiz slides. Others, the user really can click anywhere. A

  • NO SOUND WHEN MOVING VIDEOS INTO iMOVIE!! something about Mpeg muxed?!?!

    I recorded my videos with my sony cybershot camera - no problems. I can rip them onto my Macbook Pro and watch them in quicktime and hear the sound just fine - no problems. But, when I pull the videos into iMovie HD to edit and try to watch the play