How to make the application temporarily stop (pause)

Hi,
I'm using Jdev 11.1.2.3.0
My use case is:
+ I have index.jsf: load list of regions (List<TaskFlowBindingAttributes>)
+ in an action of one region (For ex: A-flow.xml), i will add another region to the list of regions
addDynamicRegion("B-flow);  
+ My requirement is: all codes after <<addDynamicRegion("B-flow); >> will be wait util the app finish adding B-flow.xml and get out of B-flow
+  this action is the same with : Call_Form Built-in of Oracle Forms
P/s: my addDynamicRegion is just simple :
public void addDynamicRegion(String flowId) {
RunForm runForm = (RunForm)JSFUtils.getManagedBeanValue("runForm");
TaskFlowBindingAttributes taskAtt = new TaskFlowBindingAttributes();
String flowName = flowId.replace("-", "_");
taskAtt.setId(flowName);
taskAtt.setTaskFlowId(new TaskFlowId("/WEB-INF/" + flowId + ".xml", flowId));
runForm.getTfBindingAtts().add(taskAtt);
UIComponent form = getFormComponent(FacesContext.getCurrentInstance().getViewRoot());
AdfFacesContext.getCurrentInstance().addPartialTarget(form);
Thank you very much                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Hi,
  this action is the same with : Call_Form Built-in of Oracle Forms
no, its not because a call form navigates to the called form module, which is comparable to a task flow call activity and not a region.
http://imdjkoch.wordpress.com/2010/07/23/open_form-vs-call_form-vs-new_form/
"Runs an indicated form while keeping the parent form active. Oracle Forms runs the called form with the same Runform preferences as the parent form. When the called form is exited Oracle Forms processing resumes in the calling form at the point from which you initiated the call to CALL_FORM."
(Note: I appreciate any ADF vs. Forms comparison if technically its done correctly)
The regions in a view load according their af:region tags and as such you wont be able to pause loading unless you use the activate condition to point to a managed bean property that returns false so that the region is not initialized.
This is from the JavaDocs of the Class TaskFlowBindingAttributes.
"Set of attributes that define a TaskFlowBinding object. The taskFlowList attribute of the multiTaskFlow element of the page definition uses a list of object of this type to describe each taskflowBinding that the multiTaskflow binding contains. The order of this list defines the order of the region objects in the multiTaskflow binding. "
So adding a region does not give you a chance to stop further loading and you will have to work with not activating not yet loaded regions, which then you need to load manually.
Frank

Similar Messages

  • How to make the whole movie stop

    Hi,
    I want to make a button open a new scene,
    I have that working but it keeps looping,
    How to make the whole movie stop at the end of scene 2,
    Ive tried putting stop(); but that brings errors,
    I want to stop the whole movie, How would i do this?

    click an empty part of the stage in the frame where you want the timeline to stop and in the actions panel type:
    stop();

  • How to make the application offline

    I have X7 phone and each day the amount of my pulse is decreasing. the internet is working but I didnt use it. How can I make the application become offline and not receiving updates. I already set my widgets to offline mode but it still like that. need your help

    go to settings menu...then connectivity...then settings...set "Data use in home country " to always ask....so next time whenever any app would try to connect to internet then it would ask you to either cancel it or other options like  "connect automatically" or "connect this time only" 
    If you want that your phone should only use your home wifi only then set "Data use in home country" to WLAN only

  • How to make the application run in System tray?

    Hi Javamates,
    I have a Swing application. I want my application to reside in the Windows System tray when the application is minimised , and also be restored when it is clicked in the tray . How do i do this ?
    Dinesh

    Pls... do search the forum before posting.. !!
    U can hav a look at this..
    http://forum.java.sun.com/thread.jspa?forumID=257&threadID=177333

  • How to make the application access the fonts from outside library?

    actually the fonts located in the library are considered from the system/library/fonts path. is it possible to make it accessible from outside that path through programatically for indesign applications? if yes means, how to do it?
    thanks
    subha

    i think am not mentioned the question clear.
    the fonts menu inside InDesign lists the fonts from
    for mac: System/Library/Fonts
                  Adobe InDesign CS2/fonts
    for windows: C:\WINDOWS\Fonts
    C:\Program Files\Adobe\Adobe InDesign CS2\Fonts
    is it possible to list the font from someother folder rather than this folders.
    by
    Subha...

  • How to make the SLA time stop when the status of SR is set to Customer Action?

    Dear All,
    When a Service Request is created, the agent take over this SR and then set the status to Customer Action. I know the CRM 7.03 has the ability to exclude the Cumtomer Action time out form the Response time of SLA. However, I don`t know how to set it up. Could somebody help to give me some information about this?
    I noticed that in SLA, there is a Work duration(SRQ_WORK_DUR) and a Total Duration(SRQ_TOT_DUR), which Duration is used to affect the traffic light of SLA MPT time?
    Thank you in advance.
    BR,
    Elvis

    Hi,
    in fact you can only trace duration of Customer Action status lifetime - this you can do by
    SPRO -> ... -> Define Settings for Durations.
    and SPRO -> ... -> Date Management to create this new duration and add to SR dates profile.
    So then in Dates tab of Service Request you will have new duration called eg. Customer Action.
    If you would like to additionally exclude it from Due Date, so you should then add this status lifetime to Due Date - then Due Date would be pushed to the future (eg. Customer Action status took 3 hours, so after changing status to other one you can write down this time to duration, and then add to Due Date).
    For that you need to have a development - eg. using CRM BT Events, or in WebUI layer.
    BR
    Radek

  • How to make the exe always visible in the illust application.

    Hi,
    I created an interface for "illustrator CS" using Visual Basic and copied that exe in Scripts folder. I want to know how to make the exe always visible in the application(Not in Taskbar), once it was clicked. Could you please kindly help me to solve this.
    Regards,
    Prabudass

    Hi,
    I guess....though i am not pretty sure....but the Preview tab has been discontinued in the newer versions....
    Only the Gods can give a perfect solution though...!!
    <i>Do reward each useful answer..!</i>
    Thanks,
    Tatvagna.

  • How to make the exe always visible in the application window

    Hi,
    I created an interface for "illustrator CS" using Visual Basic and copied that exe in Scripts folder. I want to know how to make the exe always visible in the application window itself(Not in Taskbar), once it was clicked. Could you please, kindly advice me.
    Thanks,
    Prabudass

    Hi,
    I guess....though i am not pretty sure....but the Preview tab has been discontinued in the newer versions....
    Only the Gods can give a perfect solution though...!!
    <i>Do reward each useful answer..!</i>
    Thanks,
    Tatvagna.

  • How to make the buttons INVISIBLE in the Application toolbar

    Hi All,
    I have a requirement to create a button in the Application toolbar of the Module Pool Screen. The field should be made Invisible by default. and it should be displayed based on one condition.
    Could you please let me know how to make that particular button INVISIBLE. I think we can make it invisible by using EXCLUDING statement. But, How to make the button VISIBLE again when the check is satisfied.
    I found from the portal that the FM 'VIEW_SET_PF_STATUS' can be used to make a button INVISIBLE. Could anyone help me out how to pass the parameters to this Function module?
    or is there any Function Module available to make the button VISIBLE and INVISIBLE? Please help me on this issues.
    Is there any possibility to make the button VISIBLE or INVISIBLE as we do for the screen fields using LOOP AT SCREEN..?
    Thank you in advance.
    Regards.
    Paddu.

    Hi,
    Try to use below in the PBO module status_0100 OUTPUT.
    DATA t_fcode TYPE TABLE OF sy-ucomm.
    refresh t_fcode[].
    APPEND 'Function code name of the button' TO t_fcode. 
    Check the condition here for which you want to make field visible.
        DELETE FCODE of the button from T_FCODE table
      ENDIF.
      SET PF-STATUS 'STATUS_0100' EXCLUDING t_fcode.

  • Just downloaded the 7.1 IOS update and I'm able to stream my music from the cloud. Does this use up data and how can I get it to stop pausing for periods of time?

    Just downloaded the 7.1.1 IOS update and I'm able to stream my music from the cloud. I'm wondering how I can stream more than just my purchased music?And does this use up data? Also, how can I get playback to stop pausing for periods of time? It is a wifi thing??

    If streaming music when connected to your carrier's cellular network, it uses cellular data.
    Only the music you purchased from the iTunes Store can be streamed unless you have purchased iTunes Match.
    If there is a slow down at the server where the music is stored or high traffic, steaming can be paused. You can also download a song from the iTunes Store cloud to your iPhone so it doesn't need to be steamed.

  • How to make the servo motor to move in steps of set degrees and stop

    how to make the servo motor to move in steps of set degrees and stop

    Hi,
    I think the following document would be a good starting place: NI Developer Zone Tutorial: Single Axis Moves It includes links to several example programs that you may find useful for your application. Keep in mind that there are many motion examples that ship with LabVIEW as well.
    I strongly recommend that you check out the following documents as well:
    NI Developer Zone Tutorial: Simple Point to Point Motion
    NI Dev
    eloper Zone Tutorial: Hands-On Motion
    NI Developer Zone Tutorial: Axis Settings for Motion Controllers
    These tutorials will help give you a good foundation for understanding motion control systems.
    Best wishes!
    Dawna P.
    Applications Engineer
    National Instruments

  • How to make the mobile application work with firewall and anti-virus ON

    Hi,
    I keep on receiving internal processing error when i try to login sap mobile solution 1.3.0 on my ipad and i was provided a solution, that is to turn off my firewall and antivirus. I works by turn off both of it but i cant possible turn of the firewall and antivirus on the server.
    Can anyone guide me how to make the mobile application work with firewall and anti-virus ON
    Thank you

    Dear Rajesh,
    Create a policy in your fire wall to allow the port to send and receive data.
    I believe the port for the mobile should be port 8080 and 8443.
    And your license server port 30000 and 30001
    nd.Q

  • How to make the shortcut (accelerator) a ContextMenu to be global?

    how to make the shortcut (accelerator) a ContextMenu to be global to the Stage?

    OK, I'm going the applescript route. When I run the script within automator, it works fine. However, when I run the script from a menu as a service, it has no effect at all on iTunes. I must be missing something.
    Here's my script:
    tell application "iTunes"
              if player state is stopped then return
              try
                        set player position to (get player position) + (-5)
              end try
    end tell

  • How to make AI acquire Waveform stop scanning..​.

    Hi... i'm using labview 7.1 and playing a DAQ hardware now...
    i wish to know how to make the "AI Acquire Waveform" stop scanning data into waveform, i heard someone said that got a build in fuction to stop it... can anyone tell me is it true? If no, can let me know the method to stop it?
    with regard
    Jaxx

    If you want to pause your acquisition then the best thing to use would be Pause Triggering (DAQmx) or Scan Clock Gating (Traditional DAQ). You can find examples for either one in the NI Example Finder, search for 'pause' and go to the Cont Acq&Chart Samples-Int Clk-Pause Trigger.vi (DAQmx), or you can search for 'digital scan clock gating' in the search field for ni.com.
    You may also want to look at this site for more information on triggering concepts: http://zone.ni.com/devzone%5Cconceptd.nsf/webmain/​2A03115556FB233386256870005BB522
    In your original comment you stated you simply want a pulse on one line to start, and then to pause the acquisition on the next, then repeat the operation. You may just need to use the Start and Stop Trigger examples reinitialize your task if this is the case where you are just looking at a pulse on one line. Pause triggering or Scan Clock Gating will relate more to you having a single line go high and staying high until you want to pause the acquisition.
    Particularly if you are in the situation where you have pulses coming in on a single line I would recommend you look at the DAQmx examples rather than the Traditional DAQ examples. The architecture of the code is more efficient and will allow you to more quickly reinitialize the task.
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • How to make the inputs appear in Playback

    Hi,
    I would like to know how to make the inputs (line-in, mic, SPDIF-in) appear in playback of windows's mixer ?
    Im running XP pro sp3 with XFI Extreme Audio PCI-Express.
    I dont know why but there is no inputs in playback that making me unable to hear it while its being recorded.
    <img border="0" height="405" width="640" src="http://img70.imageshack.us/img70/672/mixergq0.png">
    <img border="0" height="542" width="640" src="http://img399.imageshack.us/img399/486/allmysettingsmq2.png">
    Message Edited by Nuja on 0-06-2009 2:07 [email protected]

    - I've read a little more and come to these conclusions:
    . The instructions presume that a CD is included with the card for the purpose of installing the software. A CD/DVD reader is a requirement for this reason.
    2. The card uses Intel HD Audio. This changes enough of what I know about CL's card that I really don't know that the lack of external inputs in the playback mixer is not intentional and uni'versal. A recording application could let you listen to what is being recorded by having an option of playing back what's being recorded.
    I have enough uncertainty now that I don't think it's useful for me to continue commenting. If someone who has a? PCI Express X-Fi Xtreme Audio that came with the software CD and hard-copy documentation wishes to share whether or not they have line-in, etc. in the playback mixer, it could be useful.
    -Dave
    ?[email protected]

Maybe you are looking for

  • Migration Status report

    HI Shared services status report is not being updated, when ever we kick off any batch or any migration defination i do not see the migration status report being updated. can any one help me with this isssue. Thanks,

  • Problem with apache plug-in for  WLS 7.0

    I have installed the plug-in follow the "Installing an Configurating the Apache HTTP Server Plug-in" that I have found in bea. The problem is in the third step of "Installing as a Dinamic Shared Object". The Apache 2.0.39 hasn´t the program apxs, and

  • Port forwarding stops working several hours after reset

    I have a WRT350N (fw v. 1.03.2).  It's connected to an Alcatel ADSL modem (PPPoE configuration).  I've configured port forwarding to allow HTTP and SSH into a linux box on my home network (static IP).  I am able to get to the linux box from outside f

  • Navigation Paths in 4.0

    BO Enterprise 4.1, SP2, Patch 8 Newly created Navigation Paths are not registering.  I created a report with 2 navigation paths (Date and Sales).  Everything was performing correctly in WEBI.  I added a 3rd Navigation Path (Location) and moved one of

  • How XML structure will work

    hi, in Design my DT structure is like this DT_HEADER          NO          Name          CITY while giving input file, the structure is like this DT_HEADER          NO          Name          CITY          COUNTRY what will happen when the scenario exe