Open popup in dynamic region once region changes flows

I need to open a popup in a flow if boolean is set to true in the pageFlowScope bean of the dynamic flow bean used in a dynamic region. The parent page/flow is configured in the adfc-config.xml and is controlled by a session bean.
So the scenario is the main page has links to several different pages, each of which has a mean of editing a widget. The Widget edit page has a Tree object that lists the items by user defined categories. Double the tree widget opens a popup with the editor section for that particular widget. These widgets rely on each other and if there is a problem in a contained widget, then I provide a clickable link to go to that object. I'm able to get the main page to change regions to the correct widget flow.
Once I get to the new widget control flow, the tree is displayed as usual and in the pageFlowScope bean I've set a boolean and populated the widget definition for display. Unfortuately, I have found a way to open the popup.
I've tried a phase listener calling a method in the parent page. However, I'm not able to find the pageFlowScope bean by any means. I've set the pageFlowScope bean into the session and get it in the phaseListener method, but all attempts to show the popup seem to go into the great void. I've even added a button with the actionListener to pageFlowScope.myBean.showPopup, but can trigger the action event for that either.
Using: JDeveloper 11g. Not using BC. Any help would be greatly appreciated.

Thank you. That worked.
I have one more question. How can I change the task flow in the dynamicRegion from another taskFlow. For example: I have taskFlow1 loaded into the dynamic region and I want on a button click from taskFlow1 to load taskFlow2 into the dynamicRegion. Is it possible?

