Restart already opened bounded taskflow in UIShell

Hello,
I am using Jdev 11.1.1.6 with ADF BC and ADF Faces as technology stack.
My application is using UIShell to open multiple tabs showing BTF implemented using jsff. We are using "TabContext.getCurrentInstance().addOrSelectTab" to open tabs i.e. one taskflow can be opened only once.
User can open screens using Application menu. So far so good.
Now, I have a requirement that a particular screen [ScreenA] can be opened from menu as well as from other page [ScreenB].
Use case: When ScreenA is opened using menu, it should show all records but when it is opened from ScreenB then it should filter based on user's selection on ScreenB.
I am able to achieve all of this when ScreenA is not already open. When it is already open, it simply selects that tab and does not restart the taskflow so "filter record" activity is not executed.
Questions:
a) Is there a way to achieve this use case?
b) If there is a way, Is it recommended to do this?
Thanks,
Jai

Questions:
a) Is there a way to achieve this use case?
Use the tabContext reference to find the tab and close it prior to re-opening. Another option would be to get a hold onto the af:region instance that is contained in the tab and call refresh() on it, in which case the task flow also re-starts
b) If there is a way, Is it recommended to do this?
One of the two
Frank

Similar Messages

  • Every time I try to open Firefox I get a popup saying it is already open, and to close it or restart; but it is NOT open, and restarting doesn't help.

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/880054]]</blockquote>
    Question
    Every time I try to open Firefox I get a popup saying it is already open, and to close it or restart; but it is NOT open, and restarting doesn't he

    Duplicate Thread LOCK please
    * Continue here - https://support.mozilla.com/en-US/questions/880054

  • When I try to open Firefox 3.6 (Mac) by clicking on the icon, I get this message: "Close Firefox: A copy of Firefox is already open. Only one copy of Firefox can be open at a time." I've removed older versions and restarted, but still get this message. Wh

    I've just downloaded Firefox 3.6 (Mac). When I attempt to open, this message pops up: "Close Firefox: A copy of Firefox is already open. Only one copy of Firefox can be open at a time." I've removed older versions and restarted, but still get this message. What's going on?
    == This happened ==
    Every time Firefox opened
    == after I downloaded the latest version. ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    You might find your solution in [http://kb.mozillazine.org/Profile_in_use this article].

  • Opening a bounded taskflow in a new browser window.

    Hello,
    I have links in my application that open the application in a new browser window.
    window.open(/MFRAME/faces/adf.task-flow?adf.tfId=moduleDataMan&adf.tfDoc=/WEB-INF/flows/moduleDataMan/moduleDataMan.xml, "w"+new Date().getTime());
    When I open the link in the new window all beans become with null values.
    It used to work before a big list of bug fixes. But somehow this broke. Any ideas what can be the issue. No errors in the log when I open a new window. The old window is working without problems. Only one of the bounded taskflows is working after open in a new window.
    Any ideas.
    Jdeveloper version 11.1.2.3.0

    <SCRIPT language="JAVASCRIPT">But this is a Java forum, not a Javascript forum.

  • I have Lightroom 4.2 which isn't opening in Windows 7. A message comes up saying it's already open in another application. I've tried shutting down and restarting; still not opening.

    I have Lightroom 4.2 which isn't opening in Windows 7. A message comes up saying it's already open in another application; I can't see that it is. I've been using this successfully for 2 years now! I've tried shutting down and restarting; still not opening.

    Found it and deleted!! Success! Thank you!
    On Fri, Dec 12, 2014 at 2:12 PM, Mary Dennis <[email protected]>

  • "A copy of firefox is already open. Only one copy of firefox can be open at a time." What do I do?

    I was installing Firefox 4.0.1 and something went wrong. Now every time I try to open Firefox, an error message that says "A copy of firefox is already open. Only one copy of Firefox can be open at a time." I've looked it up and every forum says something about a terminal.. and lock files.. Could somebody PLEASE break it down and explain it as if you were talking to a 2 year old? I am computer illiterate.

    Maybe Firefox messages have been modified slightly. Please read the article
    *[[Firefox is already running but is not responding]] <-- clickable link -- <br> (the illustrated articles will explain a lot better than I could)
    The article explains how to find and stop the extra Firefox process that is causing problems. (You usually use Windows Task Manager to do this - if it is a Windows computer) There is a selection option on the help page with a + by it towards the top right, click that to change the help page details to match the operating system and version of Firefox you use.
    If the problem keeps occurring it will be because Firefox has some files mixed up, for instance multiple copies of the files it uses to try to get Firefox to display the details of the last browsing session when you restart Firefox. You now need to follow the link from the above article to this one:
    * [[Firefox Hangs]]

  • Error 500--Internal Server Error while opening a taskflow  in inline popup

    Hi,
    I am getting "Error 500--Internal Server Error" while opening a bounded taskflow as a popup from another bounded taskflow containing page fragments. The popup taskflow contains jspx pages. I even removed the jspx pages from the popup taskflow to check if the error is resulting from the bindings on the pages but still I get the same error. The entire stack trace of the error in the popup dialog is :
    Error 500--Internal Server Error
    oracle.adf.controller.ControllerException: ADFC-04008: The BindingContext on the session is null.
         at oracle.adfinternal.controller.util.Utils.createAndLogControllerException(Utils.java:208)
         at oracle.adfinternal.controller.util.model.AdfmUtil.getBindingContext(AdfmUtil.java:47)
         at oracle.adfinternal.controller.util.model.DCFrameImpl.makeCurrent(DCFrameImpl.java:125)
         at oracle.adfinternal.controller.state.ViewPortContextImpl.makeCurrent(ViewPortContextImpl.java:1006)
         at oracle.adfinternal.controller.state.RequestState.setCurrentViewPortContext(RequestState.java:159)
         at oracle.adfinternal.controller.state.ControllerState.setRequestState(ControllerState.java:900)
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart1(ControllerState.java:355)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.beforePhase(SyncNavigationStateListener.java:105)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:112)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:59)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:258)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Any help is greatly appreciated.
    Thanks,
    KK

    Hi Frank,
    Thanks for the reply. I am using it as an inline popup. I am trying to create command links dynamically in an iterator. When a link is clicked a popup window opens. The text of the link is passed to the popup window by creating a variable in the session scope ( I even tried request scope) by an action listener in the backing bean.
    I tried to create another simple application with a static command button which passes its text to popup window through a session scope variable. It worked fine. I am not sure why the same procedure is not working in my original application. Can you give me a hint what could possibly go wrong according the exception stack trace ?
    Thanks,
    KK

  • Firefox was not running smoothly, so I unistalled it and any every folder that had anything to do with Firefox or Mozilla, then reinstalled the newest version and now it says that it cannot open because "a copy of firefox is already open." What now?

    I am running Mac OSX 10.5 and have never had issues with firefox. Then I noticed it starting to run much slower and having issues freezing, yet if I used safari there were no problems. I decided to uninstall firefox and all of the folders that go along with it to get a clean restart with a new download. Everything seemed to download fine, but when I attempt to open firefox it just opens a warning that says "a copy of firefox is already open" and my only option is to close the program. Yes, I have quit ALL applications and even restarted the computer to make sure nothing is running first.
    This may be completely unrelated, but another issue nonetheless, shortly before I started having issues with firefox, it no longer would go to the hotmail login page to check my email. I didn't change any settings, but it would not load that webpage even though every other page works fine. I know it is not a problem with the hotmail site because every other computer in my home will go to the site and login, plus I can get into my email by going to MSN and logging in from there.

    Make sure that you haven't left a profiles.ini file.
    * http://kb.mozillazine.org/profiles.ini_file
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Can't open Firefox, computer thinks it is already open

    just got a new iMac, and wanted to transfer all my old Firefox info from my old machine. I downloaded the newest version of Firefox, and it seemed to work fine. Then I tried to move my profiles to the new machine (both on same network). Then I don't know what happened. I had to close Firefox for some reason, and when I tried to reopen it was told by my Mac that "A copy of Firefox is already open. Only one copy of Firefox can be open at a time". I checked in Finder to see if I could force-quit Firefox, but according to Finder firefox was NOT running.
    I first did a restart of the computer, but when I tried to open Firefox got the same message. Then I threw my Firefox application away and downloaded a new one. No help, same error message.
    So how do I convince my Mac that Firefox isn't already running? Help, please!!!

    Repairing permssion instructions are listed in the os Help menu and within Apple's Knowledge Base articles - http://docs.info.apple.com/article.html?artnum=25751

  • When I try to open Firefox I get a message saying it is already open. However it is not open and i cannot access Firefox

    When I try to open Firefox I get a message saying it is already open. However it is not open and i cannot access Firefox

    See:
    * http://kb.mozillazine.org/Recovering_a_missing_profile
    * http://kb.mozillazine.org/Profile_in_use
    * https://support.mozilla.com/kb/Firefox+is+already+running+but+is+not+responding
    If it happens after you've closed Firefox and want to restart the see these:
    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    See "Firefox hangs when you quit it":
    *https://support.mozilla.com/kb/Firefox+hangs

  • Can't open Firefox. When I try to open, a window pops saying "Close Firefox" and "A copy of Firefox is already open. Only one copy of Firefox can be open at a time.", and doesn't allow the application to open.

    Came home to find computer restarted, which I assume is an automatic Firefox update.
    When I try to open Firefox, window pops up saying "Close Firefox" and, "A copy of Firefox is already open. Only one copy of Firefox can be open at a time."
    I'm unable to open the program at this time, lots of critical work info stored there - please help. Thx.
    Neal

    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    *https://support.mozilla.com/kb/Firefox+hangs

  • "a copy of firefox is already open." alert, however firefox is not open on my macbook. I have to take midterms, I need help with this ASAP!

    I keep getting the "a copy of firefox is already open" alert and it's not opened. I have researched it and nothing is working. I have a macbook pro version 10.9

    Try restarting the computer. If the problem continues, post back with more information about the specific error. Creating a screenshot of the error and posting it here using [[How do I create a screenshot of my problem?|these instructions]] might help (you could also use the Mac [http://en.wikipedia.org/wiki/Grab_%28software%29 Grab application] to create a screenshot in TIFF format, then resave it as a PNG to post here).
    You could also look through this article:
    [["Firefox is already running but is not responding" error message - How to fix it]]

  • Firefox says, "A copy of Firefox is already open. Only one copy of Firefox can be open at a time."

    I have a mac running OSX 10.6.8 and I'm having issues with firefox not responding so then I close it. Then when i try to open firefox it says "A copy of Firefox is already open. Only one copy of Firefox can be open at a time." I look in the activity monitor and it does not show that firefox is running. The only solution i have found is to completely restart my mac, which is not convenient to do often. I have searched elsewhere online for a solution, but i could not find one. Any help would be appreciated. Thanks

    See:
    *https://support.mozilla.org/kb/Firefox+is+already+running+but+is+not+responding
    *http://kb.mozillazine.org/Profile_in_use

  • This file is already open or in use by another application Error Message

    I can't seem to save my AI files any more without getting an error message stating, "This file is already open or in use by another program." None of the previous forums have helped to resolve this problem. The problem begins when I open an Illustrator file that I have previously created, make a few changes, then try to save it under the same name. I am forced to change the name, which it then saves under the new name. Then, I have to restart the computer in order to delete the old file. This entire process takes enormous amounts of time. Working on WinXP using AI CS. I've researched this problem for months, but can't resolve it myself.

    Jenifer,
    I've been dealing with this problem for a year, and it is a big time waster. Here is a solution someone gave me which resolves the problem. However, there is a tradeoff- one problem for another.
    There is a file named aiicon.dll in Program Files > Common Files > Adobe > Shell. If you rename this file to aiiconold.dll (don't delete it), the problem with saving and deleting files will be resolved. However, the tradeoff is that you will lose your Illustrator thumbnails for your AI files. See for yourself. I've been doing it this way for a month or two, and I can live without the thumbnails most of the time. The nice thing about renaming the aiicon.dll file is that you can go back to the original name anytime, and everything will be as it was in the beginning.
    I guess Illustrator has an incompatibility issue with the new operating systems. I don't think there are any perfect solutions. But I keep looking. I am as frustrated with AI as you are.

  • Firefox won't open and gives me an error that it is already open when it isn't.

    Whenever Firefox crashes or I restart the computer, I get this message that I can't open a new browser because Firefox is already open.
    I am using a MacBook Pro OS 10.6.7 and I have Firefox 5.0

    I have the same problem when I'm trying to browse ringtones and stuff for my phone (browsing on my pc) on the site mytinyphone.com .. and when I click the "OK" button, it redirects the page that I am on to some other page, and when I click the back button in firefox to go back, it pops up and same thing happens.

Maybe you are looking for

  • IWeb, audio and movie films not loading correctly

    I have a personal website and want to upload some audio and movie files to it. I created the website through my iMac's iWeb software. I followed the instructions in the help manual and loaded the six audio files and four movie files, they all loaded

  • Well that didn't take long....21.5" iMac Failure

    3 days as a new iMac owner and it's already broken. So far PC/Windows wins! Just getting a white screen with an Apple logo and the activity icon spinning. Any suggestions? I was just importing photos into iPhoto and had just got used to the way iPhot

  • WebLogicServer Embedded LDAP Error!!

    Hi,    In the weblogic server environment I am facing the below issue while starting the admin server. <Error> <EmbeddedLDAP> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1372840

  • Two finger touch-screen scrolling not working in Chrome?

    This seems fine in IE, can anyone confirm this so I know it's not just my setup? Trackpad scrolling is fine in both, just the touchscreen scrolling not workingin Chrome for me.

  • Menue bar does not drop sometimes when in Safari Mountain Lion

    When in Safari on Mountain I have had a few occassions where the menue bar will not drop down to close Safari