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

Tags: Java

Similar Questions

  • Repeat dynamic region - how to remove empty fields

    I have a results page that shows a result of searching for a simple contact DB. This page has a region repeatedly, based on the fields of dynamic text for contact, address, city, State, zip and phone.

    The problem is that sometimes there is only a contact name and phone recording in mySql. In these cases, I do not want to have 4 spaces for the missing address, city, State and zip.

    Y at - it a php script that I can use that ignores text holders if they are null in the DB?

    destind4film wrote:
    > So here is the code for my problem of empty spaces.

    The answer is so simple, you're going to get started. You have
    inserted the conditional statements, but the
    the tags are
    Apart from them, so they always get inserted in the page. The
    Tags
    as part of the conditional statement, too. Put them before each
    point to the place at the end of the previous one. This way, you will get a
    linefeed only when it is really needed. I also removed the PHP
    Tags around each line. They do no harm, but they make the code more
    difficult to read. Dreamweaver automatically inserts around Dynamics
    because text that he has no idea where you're going to place it. Given that the
    the database results are displayed as a single block, you need the tags only
    at the beginning and at the end of the block.




    If (! empty ($row_directoryResults ['doctorName']))
    echo '
    '. $row_directoryResults ["doctorName"];
    If (! empty ($row_directoryResults ['clinicAddress']))
    echo '
    '. $row_directoryResults ["clinicAddress"];
    If (! empty ($row_directoryResults ['clinicCity']))
    echo '
    '. $row_directoryResults ["clinicCity"];
    If (! empty ($row_directoryResults ['clinicState']))
    echo '
    '. $row_directoryResults ["clinicState"];
    If (! empty ($row_directoryResults ['clinicZip']))
    echo '
    '. $row_directoryResults ["clinicZip"];
    echo '
    '. $row_directoryResults ["clinicPhone"];? >



    mysql_fetch_assoc ($directoryResults));? >

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How to access page aplication module of dynamic region?

    Hello

    I have a main app with the shared library. Page.JSFF (from the main application) contains dynamicRegion. Task flow for this dynamicRegion I defined in library shared sessionBean. I need call commit action in the main application for the data in a dynamic region.

    How to access the application module or binding operation for page of workflow dynamic region?

    I try to do this:

    BindingContainer bc is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

    DCTaskFlowBinding dtb = (DCTaskFlowBinding) (bc) .findExecutableBinding ("dynamicRegion1") (DCBindingContainer);

    System.out.Print ("" + dtb.getViewPort().getViewId()+"\n"); -return id correct view

    Form JUFormBinding = dtb.findExecutableBinding ("test5PageDef") (JUFormBinding);

    DCBindingContainer dcRegion = form;

    OperationBinding o = dcRegion.getOperationBinding ("Commit");

    o.Execute ();

    but the result is NullPointerException

    Jdev 11.1.2.4

    Thank you

    Hello

    Try this:

    BindingContext bindingContext = BindingContext.getCurrent ();

    DCBindingContainer dcBindingContainer = bindingContext.findBindingContainer("myPageDef");

    OperationBinding operationBinding = dcBindingContainer.getOperationBinding ("Commit");

    operationBinding.execute ();

    Kind regards

    Ruben

  • 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

  • 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

  • [JDev12.1.2, ADF] How do I order dynamic region by a menu bar?

    Hallo,

    I saw the video of this useful Shay https://blogs.Oracle.com/Shay/entry/adf_dynamic_regions_switching_just in which succession of dynamic region is managed by creating a "dynamic region link" for each defined workflow to display in the region.

    I would order the change of dynamic region by clicking on the menu to a menu bar items.

    What is the cleanest to achieve this way? Can I use the scope view bean managed which JDev make me create when I drag the first bounded task flows to create the region? I saw every link that I create is added to the partial triggers in the region...

    My page container (in the region) has its own bean support. To manage the region: could I convert the scope of this bean to 'see' and use it? Or is it a good practice creating a bean completely assigned to the management of the region?

    Thank you

    Federico

    Hallo

    This ADF: how to restart a taskflow menu is a good example of creating a dynamic region activated by a menu.

    Ciao,.

    Federico

  • Pass the parameter page fragment in a dynamic region

    Hello.

    I use Jdeveloper 11.1.1.3.

    Can someone explain to me how to pass the parameter page fragment in a dynamic region?

    My situation is:

    I have only 1 page: index.jspx.

    This page includes 2 items:
    1. < af:tree >
    < af:tree id = "t1" var = 'node' rowSelection = 'single '.
    value = "#{bindings." Rendering FpsrVO1.treeModel}"="true"expandAllEnabled ="true ".
    contentDelivery = "lazy" initiallyExpanded = "false".
    contextMenuSelect = 'false' fetchSize '-1' = >
    < f: facet name = "nodeStamp" >
    < af:commandLink id = "cl1" rendered = 'true '.
    actionListener = "#{backingBeanScope.RegionDynamicBean.treeClick}" >
    < af:outputFormatted id = "outForm' value = ' #{node." Name}' has made = "true" / >
    < name f: attribute = "Flash" value = "#{node." Code} "/ >"
    < / af:commandLink >
    < / f: facet >
    < / af:tree >
    2. < af:region >:
    < af:region value = "#{bindings.dynamicRegion1.regionModel} '"
    ID = "r1" / >
    region could be changed to 3 delimited taskFows who have just a fragment of page.

    Can someone explain to me how I can send < name f: attribute = "Flash" value = "#{node." Code} "/ > element tree to page fragment that will appear on the screen?"

    You can move a card to the dynamic region that would take the parameters of workflow task in the form of key-value pairs.


    taskFlowId = "${backingBeanScope.TestPageBean.dynamicTaskFlowId}" "
    Activation = "deferred."
    xmlns = "http://xmlns.oracle.com/adf/controller/binding."
    parametersMap="#{backingBeanScope.TestPageBean.parameters}"/ >

    When reloading the taskflow, ensure that the settings are loaded into the taskflow.

    See this example from exactly your use case:
    http://adfsampleapplications.googlecode.com/svn/trunk/TaskflowParamSampleApp.zip

    Thank you
    Nini

  • How to publish contextual dynamic region event

    Hi Experts, please help.

    Scenario:

    I have a page saying the Page A.
    I have two stubborn workflow, say HeaderTF and LinesTF.
    HeaderTF is placed as a static region in page A and LinesTF is a dynamic region in A page.
    LinesTF has a table with the column Amount.
    HeaderTF has a text field that contains the total of the column amount.

    Requirement:

    When the user adds new lines or changes existing lines or deletes the lines in LinesTF, it suits to update total field in HeaderTF.

    On the evolution of the value of the sum in lines, I'm calculating and updating the total attribute of header VO all share same DC.
    but the value is non-reflecting because partial triggers can be maintained for the total field.

    So I use contextual events.

    I created a contextual events for the amount field, delete button and table as well (in LinesTF).
    and I created method handler AM that calculates the total and dragged like a text field in HeaderTF.
    Now when I try to subscribe to pageA pagedef, I am able to find the manager who is created in HeaderTF but could not find any contextual event in event lov.

    Question:
    1 is. my approach correct?
    2 cant publish us contextual events of dynamic regions?
    3. is there another way to do this?

    I wasn't refreshing HeaderTF passing the entry params because I don't want the whole region to be updated.

    Try to create the mapping of events - please see "How to Create Contextual events manually 28.7.2" in Guide of Dev http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/web_adv.htm#CACJBFGI

  • Where did my design go?  I created 4 pages for web design and I was finishing up the home page, all the other 3 pages have simply disappeared, the layers are empty? I spent 4 days design that... How to make that back?

    Adobe Muse: Web design.

    Where did my design go?  I created 4 pages for Web design and I was finishing up the home page, all the other 3 pages have simply disappeared, the layers are empty? I spent 4 days design that... How to make that back?

    I restarted the laptop,

    creates a new document and quickly made 3 new pages... and yet once... These pages have disappeared?

    Please provide a quick solution for me because I have to present my work to the customer.

    Did you remove all traces of high level in the layers (i.e. "layer-1") Panel?

    When something like you describe is reported, most often the user does not understand the layers of high level exist across all pages and updates on the page of your site. If you delete "Layer 1" you may remove the content of all pages of your site.

  • the background behind my pages turned black, how to return to grey? I spent between purge normal, preview, Slug and presentation and closed and open in design and it is always black. I can't imagine layouts with the black arr.plans

    the background behind my pages turned black, how to return to grey? I spent between purge normal, preview, Slug and presentation and closed and open in design and it is always black. I can't imagine layouts with black background please help!

    or maybe that the interface has been defined on Dark?

    Go to Preferences > Interface tab, choose light color theme dropdown on Apearance section (the upper part of the window)

  • ADF 11.1.1.7: Control a dynamic region of JSP with a SelectOneChoice

    Hello user community:

    I have a need to understand How to control content within a dynamic on a JSP page region.  In the JSP page content within the dynamic region is determined by a selectOneChoice drop-down list presented to users...  I have spent hours of research and cannot identify the exact procedure for this process.   Please point me in the right direction. I look forward to any input provided.

    Here is my scenario:

    1. users will select a TransactionType in a drop-down list.
    2. According to the selection selectOneChoice the loading of a page of .jsff within the dynamic region.

    Details of the background:

    • I have a dashboard for the details of the Transaction.  This is the JSP page.
    • I have 18 Transaction_Detail fragments of page based on your that take advantage of bind variables & discovers the criteria.  Here are the pages JSFF '.



    I want the JSP page to control what JSFF page is loaded in the menu-driven selection of users drop-down.  I found a simplistic example of this ability in blog of Zeeshan Baig.  However, the logic command what JSFF page is loaded if... otherwise based, and using a workflow IDs.  I can use the flow ID of the task, but I only need 1 page JSFF responsible.


    Thank you very much!

    TreeStrepek

    What you describe is a simple switch of dynamic regions. Watch the video of Shay https://www.youtube.com/watch?v=gNipIBn5Zv0

    Instead use the links to the selected region, you put the id of the workflow in a list that you put on a LOV. When you select a new value LOV the region moves.

    Timo

  • [ADF, JDev12.1.3] Why dynamic region is not spend if I re - call the currently displayed workflow?

    Hallo,

    I have a page with a dynamic region that is managed by a range backingBean bean.

    Functions "startBtf...". "are called when a menu item is clicked.

    The workflow as BTF3 is called by two different functions and each function passes a different value (used by a component of router) to the workflow through the hash table.

    The problem is that startBtf3_Search is called after the startBtf3_Create (and vice versa) the dynamic region is not updated.

    How can I solve this problem?

    Thank you

    Federico

    public class MainDynamicRegion {
      private HashMap parameters = new HashMap();
    
      public MainDynamicRegion() {
      }
    
      public TaskFlowId getDynamicTaskFlowId() {
        AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
        String currentTaskflowId = (String) adfFacesContext.getPageFlowScope().get("CurrentTaskflowId");
        if (currentTaskflowId == null || currentTaskflowId.trim().equals("") == true) {
          currentTaskflowId = "/WEB-INF/empty-btf.xml#empty-btf";
          }
        return TaskFlowId.parse(currentTaskflowId);
      }
    
      private void setCurrentTaskflowId(String currentTaskflowId) {
        AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
        adfFacesContext.getPageFlowScope().put("CurrentTaskflowId", currentTaskflowId);
      }
    
      public void startBtf1(ActionEvent actionEvent) { 
        this.setCurrentTaskflowId("/WEB-INF/btf-1.xml#btf-1");
        this.parameters.clear();
      }
    
      public void startBtf2(ActionEvent actionEvent) { 
        this.setCurrentTaskflowId("/WEB-INF/btf-2.xml#btf-2");
        this.parameters.clear();
      }
    
      public void startBtf3_Search(ActionEvent actionEvent) {
        this.setCurrentTaskflowId("/WEB-INF/btf-3.xml#btf-3");
        this.parameters.clear();
        this.parameters.put("mode", "S");
      }
    
      public void startBtf3_Create(ActionEvent actionEvent) {
        this.setCurrentTaskflowId("/WEB-INF/btf-3.xml#btf-3");
        this.parameters.clear();
        this.parameters.put("mode", "C");
      }
    
      public void setParameters(HashMap parameters) {
        this.parameters = parameters;
      }
    
      public HashMap getParameters() {
        return parameters;
      }
    }
    

    The workflow as BTF3 is called by two different functions and each function passes a different value (used by a component of router) to the workflow through the hash table.

    The problem is that startBtf3_Search is called after the startBtf3_Create (and vice versa) the dynamic region is not updated.

    How can I solve this problem?

    You call the taskflow even without leaving the previous.

    To update the workflow, you have several options:

    -Give taskflow refresh 'ifNeeded' parameter and change the value of the input parameter (unfortunately, it is not applicable to your usecase because you use the parameter mapping and not point settings so setting change cannot be detected)

    -use the property RefreshCondition

    For more details, see: 23 by using task flows in regions (12 c (12.1.3))

    BTW,

    currentTaskflowId = "/WEB-INF/empty-btf.xml#empty-btf";
    

    Instead, you can change the return type for getDynamicTaskFlowId() to a string and use an empty string ("" ") instead of emptying the BTF (and in this case you don't need even of TaskFlowId.parse (part)).

    Dario

  • Refresh the dynamic region on close session

    I work with dynamic regions and the problem is that: If the first user with rol, one begins to navigate his workflow and don't return to the initial task flow and close its session, then another user with rol B view the last page the user with rol sailed to. I test this case in a browser and in a single computer. So how to solve this problem? This put my session nearby:

    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
            clave = "";
            usuario = "";
            HttpServletResponse response = null;
            if (ectx != null) {
                response = (HttpServletResponse)ectx.getResponse();
                try {
                    String url = ectx.getRequestContextPath();
                    response.sendRedirect(url + "/faces/login");
                    FacesContext.getCurrentInstance().responseComplete();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
    

    Hello

    I see that navigate you to the login screen, but I don't see you leave the session. You must invalidate the session in order to ensure that a new user can connect.

    Frank

  • Dynamic region: task flow interfering with eachother

    JDeveloper 11.1.1.6

    I followed the tutorial of Shay on dynamic regions: https://blogs.oracle.com/shay/entry/adf_dynamic_regions_switching_just

    I then added create/edit buttons at the bottom of the departments and the pages of the employee.

    I added the control flow in the workflow to create and edit actions, they must go to another page containing an ADF form to create or edit a Department or employee.

    It works fine for departments, if you click on create in the departments table, and then you get to create a new Department.

    The problem is for employees, when you click on create, updates of the region and the departments table shows yet once, instead of display the employee update page.

    I think it's a question of scope, but I don't know what I should check or how to debug this.

    Any tips? Thank you.

    What effect have you bean where the taskflowIs is stored in?

    It should be at least within sight. If you have created is as in the tutorial, it is created in the scope of the request.

    Open the adfc-config. XML in preview mode, and then select the managed bean section. Select the bean, then change the scope to display. Then try again.

    Timo

  • Dynamic region of the ADF

    JDeveloper Studio Edition Version 12.1.2.0.0

    We have a Forms application we're calling an ADF application from. The application of the ADF is simple. A page with a dynamic region. The forms application will use a setting of url for the application of the adf to decide which region to show. Can someone explain how best to 1) capture the setting and 2) invoking the correct region. Should I put in place some - type listener of phase on the page or is there a better way?

    Thank you

    Neal

    You can add the page parameter to view activity.

    Select your view activity diagram adfc-config and in the section 'Page Settings' add the new parameter.

    "Of value" set something like: #{param.yourUrlParamName}

    As value 'to' set something like: #{viewScope.targetVariable}

    Then, in the dynamic region bean change getDynamicTaskFlowId() method, for example:

    public TaskFlowId getDynamicTaskFlowId() {
    String target = (String)ADFContext.getCurrent().getViewScope().get("targetVariable");
    if("tf1".equals(target)){
    return TaskFlowId.parse(taskFlow1Id);
    }else{
    return TaskFlowId.parse(taskFlow2Id);
    }
    }
    

    Dario

Maybe you are looking for

  • G4050 cropping do not square

    I have a G4050 scanner.  When I scan my item the crop box is sometimes not square with the scanned object.  Box of 10 to 30 degrees wide.  This means I can't crop analysis the way it should be.  I shut down the computer and restarted but it keeps giv

  • Equium M40X - can not open IE7 or emailed

    I use WXP home SP3 and the latest Atheros AR5005GS Wireless Network Adapter on my Equium M40X and have no problem with the creation of wirelessconnections. But when I connected to my Wi - Fi and try to open IE7 or sent emails from my office 2007 outl

  • HP laptop: computer does not open

    The computer turned on and immediately shows the message 'enter the administrative password or power number'.  I have no recollection of one.  How do get me on this problem?

  • Install the driver on HP laptops

    Hello! I have install 2 to 5 HP computers per day. It bothers me that I have to download every driver individually from your site. How can I download all the drivers for a specific laptop at the same time? Do you have an ftp site? Why don't you have

  • 2335dn does not turn on and make clicking noise

    I have a 2335dn printer that does not turn on and makes a clicking noise up through the document feeder.  FYI, the scanner lock is not locked either.  The display does not illuminate, nor the printer begins to warm.  It is simply a constant clicking