Similar Messages

  • How to add a Hyperlink to open popup in dynamic data grid?

    Hi,
    I am a new bie in FLEX, the question which I am asking might be very easy but i am not able to find solution to it. Please can some one help me.
    I am creating a data grid dynamically using action script code now I want to add a Hyper link to couple of columns in a row. How can I do it in FLex?
    Thanks.

    HI Prashant,
    Thanks for the reply.
    This is what I am currently doing right now:
    for 
    (var i:int=0; i<colNameList.length;i++) { 
    var headerText:String = colNameList[i] + ""; 
    callSellGridCol = cols[i];
    callSellGridCol.headerText = headerText;
    if(headerText != null && headerText == "RIC"){
    var myRenderer : ClassFactory = new ClassFactory(com.db.carving.synthetic.dma.view.UrlLinkRenderer);
    In My Renderer class :
    public 
    class UrlLinkRenderer extends LinkButton{
     public var clickFunction:Function; 
    public function UrlLinkRenderer() { 
    super();}
    // Override the set method for the data property. 
    override public function set data(value:Object):void{
    super.data = value; 
    if (value != null){
    label = value[DataGridListData(listData).dataField];
    else{
    label =
    super.invalidateDisplayList();}
    Now what i want is to add a new Event Listner to this object so that I can click it?
    In your suggestion you said:
                         var classFacory:ClassFactory = new ClassFactory(LinkRenderer); // here LinkRenderer is any mxml/ as file Having Link Button defined.
    Where should be the Link button defined??
    Thanks.

  • How to use a menu model with a dynamic region and a task flow parameter

    I am using JDeveloper/ADF 11.1.2.1
    I have a menu model that changes which task flow is displayed in a given dynamic region using a backing bean. That works fine. I would like to be able to pass parameters to that task flow based on which menu item is clicked. For example: i have a task flow which shows a page where input fields are used to filter a table. Depending on the value of the task flow parameter I want to change which input fields are displayed. So i will have multiple menu items which refer to the same task flow but have a different set of parameters. I have tried using request scope variables and setting them in the backing bean for the dynamic region which works until the query is submitted at which point the request scope has changed and the value is no longer available. I have tried a number of other 'creative' approaches but have not gotten anything to work. Anyone done this before? Or have an idea on how to solve it?

    Frank,
    I did a fair bit of digging based on your suggestions and some things I found in your Oracle Fusion Developer's Guide book and I came up with something that works really well. It is fairly elegant but requires code. It would be nice if something like a setPropertyListener could be rolled into the menu model. That would make my solution completely declarative.
    Here is my solution:
    My task flow requires a the value #{pageFlowScope.type} to be set. My application has a dynamic region that is changed on the fly using a menu model. The region uses a backing bean (mainRegionManagerBean) which is in the viewScope to manage what taskflow is shown in the region. There are multiple menu items in the menu model that point to the same task flow but pass different values to the #{pageFlowScope.type} parameter. So i wired the menu items up to different methods in the mainRegionManagerBean which set the value for me. See the relevant code below.
    I would be very interested in the feedback from someone with more experience than I on my solution. Maybe there is a more elegant way...
    In the backing bean there is a primary method that was created by generating a dynamic region link which sets the task flow id and then other methods which call it and set the relevant parameters. (JSFUtils is a helper class i wrote to centralize some common tasks):
    public String shipmentTraceMasterTaskflow()
    taskFlowId = "/WEB-INF/taskflow/master/shipmentTraceMasterTaskflow.xml#shipmentTraceMasterTaskflow";
    JSFUtils.setValue("pageFlowScope.type", "");
    return null;
    public String shipmentTraceProNumber()
    shipmentTraceMasterTaskflow();
    JSFUtils.setValue("pageFlowScope.type", "pronumber");
    return null;
    public String shipmentTraceBOLNumber()
    shipmentTraceMasterTaskflow();
    JSFUtils.setValue("pageFlowScope.type", "bolnumber");
    return null;
    In the menu model (notice that these reference the different methods from above):
    <itemNode id="itemNode_ProNumberTrace" label="ProNumber Trace" action="#{viewScope.mainRegionManagerBean.shipmentTraceProNumber}" focusViewId=""/>
    <itemNode id="itemNode_BOLNumberTrace" label="BOL Number Trace" action="#{viewScope.mainRegionManagerBean.shipmentTraceBOLNumber}" focusViewId=""/>
    On the page:
    <af:region value="#{bindings.dynamicRegion1.regionModel}" id="r1"/>
    In the pagedef:
    <taskFlow id="dynamicRegion1" taskFlowId="${viewScope.mainRegionManagerBean.dynamicTaskFlowId}" activation="deferred" xmlns="http://xmlns.oracle.com/adf/controller/binding" Refresh="ifNeeded">
    <parameters>
    <parameter id="type" value="#{pageFlowScope.type}"/>
    </parameters>
    </taskFlow>
    Edited by: Adam Stortz on Nov 22, 2011 11:10 AM

  • Why is there a limit on the number of times a "DVD player region" can be changed, and can it be adjusted for more region changes, or an indefinite number of region changes?

    Why is there a limit on the number of times a "DVD player region" can be changed, and can this numbert be adjusted for more region changes, or an indefinite number of region changes?

    Region encoding is the mechanism that enables motion picture studios to control the worldwide release of their movies. It is required by the DVD Forum (http://www.dvdforum.org/forum.shtml) in all commercial hardware DVD players. Every DVD-Video disc contains one byte of data representing a region code, which limits where the disc can be played.
    http://support.apple.com/kb/HT2397
    Once you have set the region in DVD Player five times it cannot be changed.
    Instead, use VLC to view videos from different regions:
    http://www.videolan.org/vlc/download-macosx.html

  • Render Dynamic PL/SQL region as PDF?

    Hi!
    I would like to be able to render a Dynamic PL/SQL region as a PDF. Anybody have an idea how to do this or even if it can be done? This is not a report region.
    Also any idea's on how I might do pagination in a dynamic PL/SQL region?
    Any hope that a future version of APEX will accept lines from a PL/SQL function (including anonymous ones) as the source of a report region? It would need to preserve blank lines. Currently only select statements are valid for generating APEX reports.
    Thanks in advance for your help!
    Dave Venus

    Scott,
    This is what is what debug mode puts out just before it issues the data not found error:
    0.07: ...Process "create collection": PLSQL (ON_SUBMIT_BEFORE_COMPUTATION) -- -- Create Collections -- -- declare la_cks apex_application_global.vc_arr2; begin if apex_application.g_f19.count > 0 then -- wwv_flow.debug('count gt 0 for checksum'); la_cks := apex_application.g_f19; else
    0.09: Encountered unhandled exception in process type PLSQL
    0.09: Show ERROR page...
    0.09: Performing rollback...
    I was hoping that the wwv_flow.debug statements would help me figure out where the error was occurring, but they did not produce anything so I commented them out. One thing that might be useful is that when I am not in debug mode and I click the OK link after the Oracle error message, the repainted screen still has the checkboxes that have been marked so I am guessing the error handler can see the data that I put into the .g_fnn arrays within my pl/sql region code.
    In other tabular forms within the same application, the create collection code starts the same way and I do not have any problems.
    One of the tests I did this morning was to replace my reference to the fcs array with f19 just in case there was something special being done for checksums, but the change had no effect.
    thanks,
    Peter

  • Not here! Region Tie Regions by Position Change (Logic9)

    I have just upgraded to Logic9 and am looking though the new style instruction manual.
    On the 'Adding or Removing Arrangement Passages' page at the 'remove gaps between regions' part it says Choose Region > Tie Regions by Position Change (or use the Tie Regions by Position Change key command).
    The thing is, that the 'Tie Regions by Position Change' is not under the local menu Region and the KC
    is no where to be found either. Has anybody else seen this at all.
    There is the option 'Trim Regions etc' under Regions though no Tie Regions.
    Thanks
    Message was edited by: ekaton
    Message was edited by: ekaton

    Must be Region > Shuffle Regions left within selection then

  • Changed Key command - Tie Regions By Position Change

    This is my 3rd post - Is there no one else here who depended on "Tie Regions By Position Change" & finds the new version "Shuffle regions left within selection" unpredictable & unusable, with regions that shouldn't jumping to the right ?

    It doesnt work as expected for me, with 5 or 6 regions it does but when i want to buffer 40 or so regions , up against each other, several have jumped to unpredictable positions . (i'm doing lots of editing of interviews )

  • Tie Regions by position change.

    As I understand the "Tie Regions by Length Change" is now named "Trim Region End to Next Region".
    OK. What about "Tie Regions by position change"? I've search for it and is not there.

    Andreww Adrian wrote:
    I'll check, but isn't Shuffle a randomization way of ordering items???
    In Logic, no. If you ask a drummer to play shuffle - sometimes yes.

  • When I try to change the keyword.url settings in about:config to do a "I'm Felling Lucky" Google search, it just resets to chrome://browser-region/locale/region.properties whenever I restart Firefox.

    I just installed Firefox 4 today. When I try to change the keyword.url settings in about:config to do a "I'm Felling Lucky" Google search, it just resets to chrome://browser-region/locale/region.properties whenever I restart Firefox.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    See also:
    * http://kb.mozillazine.org/Preferences_not_saved

  • Editable region - all pages change?

    Hi,
    I've made a template for some pages, but the customer has to change the image (in the header).
    I've made an editable region, but when I edit an image of a page (not the template), all images of pages which are made with that template are changing.
    http://extraleisure.businesscatalyst.com/recreatieve_evenementen
    Thnx for your reply!
    Regards Carla

    Hi Liam,
    Thanks for your reply, but its still not working.
    In the header off the template I’ve putten: 
    Onderwerp:  Re: Editable region - all pages change? Editable region - all pages
    change?

  • Tried to change "Welcome" so when opens gives site name , valid info, instead of simply 'Welcome."  Site can not be found once I change "Welcome" to other name...

    Tried to change "Welcome" so when you type in webpage "millerstalemusic.com" and it opens main search page, you see the site, but it says "Welcome" the search page.  I want it to have site name, valid info, instead of simply "Welcome." 
    Site can not be found once I change "Welcome" to another name... 
    Changed name from "Welcome" to another name.  Google wants "Welcome" or can't find my site.  I do not want "Welcome" to be the first thing seen on search page when searching with my website name for my site.  Why can't Google find me?  Changed name back, and worked, but #@!*?!!, 
    What to do?  Yes, I "Double Clicked" and all that, but internet is insisting "Welcome" remains...
    How does Google recognize my site?  I was told it can take 2 months or longer for Google to discover I don't want to have
    "Welcome" as my main Keyword! 
    Help!

    hi,
    I saw your website the page is named just welcome and it appears as welcome on google search.
    The title of your webpage just needs to be changed and nothing else.A Title of your web page is what appears on google findings and it is the title that appears on the top most bar of browser window. On the top most bar of browser is written apple - support. and this is what will appear on google findings. 'Apple - support'
    If you know HTML, just change the title.
    I dont know but I think Google takes about less than 2 days to find your site thruugh its robots maybe even faster. My site appeared as i checked it - after two days and i didnt go and list it in addyoururl.

  • Unusable new version of key command "Tie regions by position change"

    I have had to go back to Logic 8 because I use I use "Tie regions by position change" all the time & the new version in Logic 9 - "Shuffle regions left within selection" behaves very differently & unpredictably.
    With 3 or 4 regions it works in a predictable way, but larger than that I can't predict what its doing. Some regions jump far to the right to positions I dont want.
    I put lots of regions, with their start points in the order I want them, with "Tie regions by position change" It buffered them all together, in that order, in one go.
    With "Shuffle regions left within selection" occasional regions are jumping several places to the right & the order is unpredictable. & you have to issue the command several times with large numbers of audio regions untill it finishes arranging them.
    is this a bug or is shuffle meant as in "shuffle a deck of cards" ?
    I would like to explore Logic 9 but without this function it is unusable for me.

    It doesnt work as expected for me, with 5 or 6 regions it does but when i want to buffer 40 or so regions , up against each other, several have jumped to unpredictable positions . (i'm doing lots of editing of interviews )

  • Can't change my dvd region back, one change left?

    I changed my dvd region to region 1 the other night with the intention of changing it straight back to 4 after watching something, however now it won't let me! It said I had 2 changes left so I didn't stress and made the region change and now it proceeds to say I am on my last change, however whenever I click the "change dvd region" button it simply disappears and ejects my dvd. When I insert it again it comes up with the same message instructing me that it is my last change and it's still on 1.
    I obviously wouldn't have changed the region in the first place had it said it was my last change but I figured I could just change it back permanently after my last switch! I know you can only change 5 times but I trusted that it said I had 2 left. I downloaded VLC but that doesn't play either. What can I do about this?

    I don't know what the problem is with one change left, but this might point you in the right direction.
    https://discussions.apple.com/thread/3731070

  • Is there a way to format multiple images at once? Change colour mode or resolution?

    Is there a way to format multiple images at once? Change colour mode or resolution?

    It's very easy to make an action.
    Go to window > actions
    In the actions panel, simply click the 'create a new action' button, it starts recording as soon as you've created it (when you've given it a name).
    Now you can apply the changes you want to make to the images on the file you have opened.
    After you've done all you need to do. You click the 'stop' button. The action is now ready to use. And you can apply the changes you made on all the other files.
    Then you can continue how gener7 explained.
    I usually include a save and close command, so that the whole batch doesn't end up opened after running the script.
    But if you do that you have to create a new file, and save it to your computer before you start recording the action, otherwise the save command will be replaced by each file. And you'll end up with one edited file in the end. At least for as far as I know!

  • Cannot create a region from a task flow containing facelets fragments in a

    hi
    Please consider ADF applications migrated from JDeveloper 11g R1 to 11g R2 [1].
    When using JDeveloper 11g R2 to create a task-flow containing facelets fragments and dropping it on an existing/migrated page (created using JDeveloper 11g R1) results in a message :
    "Cannot create a region from a task flow containing facelets fragments in a jspx page.".
    What would be "good guidelines" (do's and don't's) of using facelets aspects in an ADF application migrated from JDeveloper 11g R1 to 11g R2?
    - [1] e.g. specifically JDeveloper 11.1.1.6.0 to JDeveloper 11.1.2.4.0, see also forum thread "migration support from 11.1.1.6.0 to 11.1.2.4.0"
    at migration support from 11.1.1.6.0 to 11.1.2.4.0
    many thanks
    Jan Vervecken

    Thanks for your reply Timo.
    Timo Hahn wrote:
    ... just a wild guess: Oracle is lazy here. They did not expect too many people migrating from a running 11.1.1.6.0 or 11.1.1.7.0 to 11.1.2.4.0. ...Hmm ... maybe.
    ... We had this discussion before: is 11.1.2.4.0 a good migration target? ...Can you refer to that discussion exactly.
    It is not the same as in forum thread "choosing JDeveloper 11g R1 or JDeveloper 11g R2 "
    at choosing JDeveloper 11g R1 or JDeveloper 11g R2
    which does not talk about migration to 11g R2.
    ... My answer was and still is: No. ... I don't see a reason why to do a migration to 11.1.2.x. ...We are considering if a migration to 11g R2 will allow us to make our application "facelets ready", which could potentially allow easier migration to 12c .
    Altough Brian Fry (Oracle) wrote "Re: choosing JDeveloper 11g R1 or JDeveloper 11g R2", the "facelets considerations" in this current forum thread could suggest something different.
    ... I know that we have to migrate to 12c once it'll be available so why the extra step? ...There could be layout requirements that can be perceived to be more easily/flexibly implemented using facelets.
    A team could have resources available now, and maybe not in a couple of months (related to wanting/needing to use facelets, and related to the "perceived/expected complexity" of an 11g R1 to 12c migration compared to an 11g R2 to 12c migration).
    ... (you know how complex this can be) ...Maybe less knowing, and more trying to find out.
    ... in a couple of month when 12c is available. ...How do you know it will be only "a couple of month" before 12c is available. Do you have specific references that confirm this?
    many thanks
    Jan

Maybe you are looking for