Show regions in a different area on a page (jsff or jspx)

Hi all

I have a requirement where I need to display several taskflows as a region in different places in a page (jsff or jspx). Let's say I have three taskflows dropped as a region (for for example, region1, region.2, elle3) I view on a page and assume that the regions should be at 3 different positions (for eg., position 1, position2, poste3) on the page. The requirement is to display regions to the dynamically specified locations.

For example,.

For client A, view region1 position 1, region.2 position2 and elle3 to poste3

For client B, view region1 position2, region.2 to poste3 and elle3 to position 1

For customer C, display region1 to poste3, region.2 to position 1 and elle3 at position2

I wonder how I can achieve this. If anyone could be kind enough to shed some light and explain how I can achieve this?

Thank you

Mahesh

No, the link does not solve this problem.

When you drop a region on a page as a dynamic reason, a bean is created that contains the path of the region to show. Regions more you drop on a page the mute these URLs are stored in the bean. You're playing with dynamic regions see you how the bean method are used to switch regions on a page. Then you implement the code to calculate the area to introduce and define the right url. See https://blogs.oracle.com/shay/entry/adf_dynamic_regions_switching_just and Articles Oracle: back Bean of switching to dynamic region | Oracle ADF

Timo

Tags: Java

Similar Questions

  • Show the cumulative results in three different areas?

    Is it possible to have the date entered in three different areas? For example, if I get the 13/03/2016 I want to show like this, third month, 13th day, year from 2016. In three separate fields. Can anyone help with a script to do this? Thank you guys.

    I understand perfectly, the programming is difficult and requires a different way of thinking.

    "" "You're almost there. '" It may work, but there are two questions that I see that could bite you later.

    The first is that you need to "declare" the variable "theMonth" (which was in my original script, but you probably deleted when you added the table of the names of months.) You're already declare (and initialization) variables 'leaders' and 'brassy', so just add this line to these two:

    var theMonth = "";
    

    And then at the end, you can remove a line: it's the calculation for the field 'theMonth' script, which means that we do not have to set the value of the field through 'this .getField ("theMonth") .value' - because it's a calculation script, you set the value of the field calculated using the property "event.value. Therefore, remove this line from the end of your script:

    this.getField("Month").value = theMonth;
    

    That should do it.

  • "Hide / show" regions – how to keep open after send the page

    Hello

    I have several regions ' hide / show ' in my request... when the user submits the page, it closes all the

    is there a way to keep one open that were opened before the page is sent?

    Thanks in advance

    Long answer: forget the hidden item and simply store the values in a cookie.  Use dynamic action, 1 2 plan to store the values when the page is submitted and the 2nd DA to retrieve the value and developing regions.

    Hide and Show parts APEX sticky

    Dynamic action 1

    Name: Save the open areas

    Event: before the Page is sent

    Condition: - no requirement.

    Real Action:

    Action: Run the JavaScript Code

    Fire on Page load: [disabled]

    Code:

    var lOpenRegions = []
    $(".hide:visible").parent(".hide-show-region").each(function()
      { lOpenRegions.push($(this).attr("id")) });
    SetCookie("HideShowOpenRegions",lOpenRegions.join(","));
    

    Dynamic action 2

    Nom : Open saved regions

    Event: Loading the page

    Condition: - unconditionally.

    Real Action:

    Action: Run the JavaScript Code

    Fire on Page load: [disabled]

    Code:

    if (GetCookie("HideShowOpenRegions")) {
      $.each( GetCookie("HideShowOpenRegions").split(','),
                function(intIndex, objValue) {
                  $("#"+$nvl(objValue,"x")+" .hide:first").show();
                }
      );
    }
    
  • How to set ' hide / show ' regions during the loading of the Page mode 'hide '.

    How to 'Hide' under regions on a page on the loading of the page, but don't show the region above in mode 'show' on a page?

    I have multiple regions, one under the other on a Page. All models on those who are assigned to the regions 'Hide and Show '. When the initial page loading - my goal is-displays only the Top more Region in "Show" mode, while setting all the other (regions to 'Hide' in low mode).

    Can someone please suggest ideas on how to achieve this? Dynamic action? or other approaches? Examples/steps please would be greatly appreciated.

    My request for a theme is set to 23 Crimson. Apex 4.1.x

    Thank you.

    VSKumar

    Hello

    What needs to be done is:
    Set up the STATIC ID for all regions with the exception of the first region.

    For example:
    REGIONTWO
    REGIONTHREE
    REGIONFOUR
    REGION 5

    Then go to the properties of the Page to the section head and footer. In the footer section, add the following:

    
    

    You can for example see http://apex.oracle.com/pls/apex/f?p=60428:5

    P.S. If you switch to another topic you should check if the classes are the same. Otherwise it will not work.

    Kind regards
    Aljaz

    Published by: Aljaz on 6.3.2012 0:04

  • align the JLabels and JTextFields vertically in different areas

    I have 3 TitledBorders to 3 different areas of my frame.
    Each region has its own components - JLabels, textfield, etc..
    How to align the JLabels and JTextFields vertically in different areas?
    for example, for the following test program, how to configure label1, label2, label3 so that their right sides all align them vertically and
    TF1, tf2, tf3 so that their left ribs all line up vertically?
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.GridLayout;
    import java.awt.Insets;
    
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    import javax.swing.border.TitledBorder;
    
    public class TitledBorderDemo extends JFrame {
      public TitledBorderDemo() {
        super("TitledBorderDemo");
    
        JTextField tf1 = new JTextField("hello", 6);
        JTextField tf2 = new JTextField("hello", 12);
        JTextField tf3 = new JTextField("test");
        JTextField tf4 = new JTextField("test2");
    
        JLabel label1 = new JLabel("1234567890ertyuiyup label");
        JLabel label2 = new JLabel("zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz long label");
        JLabel label3 = new JLabel("short label");
        JLabel label4 = new JLabel("test");
    
        JPanel panel_tf = new JPanel(new GridBagLayout());
        JPanel panel_pf = new JPanel(new GridBagLayout());
        JPanel panel_ftf = new JPanel(new GridBagLayout());
        
        GridBagConstraints constraints = new GridBagConstraints(0, 0, 3, 3,
                0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE,
                new Insets(10, 10, 10, 10), 0, 0);
    
        constraints.gridx = 0;
        constraints.gridy = 0;
        constraints.gridwidth = 2;
        constraints.anchor = GridBagConstraints.WEST;
        panel_tf.add(label1, constraints);
        
        constraints.gridx = 2;
        constraints.gridwidth = 1;
        constraints.anchor = GridBagConstraints.EAST;
        panel_tf.add(tf1, constraints);
    
        constraints.gridx = 0;
        constraints.gridy = 1;
        constraints.gridwidth = 2;
        constraints.anchor = GridBagConstraints.WEST;
        panel_pf.add(label2, constraints);
    
        constraints.gridx = 2;
        constraints.gridwidth = 1;
        constraints.anchor = GridBagConstraints.EAST;
        panel_pf.add(tf2, constraints);
        
        constraints.gridx = 0;
        constraints.gridy = 2;
        constraints.gridwidth = 2;
        constraints.anchor = GridBagConstraints.WEST;
        panel_ftf.add(label3, constraints);
    
        constraints.gridx = 2;
        constraints.gridwidth = 1;
        constraints.anchor = GridBagConstraints.EAST;
        panel_ftf.add(tf3, constraints);
    
        constraints.gridx = 3;
        constraints.gridwidth = 1;
        constraints.anchor = GridBagConstraints.WEST;
        panel_ftf.add(label4, constraints);
    
        constraints.gridx = 4;
        constraints.anchor = GridBagConstraints.EAST;
        panel_ftf.add(tf4, constraints);
    
    
        panel_tf.setBorder(new TitledBorder("JTextField1"));
        panel_pf.setBorder(new TitledBorder("JTextField2"));
        panel_ftf.setBorder(new TitledBorder("JTextField3"));
    
        JPanel pan = new JPanel(new GridLayout(3, 1, 10, 10));
        pan.add(panel_tf);
        pan.add(panel_pf);
        pan.add(panel_ftf);
        this.add(pan);
      }
    
      public static void main(String args[]) {
        JFrame frame = new TitledBorderDemo();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(600, 450);
        frame.setVisible(true);
      }
    }

    I forgot how tedious GBL can be straight out of the box, since I usually use a helper class that I wrote for the work of constraints (a common approach).

    Anyway, here's a sample program ussing the technique I described previously. Note the horizontal on the panels of 1st and 3rd spacers that are used to "take out" the text fields so they line up on the left with the text of Group 2 field. I also added some glues at the end of these panels to make each Panel to fill in the same width.

    import java.awt.*;
    
    import javax.swing.*;
    import javax.swing.border.*;
    
    public class TitledBorderDemo extends JFrame {
      public TitledBorderDemo() {
        super("TitledBorderDemo");
    
        JLabel nameLabel = new JLabel("Name");
        JTextField nameText = new JTextField(20);
    
        JLabel addressLabel = new JLabel("Address (City & State)");
        JTextField addressText = new JTextField(40);
    
        JLabel phoneLabel = new JLabel("Phone");
        JTextField phoneText = new JTextField(20);
    
        int longWidth = addressLabel.getPreferredSize().width;
    
        GridBagConstraints constraints = new GridBagConstraints();
    
        //--------------------
    
        JPanel p1 = new JPanel(new GridBagLayout());
        p1.setBorder(createBorder("Name"));
    
        constraints.gridx = 0;
        constraints.gridy = 0;
        constraints.anchor = GridBagConstraints.EAST;
        constraints.insets = new Insets(4,6,4,6);
        p1.add(nameLabel, constraints);
    
        constraints.gridx = 1;
        constraints.anchor = GridBagConstraints.WEST;
        p1.add(nameText, constraints);
    
        constraints.gridx = 2;
        constraints.anchor = GridBagConstraints.WEST;
        constraints.fill = GridBagConstraints.HORIZONTAL;
        constraints.weightx = 1.0;
        p1.add(Box.createHorizontalGlue(), constraints);
    
        constraints.gridx = 0;
        constraints.gridy = 1;
        constraints.fill = GridBagConstraints.NONE;
        constraints.weightx = 0.0;
        p1.add(Box.createHorizontalStrut(longWidth), constraints);
    
        //--------------------
    
        JPanel p2 = new JPanel(new GridBagLayout());
        p2.setBorder(createBorder("Address"));
    
        constraints.gridx = 0;
        constraints.gridy = 0;
        constraints.anchor = GridBagConstraints.EAST;
        constraints.insets = new Insets(4,6,4,6);
        p2.add(addressLabel, constraints);
    
        constraints.gridx = 1;
        constraints.anchor = GridBagConstraints.WEST;
        p2.add(addressText, constraints);
    
        constraints.gridx = 2;
        constraints.anchor = GridBagConstraints.WEST;
        constraints.fill = GridBagConstraints.HORIZONTAL;
        constraints.weightx = 1.0;
        p2.add(Box.createHorizontalGlue(), constraints);
    
        constraints.gridx = 0;
        constraints.gridy = 1;
        constraints.fill = GridBagConstraints.NONE;
        constraints.weightx = 0.0;
        p2.add(Box.createHorizontalStrut(longWidth), constraints);
    
        //--------------------
    
        JPanel p3 = new JPanel(new GridBagLayout());
        p3.setBorder(createBorder("Phone"));
    
        constraints.gridx = 0;
        constraints.gridy = 0;
        constraints.anchor = GridBagConstraints.EAST;
        constraints.insets = new Insets(4,6,4,6);
        p3.add(phoneLabel, constraints);
    
        constraints.gridx = 1;
        constraints.anchor = GridBagConstraints.WEST;
        p3.add(phoneText, constraints);
    
        constraints.gridx = 2;
        constraints.anchor = GridBagConstraints.WEST;
        constraints.fill = GridBagConstraints.HORIZONTAL;
        constraints.weightx = 1.0;
        p3.add(Box.createHorizontalGlue(), constraints);
    
        constraints.gridx = 0;
        constraints.gridy = 1;
        constraints.fill = GridBagConstraints.NONE;
        constraints.weightx = 0.0;
        p3.add(Box.createHorizontalStrut(longWidth), constraints);
    
        //--------------------
    
        JPanel panel = new JPanel(new GridBagLayout());
    
        constraints.gridx = 0;
        constraints.gridy = 0;
        constraints.fill = GridBagConstraints.HORIZONTAL;
        constraints.weightx = 1.0;
        panel.add(p1, constraints);
    
        constraints.gridy = 1;
        panel.add(p2, constraints);
    
        constraints.gridy = 2;
        panel.add(p3, constraints);
    
        this.add(new JScrollPane(panel));
      }
    
      private Border createBorder(String title)
      {
        TitledBorder b = new TitledBorder(title);
        b.setTitleColor(Color.RED.darker());
        return b;
      }
    
      public static void main(String args[]) {
        JFrame frame = new TitledBorderDemo();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setVisible(true);
      }
    }
    
  • How can I change the graphics in different areas of a movie?

    I have a project I have been working for a flooring company. They want a Flash animation that allows the user to change the appearance (color and product) of the different areas of the floor.

    I have a menu on the side left which refers to the three different areas of the floor. I have the two products as well as samples of color on top. I currently have each of the three areas as separate movies loading in a main movie.

    These films from three region each contain samples of color on top like buttons to change the color of this area using actions ' on release > go to image tag "that displays each of the different colors. These films each load on another plan, based on the selection in the left menu.

    I want the user to be able to go to each of the three areas and change the attributes of the product and/or the color without losing what they had already done. For example, if they choose the PRODUCT A in RED for ZONE 1, then they want to change the product and/or color on ZONE 2, I still want to film on view A PRODUCT in RED for ZONE 1, etc..

    The problem I encounter is that when you go back between the three areas, navigation controls that this film is the highest level and does not allow the user to return to a previous area and change the product and/or the color attribute.

    Keep in mind, I'm a designer, not a developer. My Actionscript knowledge is very superficial, to not throw a bunch of "geek talk" look at me ;-)

    We don't know how you have arranged design timeline-wise, but what you need to do is to get out the chronology by as much as using clips.  Each zone as a movieclip different that you control with the selection buttons.  In this way, change the current image of a movieclip does not interfere with another.

  • Satellite Pro M10 - horizontal lines on the screen in different areas

    Hi all

    I hope someone can help.
    My Satellite Pro M10 seems to suffer a display problem where I have horizontal lines on the screen in different areas.
    It would be well for 10 minutes and when the laptop seems to warm up this problem begins, then shortly after
    The laptop would crash and enter in a resolution of 800 x 600 16 colors or sometimes freeze.

    Graphic drivers have been resettled, and even a new installation of Windows XP from the recovery CD does not help.
    A reboot doesn't solve what the same thing happens again and after one minute of use, so I thought it might be a video or cooling problem.
    I changed the video card I had a spare part of my last motherboard hoping this would solve the problems, but the problem persists.
    Perhaps a cooling problem? Or problems of motherboard?
    The motherboard has been replaced twice, hoping that this isn't another mobo problem.

    Any advice would be great.

    Thank you.

    Hello

    I m not 100% sure but to me it looks a bit like an overheating problem
    Maybe the graphics card may not be properly cooled after a certain period of time and that's why these strange horizontal lines appear on the screen.

    I wonder how you were able to replace the graphics chip on the motherboard?  :|
    If I m not wrong not the chip is fixed and the replacement is very easy and difficult

    It of always difficult to say what's maybe wrong without running several diagnostic tests in most cases this problem may be related to the defective chip or motherboard and so the following should be checked

    Sorry, but that's all I can suggest.

    Best regards from my friend

  • warning by email: we discovered the series of illegal attempts on your e-mail account of different areas of the intellectual property. It's for your own safety to continue to use your account, click on the button below.

    Original title:

    warning by email

    Got this e-mail with the subject attention!

    Is - is this legitimate?

    He wants me to press any key to continue

    Thank you

    Microsoft account
    Microsoft Security info
    We discovered the series of illegal attempts on your e-mail account of different areas of the intellectual property.
    It's for your own safety to continue to use your account, click on the button below.
    Continue
    Note: Please do not ignore this email to avoid your closed account
    Thank you
    The team Microsoft account

    Hello

    Phishing scam.
    Ignore!

    FYI

    Microsoft usually has a green shield on the name of the sender.

    This indicates that the e-mail coming from Microsoft / play the sender.

    If, in case of doubt, please check your email to see if the Green Shield is there. ***

    Phishing: Frequently asked questions
    How can I Report Spam, Phishing or abusive messages in Outlook.com?

    My account has been hacked

    How to recognize phishing e-mails, phone calls or links

  • Integration of the TPM with 2 different areas AD

    Hi people,

    We have an obligation to incorporate 2 different areas with OVD AD and provide a single view of the data from the announcement of foreign principals of the follow-up to the announcement that the Member in the Group AD1 attribute value is set to the AD2 user objectSid.


    I created the maps below and custom plugin as part of the implementation:

    • Created an AD adpater to AD1 Directory(AD1 Group adpater) Active traction groups - main card
    • Created an AD adapter to users to get AD1 Active Directory (adapter user AD1)
    • Created an AD adapter to users to get AD2 Active Directory (adapter AD2 user) - link adapter
    • Created join adpater so that data on top 3 adapters can be provided in a single view (join adaptor)
    • Custom plugin was created to replace the Member of the group attribute in AD1 containing the value objectSID with the corresponding user DN AD2
    • Custom plugin extends the BasePlugin interface and the inti() and postSearchEntry() method overides

    The custom plugin triggers when I connect to OVD through any LDAP browser and navigate the view and the custom plugin does its job to replace the member attribute in AD1 with the DN of the user of AD2, but when I run the ldapsearch to OVD to return the Member for any particular user (Member = cn = < UtilisateurDN >) I do not see my custom plugin to trigger and the ldapsearch is passed to the AD1 where it has no Details on the user DN but only the objectSid of the user.

    After investigation, implemented the get() method in my custom code to transform the search filter incoming (Member = cn = < UtilisateurDN >) with the objectSid (Member = cn = < objectSid >) and past the filter changed to the chain.nextGet () method.

    In the journals of backend, I can see the custom plugin is triggering and turning the filter and passing to AD1 and custom plugin print groups that belongs to the user, but I don't see any results for the ldapsearch command.

    Counsel on this will be highly appreciated.

    Thank you

    Simo

    You will still need to run super.get () when there is any result to add.

  • I say 6 layers of an interior of the Hall and the only difference between them is that I'm in different places on the pictures to illuminate different areas with a flash.  I thought that I could retire to each image using a layer mask but it doesn, t seem

    I say 6 layers of an interior of the Hall and the only difference between them is that I'm in different places on the pictures to illuminate different areas with a flash.  I thought that I could retire to each image using a layer mask but it doesn, t seem to work... any suggestions please

    Try this automatic method

    http://phlearn.com/automatically-remove-objects-photos-Photoshop

  • I'm 7 days in LR to the trial. After creation and 'use' to develop to edit 6 catalogues, I find without changing this or that all catalogs when opening, now have a bright red nail in different areas of the photos in the catalog. Some of the

    I'm 7 days in LR to the trial. After creation and 'use' to develop to edit 6 catalogues, I find without changing this or that all catalogs when opening, now have a bright red nail in different areas of the photos in the catalog. Some of the catalogues have been created several days ago and were considered OK, but now this 'red' hue appeared in all the catalogues without any intervention by me.

    I don't know why you create several different catalogs. Lightroom is managed much more efficiently using a single catalog. But regardless of this issue, it seems that if you have enabled clipping indicators. Pressing the J button makes the point high and indicators on shadow clipping or out of service. Or you can click on the small square in the upper corners of the histogram. Clicking the square to the left turns clipping shadow power. Clicking the square to the right will turn point highlight clipping power. I leave switched indicators so that I can identify areas that need to be adjusted so that I can eliminate all clipping.

  • Ports required to migrate between ESXs models in different areas of FW

    Hello

    I have an ESX in Location1 hosting models. I have another group of ESX in Loacation2. I want to deploy an an ESX virtual computer in guest place.2 from a model of Location1.

    We have a firewall located between 1 location and location two. ESX on the two Sites is managed by a server on Location1 vCentre.

    The firewall has already 902,903,443,27010 and 27000 open between vCentre server and the LAN of guests place.2. However we can not yet deploy vms in lcoation2 of the models of location1.

    I read something that was rather vague on the opening of the port 902 between ESX on different areas of FW. Can anyone confirm if it's it's it stop working. I have to open 902 Port TCP and UDP between two LANs in both sense? Also is there anything else that needs opening between them. We do not HA, DRS and vMotion to present as all virtual machines are the local storage.

    Thank you

    Steve

    Hello.

    See the kb article 1006865.

    Good luck!

  • Provisioning of users from different areas, based on a user IOM attr field

    Hi all

    We have a requirement where we are supposed to supply to the users of a particular resource under certain conditions.
    The scenerio is like:

    In the screen of the user of the IOM, we get an attribute, for example say "Organization Id" which can have so-called values 'A', 'B' or 'C '. If the Id of the Organization has a so-called value 'A', then we need to check if the user is a case of rehire or not. Additional logic must be added if it is the case of rehiring. Once the complete logic is enabled, it must then assign the user to a particular group of which the user through the access policy will be put in service a particular resource to say 'ABC' FIELD.

    If said the Organization Id value 'B', then we want directly to the user to be placed in service to a different DOMAIN, say "XYZ" once again using an access policy applied in a group.

    Can you please let me know what would be the best possible approach to achieve this.
    All entries will be very appreciated.

    Concerning
    Nikhil

    There are several ways to implement your requirements.

    I would use an adapter of the entity to implement the Organization and to rehire logic check. Then I would put the user in different groups IOM with enclosed access policies provides the resources (see http://iamreflections.blogspot.com/2010/09/oim-howto-target-system-group.html)

    To the different areas, you can either use an object resource with the domain set up in the ITResource or you can clone the connector and use a resource by domain object.

    Best regards
    / Martin

  • Use the same script in different areas?

    Is it possible to use the same script in different areas?

    I had several scripts that will validate and modify the entries in the user on different areas. Since they do exactly the same thing, is it not possible to just get out the 'real' on a field script and refer to other fields to this script?

    Of course - we have a fragment of 'commonScriptObjects.xdp' that we all have

    our common methods of javascript in.  Then we add to the form and hide it.

    then use the following reference to point to the script object:

    GET A HANDLE TO THE SCRIPT OBJECT

    var commonScript =

    xfa.resolveNode ("commonScriptObjectsFrag.fragmentScript");

    CALL A JAVASCRIPT METHOD IN THE SCRIPT OBJECT

    commonScript.setupSearch ();

    Here's something else you can do to validate our mandatory fields.  We spend in

    the real to validate field and the name of the field as a text string:

    If (! commonScript.validateRequired (mainContentSubform.customerName,)

    False return 'Customer'));

    and the validateRequired method, which is in our commonScriptObject xdp

    file, looks like this:

    validate required fields

    function validateRequired (oField, fieldName) {}

    Console.println ("enter validateRequired");

    var commonScript =

    xfa.resolveNode ("commonScriptObjectsFrag.fragmentScript");

    If (commonScript.isNullValue (oField.rawValue))

    {

    xfa.host.messageBox ("Please fill out the '" + fieldName +)

    ("' field.", "Error", 3);

    xfa.host.setFocus (oField);

    Returns false;

    }

    Returns true;

    }

    Hope that helps,

    Elaine

    ocen12 [email protected]>

    29/07/2009 09:26

    Please respond to the

    [email protected]

    TO

    Amal [email protected]Schmitz >

    CC

    Object

    Use the same script in different areas?

    Is it possible to use the same script in different areas?

    I had several scripts that will validate and modify the entries in the user on

    different areas. Since they all do exactly the same thing, is not

    possible to just get out the 'real' on a field script and refer to the

    other areas of this script?

  • Hide / show region

    Hello

    I used the (region to show and hide) in one of my application pages. When I first login and click on the page of the region is by default on the mode (hide). How can I change this default behavior to make the region (see the) default mode?

    Thank you

    AL

    Try with this:
    Change the display: no display: block
    And with minus.gif plus.gif

Maybe you are looking for