Dynamic region with several task page fragment flow isn't refreshing VO

JDeveloper version is 12.1.3 and Weblogic Server is 12.1.3.

We have a dynamic region with several task page fragment flow.  We have created a menu that will open on the workflow task in the dynamic region. Before defining the workflow id in the bean, we execute query on the original Version after setting the bind variable. When we click on the menu is open the flow of relevant tasks in the region and showing the Original data table.

But when we open the same request again to a different browser session, it shows all the data in the original Version when the user clicks on the relevant menu item...

I have attached the code used to navigate to the different workflow tasks written in the bean from the back of the home page.

We have no idea why anyone what happens, if it's a server problem or a code issue. Because unless and until we open the target application in a new browser it works fine.

We tried and deployed on a remote server as well, but it gives the same question...

Would be really grateful for the help...

The user, the code you posted has some serious problems. Never, I repeat never store a reference to an application module in a static variable in a bean. That is why you see only data once. After that, the second session reuses the application module from the first to the configuration data, but to display data it uses a module different application.

The way you try to configuration data is too bad. You must pass the parameters to the workflow and init data in the default action of the workflow instead of doing before installing the new workflow id. A workflow is a unit of work that is kind of a black box. You may not assume that the stuff you do outside of this black box can be seen inside the box. This is only true if the workflow share the same control of data as it's parent (share of data control).

I suggest you read some documents on the workflow and how they work. A good start is to look at this video https://www.youtube.com/watch?v=A3CmDhWHaG0

or work through this tutorial 12 c (12.1.3) Oracle JDeveloper tutorials - working with bounded task flows, regions and routers

Timo

Tags: Java

Similar Questions

  • PDF form with several auto pages copy text in fields on the following pages

    I created a PDF form with multiple pages. I started with an Illustrator file, then exported to Acrobat to make it complete. For some reason any, however, when users enter text on the first page and try to continue on the other, the text on the first page only auto copies on the following pages. And if you delete what was on the second page (or third) to enter the correct data, which provides information on the first page.

    I guess it must be something that twisted when I was creating the form, so I don't know if there is a way to fix without all over again.

    Thank you!

    Give a unique name to each field. The fields with the same name are copies of each other and will automatically have the same value.

  • Folio with several possible page sizes? Another layout.

    Hi-

    Run a question - is it possible to have more than one page size in a folio?

    I have the folio erect 768 x 1024. But want some pages to go a little long (e.g. 768 x 1324) and the user would slide to see the contents of all down. I saw this in other published magazines ipad.

    Is this possible with DPS? I get an error when I try to preview the desktop or download it on servers to have a glimpse into the viewer of content adobe on the ipad.

    Does perform a job to be able to do this?

    Thank you!

    SBee

    It looks like you want to create Smooth Scrolling items:

    http://help.Adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60f5f54012e30daf910-7fff .html

  • Dynamic stamp with several entries of option buttons to fill in the box!

    I try the code to get a stamp with the multiple entry below. Based on the selection of option buttons, I need the patch update. I can't find the error. Can anyone help pl.

    OK, that's fine.

    I think the problem is that you have set the dialog object after the code where you are calling it. You must move the definition of DiaBox to the top of the code.

  • How to assign components page parent of a page fragment in a dynamic region

    Hi, I am using JDeveloper 12.1.3. I have a single page request that contains a sidebar (with separator) on the left and a dynamic region on the right. One of the fragments of the page that appears in this dynamic region has a task flow that calls another fragment of page. What I do when this event occurs, it is to dynamically hide (or at least close) the left side panel. I created a bean of support that includes a method to do so. This method works very well when I call it from a test button on the parent page. But I can't understand how effectively call it a method in my stubborn workflow (page fragment). I created the method and incorporated it in the workflow. I refer to the method in the bean support. No errors are generated when I perform the navigation. I have debugging instructions that indicate support bean method is called. But the screen will not reflect the changes on the side panel. I tried to use a parent action in my stubborn workflow (and tried to have this action relative to call the method), but that did not help. I thank you very much for any assistance, you can provide.

    The problem is that you can reach the panelSplitter of off the page on which it is located. If you use a methodcall activity that you call with a parent action you get a new instance of the separator, but not then, you try to change.

    What you can try to bind the separator to a property of bean a bean view extended who resides in the workflow of the parent page. Then you pass this bean as a parameter to the flow of the task of the fragment and call the method within the bean. It of called bean reference and is listed in this article by Frank Oracle ADF May / June 2013. Make sure that you use a component for the bean property reference. On second thought, you might not even to bind the separator to the bean as you can look it up in the page directly using findComponent().

    Timo

  • Page fragment bounded-task-Flow Control Flow Help

    jDeveloper: 11.1.1.0.2

    I have a question to try to understand the correct way to use control flow case between a bounded-task-flow with fragments of page and a page without limits-task-flow. We have taken the approach of our application to have some shell / container pages to host bounded task flows composed of fragments of page to facilitate the reuse and accelerate development. There are 4 or 5 pages of shell on the unlimited-task-flow applications. From now on, we have about 20 fragments of page that are implemented as a bounded flow task. These fragments don't do much now, which means there is only a single fragment in each delimited-task-flow. The question that I'm going to try to call action from navigation to control flow of one of the fragments to load a page another shell.

    For example, shellPage1.jspx contains fragment-flow-1 as a region. In my adfc-config I have shellPage1.jspx and shellPage2.jspx, with the case of 'toShell1' and 'toShell2' control flow, respectively linking two pages. I have a link action related to the 'toShell2' in the fragment that make up fragment-flow-1. When the application is run, shellPage1.jspx and its fragment are displayed. But clicking on the link in the fragment ("toShell2") do absolutely nothing. This not me access the shellPage2.jspx as expected. What I do wrong here or do not understand?

    If the fragment is included as include a JSP page, and not a narrow-minded, all workflow works as expected. This is not desirable, as we then need to copy the fragment pageDef in pageDef of the shellPage to get the DataControls function.
    If the faces - config.xml is used instead, and a case of JSF navigation is used, it also works as expected. This is not desirable because we really do want to be mixing adcf-config and faces-config.

    So I am really puzzled here... Thanks in advance!

    Hello:
    In your case, the adfc - config.xml has the case of flow control between the pages of the shell. And the task-flow - N.xml or yours-task - flow.xml for each default page fragment does not inherit control flow of the page containing the shell case. In your case, in the task of page fragment - flow.xml, you must add a "Parent Action' to sink to shell page2 for example. The result of 'Parent Action' would be 'toShell2' If you call ShellPage1 page fragment.
    Is it 'OK' or 'Useful' for you? Please mark it as if it does.
    Good luck

    Alex

  • Train does not not as expected with dynamic regions

    JDeveloper version - 11.1.1.7.0

    I created an application with 2 workflow with 3 defined fragments like a train. These workflows is deleted a page like dynamic regions. On the page running, in the first region the train works fine. But access to the second region, when I click on the 2nd train stop, the train navigates to the first fragment of the first step.

    Note: I also created a test application, it was the replication.

    I looked at your code and found the problem. The bean that you can switch regions is defined in the scope of evil. The TrainDynamicBean must be set in viewScope at least. If you set it in a scope less (backingBean or application) the bean is generated for each request. If you go to region 2 the bean is created again for the next request, and the taskflowid points again to flow available1. This is the reason why you see the view4 when you switch to flow2 but view5 clicking on flow available1.

    It is a problem.when known and documented, working with dynamic regions. JDev creates the bean in the wrong scope, and you have to take it at least viewScope.

    Timo

  • Please HELP * problem with dynamic regions ADF...

    Hello

    I have 2 separate workflow in my application. 'Search-user-flow' & 'create-user-flow. I got to view these feeds in my main application (home) as a dynamic region with 2 dynamic links.

    My page main split into two panels where I suppose to display dynamic links on the left side and the workflow right. Want to display the default search feeds loading the home page, and when I click on the link for the user to create, create flow must be exposed to the right side. Please help me how to do the same. I was halfway through the path, but not totally.

    Here's what I've done so far.

    Step 1) creation research-user-flow (this stream were only page fragments not pages)
    Step 2) created create-user-flow (this stream were only page fragments not pages)
    Step 3) slide / move the search-user-flow in right panel of the main page as dynamic and created new "searchFlow" managed bean and the same card.
    -(After this stage, the main research stream fragment appears in my main page)
    -(Managed bean created taskID entry and the method)

    Step 4) slide / move the create-user-flow to the left side panel as dynamic link.
    Step 5) slide / move in the research-user-flow for left side panel as dynamic link.

    During the loading of my main page, I could see 2 dynamic links in the Panel left side and 1 flow to the right side panel. Now when I click on the Create User link, it's pass the stream and display the stream of the 2nd on the right. So far so good. Now, if I hit any link here after an error. Please help me how to solve this problem and make the works of dynamic region. It is really urgent and fight with past 4 days...

    Thank you
    klogube

    Hello

    define the scope of the bean managed bean that passes the workflow to a wider scope than requestScope: viewScope, pageFlowScope...

    Frank

  • Design of pages, dynamic regions? (How?)

    Hi all

    I use JDev 11.1.1.4. I have created a series of pages in the ADF and want to learn more about dynamic regions.

    I have a series of links in the left side of my page. Dependign on the link clicked to the facet Center is expected to open the fragment of the corresponding page. In this way, it doesn't look like the entire page is being updated and loaded whenever you click on a link.
    How can I go on the design of this. have I reason to understand that dynamic regions should be used?

    Thanks in advance
    Saida.

    Hello
    I think that you can do with . Create model with links and side space in the middle to load the page.
    Creation of the Page Template: http://www.youtube.com/watch?v=ZZeP8hNcjTw

    You can get an idea about the dynamic regions with the help of taskflows like...
    http://baigsorcl.blogspot.com/2010/06/working-with-dynamic-regions-in-Oracle.html

  • Component w/Train of dynamic regions

    I'm working on a web application (JDeveloper 11 g), where a page has a dynamic directian with associated task flow that defines the fragment of the view. Most of the fragments for this region, use a template page with a component of train. Navigation using the train for the most part works fine him fragment is replaced by a new snippet each time you click on a link of train.

    However, a single fragment contained another dynamic region. "I tried to define the scope of the bean to manage this region to viewScope, but I get a message popup in the browser 'viewScope.myManagedClass.dynamicTaskFlowId' is invalid" when I click on the link to train for the fragment component. I get a similar error, if I updated the scope of bean to the session or pageFlow. Only when I set the scope to the backingBean or neither avoid the error message.

    But then another problem occurs. One of the fragments in the stream for the inner region has a panelAccordion with several showDetailItems of selectManyCheckboxes. The panelAccordion does not list anything and crashes if I try to open or close any showDetailItem. This behavior is similar when the scope of the bean, flow management is not set to viewScope or higher.

    By stepping through the code, I noticed that flow to the outer region code runs after the event code trigger the internal region that sets the taskFlowId of the inner region, but before the workflow of the inland region, parameter taskFlowId in the inner region code is therefore lost. I tried to start session context and recover, and which almost works. If I select in terms of the selectManyCheckboxes, they are lost once I move to a different fragment in the region.

    Does anyone have ideas on how to get to this page in collaboration, alternatives to the approach I take, I need to check the settings or any reference material, I could consult?

    Thanks in advance!

    Edited by: tmurphy July 6, 2010 15:30

    Hello

    However, a single fragment contained another dynamic region. "I tried to define the scope of the bean to manage this region to viewScope, but I get a message popup in the browser 'viewScope.myManagedClass.dynamicTaskFlowId' is invalid" when I click on the link to train for the fragment component.

    The managed bean is defined in the metadata definition of the taskflow bounded that you load? Please note the stubborn workflow to initialize only their controlled beans when they are loaded. If you set the bean managed in the defined parent of the workflow then the viewScope is also the parent flow. Appears as if it is the problem you describe

    Frank

  • The creation of dynamic UI 11 ADF component Page loading

    Hello

    , Our requirement is to create a user interface components dynamically during execution on jsff (page fragments) during fragment loads. Before the page loads, in the workflow, a default method activity runs and a query is executed. According to the results of the query, the type and the number of user interface components are identified in other words, when the query runs, if the returned field is type of varchar then a rich of entry text field must be created and added to the fragment of page and at this time when I try to access component through its id value user interface programmatically created I get null pointer exception. When google, I ve seen in 2006, exactly the same requirement of business like ours is discussed in OTN (https://community.oracle.com/thread/410428?start=0 & tstart = 0) with Steve Muench, but not the debate is over since then. I've seen different approaches such as RegionController, injection of javascript using eventhandling etc. I know that in BPM 11 g human task form user interface components are created dynamically during execution based on the BPM design-time value. So, any help is appricated.,


    Thanx


    Umit Sadeguzel

    Did you get a chance to examine the dynamic components of the adf? You can start from here: https://blogs.oracle.com/shay/entry/dynamic_adf_forms_with_the

    Arun-

  • Default value loading the page fragment (jsff)

    Hello

    I use jdev 11.1.2.3.0 and I have an application that has a main page with links to launch fragments in a dynamic region.

    I use a session bean to populate the dynamic region

    One of the fragments has a selectoneradio control that is bound to a lookup table.

    The selected value is used to power a bean, who calls a stored procedure to create a record that is used elsewhere.

    I find that if you open the fragment and select one option other than the first item and go to an another jsff by clicking on a different link, then navigate back, still the previously selected item is selected, as opposed to the question that I would be default.

    I've been Googling away, but did not found a snippet of code that allows me to reset, or return to the first element in the set default control.

    Any suggestion would be appreciated.

    Yes, automatically send has been set to true.

    I found a solution to my problem, but it won't work for everyone.

    Because the list of items is linked, but the control itself doesn't have to be, I was able to set the default value directly in the value property of the control.

    Old code...

           
                               label = "#{bindings." SupplierSystemsLookup1.label}.
                               required = "#{bindings." SupplierSystemsLookup1.hints.mandatory}.
                               shortDesc = "#{bindings." SupplierSystemsLookup1.hints.tooltip}"id = 'sor1 '.
                               layout Binding = "#{backingBeanScope.SupplierChange.optSystems}" = "horizontal" "
                              

    inlineStyle = "margin: 0px 0px 15px 0px;" autoSubmit = "true" >

    New Code...

           
                               label = "#{bindings." SupplierSystemsLookup1.label}.
                               required = "#{bindings." SupplierSystemsLookup1.hints.mandatory}.
                               shortDesc = "#{bindings." SupplierSystemsLookup1.hints.tooltip}"id = 'sor1 '.
                               layout Binding = "#{backingBeanScope.SupplierChange.optSystems}" = "horizontal" "
                               inlineStyle = "margin: 0px 0px 15px 0px;" autoSubmit = "true" >
             

    Kind regards.

  • Changes to engage in all dynamic regions

    JDeveloper 11.1.1.6

    I have a main page with 6 links dynamic region, a region and the buttons Commit / Rollback.

    When I click on one of the links, a different workflow id is returned and the page fragment associated with that workflow is displayed in the region.

    Each page fragment has an af:table which is based on a VO/BC.

    When I try to validate a change in the fragment of the displayed page, nothing is saved.

    I assume this has something to do with the scopes, but I don't know where the problem may be.

    I also noticed that when I make a change (to a field in a table), click on another link and return to the first link, the change is no longer there.

    What would cause validation to not see the change within the region?

    Thank you.

    HU,

    1. What is the scope of the taskflows DC: shared or isolated?

    2. do the validation button has immediate = false set?

    3. where is the commit treated in the region?

    4. What is the parameters of the taskflow?

    5. make sure a validation before moving to an another taskflow?

    Frank

  • Problems updating of an image in a dynamic region

    JDev 11.1.1.5 window 7 x 64 JDK 1.6_31

    I have a (capchta) image in a dynamic region with a data form and the fields.
    I use the SimpleCaptcha library (servlet) as any other image, she calls the servlet.
    The image loads and works very well as well as the audit.

    I wanted to put a button on the screen to refresh the image (get a new image essentially). (I have the sample application that does this as well).

    Problem is that I can't seem to update (AJAX) without refreshing the entire page (manually).

    I tried partial triggers (PPR) and just, they don't do anything.
    I tried using a command button and adding a refresh stripped - still nothing.
    Put it in a subform - no change.

    All items from google are updates of the region to another - not not refreshing points the same region - is there a problem with that?
    I use PPR a bit in other areas, but also stripped updates (these are all the buttons and text fields) - so I know PPR works within a region - same dynamics.
    This seems to be related to the fact that it is a picture of servlet.

    Someone there done this and can share the answer?

    How do you refresh the image... did you provide the image element to cool... its best to refresh the image Refresh parent component using addPartialTarget...
    surround the image with panelgrouplayout and refresh the component panelgrouplayout programmatically

  • Dynamic region and dynamic value of parameters of

    Hi all

    I have popup with dynamic region on my page. I also have the button, "button1" and "button2";
    When I press "button1" I want to run my dynamic region with parameter #{bindings. * field1 * .inputValue}
    When I press "button2" I want to run the same dynamic region (the same taskflow) but with the parameter #{bindings. * Field2 * .inputValue}

    How can I do?

    I try to run my taskflow with parameter #{pageFlowScope.valueParam}, but I didn't know when and how can I update this value? I knew I can't use setAcctionListner because it the fire after showPopupBehavior.
    I think, I can also use setPropertyListner because I didn't know which button has been activated and what value I should switch to taskflow.

    Thanks to advice.
    Oscar

    You can define clientAttributes for button1 and button2, and use setPropertyListener for popup. For example,.

    Button1

    
    

    Button2

    
    

    and your popup should look like:

    
        
        ....
    

    Published by: dorra on March 23, 2010 09:48

Maybe you are looking for