How to pass a dynamic value to display the criteria

Hello

I have a requirement to indicate the hierarchy. Here, I want to spend the connected in the id of the Manager to the view criteria so that the hierarchy can change based on the connected Manager.

Can anyone help how can I accompolish this.
Can I use the binding variable to pass the value to display the criteria?

If you get the Director based on the user id, you can run the display criteria based on the user, as follows:
http://jobinesh.blogspot.com/2010/10/how-to-set-bind-variable-values-at.html

Ensure that the method is executed until the viewer of the hierarchy is responsible.

Thank you
Nini

Tags: Java

Similar Questions

  • Header of page-how to pass a dynamic value?

    Hello

    I created a page - which redirects to an external link.
    I have following code in the page header.

    < META HTTP-EQUIV = "refresh" CONTENT = "2; URL = XYZ.com ">".
    < b > < p > < p > < p > < p > < p >

    < /b >


    When I run this page, redirects after 2 seconds to this particular url: xyz.com.

    My query is: Ii would there the URL value dynamically.

    I tried with the following code in the header:

    var abc = $v ('P97_TEST');
    < META HTTP-EQUIV = "refresh" CONTENT = "2; URL = abc ">".
    < b > < p > < p > < p > < p > < p >

    < /b >

    where P97_Test is an element of text field.

    But he directs me to a url: my_apex instance/abc. It does not work.

    No idea how to pass the value of the url dynamically? I need to get the success of a particular URL.

    Thank you
    Archana

    Dear Archana,

    I found the following solution work:

    (1) create an element on the page to the URL (in this example, P3_URL)

    (2) create a pl/sql process
    type: PL/SQL anonymous block
    address the point: on the laundry before header
    Source:

    begin
    :P3_URL := 'http://www.google.de/';
    end;
    -- this can be as sophisticated as you need
        
    

    (3) according to the Page Properties / header before HTML

    
    

    Marc

  • How to make a label (javafx) to display the current time dynamically?

    Hi all

    How to make a label (javafx) to display the current time dynamically?

    I have not found a Type of event related to the time in javafx API.

    Please give me some suggestions. Thank you!

    Sage

    There are lots of examples of JavaFX clocks available, for example https://gist.github.com/jewelsea/3388637 or http://blog.crisp.se/2012/08/09/perlundholm/an-analog-clock-in-javafx

    For a simple label displaying the time, the simplest thing is to create a Timeline with duration 1 second and the number of indefinite cycle, which triggers an event handler that updates the label:

    final Label clock = new Label();
    final DateFormat format = DateFormat.getInstance();
    final Timeline timeline = new Timeline(new KeyFrame(Duration.seconds(1), new EventHandler() {
         @Override
         public void handle(ActionEvent event) {
              final Calendar cal = Calendar.getInstance();
              clock.setText(format.format(cal.getTime());
         }
    });
    timeline.setCycleCount(Animation.INDEFINITE);
    timeline.play();
    

    (If you use Java 8, use the new time API, which is much more pleasant than calendar.)

  • Dynamic action to display the button

    Hi all

    I use Apex 4.1

    I want to build a dynamic action:
    If a value in the select list is changed - a button must be indicated.

    It does not work!

    Yes, I did:

    In the model of button:
    either:

    < button value = "" #LABEL # "class ="grey button"type ="button""
    #BUTTON_ATTRIBUTES # >
    < span > #LABEL # </span >
    < / button >

    or this:

    "< button value =" "#LABEL #" class = "grey button" type = "button" onclick = "#LINK #
    #BUTTON_ATTRIBUTES # >
    < span > #LABEL # </span >
    < / button >

    The button:
    The button attributes:
    ID = "button_dyn_action".

    In dynamic action:

    Event: change
    Selection type: elements
    Product (s): P51_KW_ID
    Condition: No strings attached

    Action: show
    Fires when the result of the event is: true
    Fire when the Page loads: no

    Items affected
    Selection type: DOM object
    DOM object: button_dyn_action

    Would be nice to get help in this forum about this, as a dynamic action to display the buttons are not described anywhere!

    Published by: oraman on December 12, 2011 07:42

    oraman,

    I think this thread is cursed. He deleted my answer!

    I made a mistake in my first post. Your model of button should look like this:

    
    

    and you must include the following in your attributes of button, then your button is hidden when the page loads:

    style="display:none;"
    

    Here's a demo: http://apex.oracle.com/pls/apex/f?p=43401:34:0

    See you soon,.
    Janet Tyson

    Published by: Tyson Janet December 12, 2011 10:30

    Published by: Tyson Janet December 12, 2011 10:33

  • How can I change outlook settings to display the field 'to', so that I can see that the emails were sent at a glance?

    How can I change outlook settings to display the field 'to', so that I can see that the emails were sent at a glance?

    Outlook:

     

    http://answers.Microsoft.com/en-us/Office/default.aspx

    Office at the above link forums

    http://answers.Microsoft.com/en-us/Office/ee861097.aspx

    Outlook Help Forums at the link above.

    They will help you with your Outlook questions when repost you in the Office Forums above.

    See you soon.

    Mick Murphy - Microsoft partner

  • Javascript-based dynamic action and display the value of (!) from the selection list

    Hello

    I'm not a jQuery guru (yet).
    Can someone show me how to turn on or off an ITEM on a form based on the value display of a selection list (usually I have dynamic lists, so I don't 'know' even internal values)

    I created a simple demo in which you can (if you want to) show me how it works.

    Workspace: 6POOLRULES
    User: demo01
    Password: demo
    Application: 30851 (Drone)

    The idea is to
    * Disable/hide the "Id other Description" If the ' Id Type (display value!) is 'Passport' or 'license '.
    * activate/display the Description of the 'other' Id if the ' Id Type (display value!) is "other".


    I think that it should be dynamic action based on javascript/jQuery. But what would this jQuery selector should look like?

    Published by: bveoracle on March 29, 2012 07:28

    Published by: bveoracle on March 29, 2012 07:30

    Hello

    OK, I changed the dynamic action to use Jquery and get text from the value. The only thing I changed is in the section WHEN.

    Enjoy.

  • How to pass a variable value to a Manager click for a function of ACEs?

    I wish I could click a button, pass a value to a variable, then pass this variable to assess within the case routine.

    MXML:

    Click = "someClickHandler (Event);    <!- like the variable to prepare you with the click-> handler

    AS:

    public void genericFunction(event:MouseEvent):void

    {

    Switch (VariableName)

    {

    CASES1:

    action;

    Action2;

    break;

    CASE2:

    action;

    Action2;

    break;

    .

    .

    .

    caseN:

    action;

    Action2;

    break;

    }

    }

    Thank you.

    The click handler is your function to set how you want.

    MXML

    a click = "someClickHandler (event, 5).

    AS

    public function someClickHandler (event: MouseEvent, someVar:int): void

    {

    switch (someVar)

    ...

  • How to pass APEX_UTIL. COUNT_CLICK parameters in the url

    Hello

    I have to count clicks on list items:

    There is an option to click Accounts in the definition of each element of the list,
    and you can add category County click here.

    However, I also need to add the parameter Id click - p_id.
    This parameter (p_id) suppose to pass a value in the column CLICK_ID in the APEX_WORKSPACE_CLICKS view.
    I built a url for it.
    The url without p_id works perfectly:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_company=&WORKSPACE_ID.&p_user=&APP_USER.
    But the url with p_id does not at all:
    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=Profile&p_company=&WORKSPACE_ID.&p_user=&APP_USER.
    Do you know how to pass p_id parameter in the url, so that he would be inserted in the view of apex_workspace_clicks?

    Thank you!

    CLICK_ID of the APEX_WORKSPACE_CLICKS column is a number, then you need a number, ex:

    & p_id = 1

    If your url should look like:

    z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=1&p_company=&WORKSPACE_ID.&p_user=&APP_USER.
    

    You can use a page number associated with a click, to be more descriptive

  • How can I set default values to set the Mode in the config of the AO?

    Hi, how can I set default values to allocate mode in the config of the AO. To be precise, in the attached vi, I need to set the Mode allocate in the AO Config to ' use FIFO memory (6) ' if the value inside the structure of my case is false and 'no change (0)' if the value inside the strusture case is true.

    Create two constants for Mode allocate input (right click > create > constant). A place in the real case of the structure of the case and place it in the case of false. Their son in the same tunnel (border of the structure of the case), then the tunnel of wire to the pole to allocate the AO Config Mode. I do not have traditional DAQ installed, but who should do it.

  • How to get a combobox value name, not the export name

    I want to copy the name of the item to a combo box and view the selection in another text field, but I just got the value of the exports value name, and no ideas? Thank you for your attention.

    I created this combo box in a JavaScript document:

    var l = this.getField("BrandList");
    l
    .setItems([["ITEM LIST"],["ITEM 1","B010"],["ITEM 2","B020"],["ITEM 3","B030"],["ITEM 4","B040"],[" "]]);
    l
    .readonly = false;
    l
    .defaultValue = [ITEM LIST"];
    l.editable = false;

    Now, I want to display the name of the slected item ("ITEM 1", "ITEM 2", etc.) in another area, I tried this code in the text field properties > Calculate, where I want the name of the element is displayed, but I got the value of exports, for example "B010", "B020", etc.

    getField("NewField").value = getField("BrandList").valueAsString;

    First to get the index of the selected item: http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_API_AcroJS.89.701.html

    Can use it to get the name of the element (aka "face value"): http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_API_AcroJS.89.752.html

    For example:

    var f = getField ("combo1");

    var idx = f.currentValueIndices;

    FV var = f.getItemAt (idx, false);

    App.Alert (FV);

  • How to assign an initial value by using the driaver or traditional?

    Hi all

    the question is quite simple: I use PCI - 6014 with driver OR traditional DAQ (so far). I have a device connected to a set of things to do in order to provide for a grouping, which selects the operating mode. As soon as the device is triggered and I initialize the DIO, I attribute the initial values BD. The problem is that it takes a while (approx. 15 ms) to do, and during this time (between the initialization of the devices and the initial assignment) the combination of output is one level 0, which is highly undesirable because of the specificity of the device. Is it possible to "encode" the initial values of the things to do, so that, as soon as data is turned on, and the line is declared as DO, it automatically receives the pre-defined value?

    Thank you in advance,

    Mike

    Have you read the card? The answer is no.

  • How to design a report that all display the name of the account without Contacts?

    What is the best/better way to create a report that all display the name of the account without contacts?

    Thank you!

    Tim,

    Create:

    Report 1 - account ID, account name, name of the Contact - save it in the shared company folder
    Report 2 - ID account, the account name - it save anywhere

    Report 1 will give you a list of accounts with contacts (the integrated join should remove accounts with no contacts)
    Report 2 will give you a list of accounts
    Add a filter on the report ID 2 account - advanced - filter based on the results of another report.
    Find your report 1 and account ID does not match the account ID

    Report 2 will give you now all accounts - accounts of Report 1 is with no contact.

    see you soon
    Alex

  • How to pass a variable value into a hyperlink?

    Hello

    I put a variable value by using <? xdoxslt:set_variable ($_XDOCTX, 'tstview', concat ((xdoxslt:get_variable($_XDOCTX,'env_url')), (xdoxslt:get_variable($_XDOCTX,_'testpage')))? >)
    I am able to the value of the variable is displayed correctly. I would use this value to create a hyperlink by specifying {$tstview} {ID} in the text of the hyperlink box. However, when I do that, I get the error message: Undefined Variable: "tstview."

    How can I pass the value of the variable to create a hyperlink? Is there another way to do this? I want to be able to build the hyperlink in a dynamic way. Please let me know.

    Thank you!!
    
    

    or try

    {xdoxslt:get_variable($_XDOCTX,'env_url')}{ID}
    
  • How to pass parameters/field values from one screen to another screen in blackberry

    Hi all

    I have two screens in my Application UI that is, login screen and continue the screen.

    Login screen has some fields of seizure as a user name and password and default language (French or English) for the application (Group of radio buttons).

    There is a button for the next who directs the user to another screen.

    This second screen has an input field. This input field is mandatory. The user can only go further if it is entered in this field of entry with valid values (i.e. numbers only).

    This screen has continue button so that the user can go further is on the next screen after you have entered a valid value in the field.

    Now, when the user clicks the continue button on the second screen so I have to validate the credentials of the user, he has provided in the first screen. Also, I need set the locale for the language he has provided to the login screen.

    So, to summarize.

    (1) user enters user name, password and language on the first screen. The user clicks NEXT and goes to the second screen.

    (2) on the second screen, the user enters a name click continuous. ((3) user credentials are validated, defined locale and user is illustrated below third screen).

    So, my question is how do I access username, the password, the language of the first screen in the second screen fieldChanged method?

    fieldChanged second display method will be called when user enter a value class we second screen and clicks continue.

    Please advice

    Thanks in advance...

    Store text values in the fields in your application class, and then pass it as a reference to each form or retrieve your instance of UiApplication and cast to the name of your class.

    public class MyApp extends UiApplication {   public String username;   public String password;   public String language;
    
    }...
    
    // Your first screen
    
    public class MyFirstScreen extends MainScreen {   private MyApp _app;
    
       public MyFirstScreen()   {      _app = (MyApp) UiApplication.getUiApplication();
    
          // Set your fields      // AS AN EXAMPLE, you can use:      // _app.username = field1.getText();      // _app.password = field2.getText();      // _app.language = field3.getText();   }}...
    
    // Your second screen somewhere
    
    public class MySecondScreen extends MainScreen {   private MyApp _app;
    
       public MySecondScreen()   {      _app = (MyApp) UiApplication.getUiApplication();
    
          // Access your fields      // you can use:      // _app.username      // _app.password      // _app.language   }}
    

    Now, this is one of the many ways to do it, but it works in its simplest form.

  • How to pass variable separated by commas in the bind value of VOquery?

    Version 11.1.1.3.0
    The guys need to help you on this

    I have a VO with query somethg as below

    SELECT *.
    FROM a schema. Table-name
    WHERE (: Bind_Varible has the value null or Column_Name IN (: Bind_Varible))

    User will be be select several values of the screen and I need to pass these value above bind variable.
    But in the variable binding ADF take everything as a single string, then, how can I pass values separated by commas?

    As SELECT *.
    FROM a schema. Table-name
    WHERE (: Bind_Varible has the value null or Column_Name IN (99,55))

    Thank you
    Any help will be appreciated

    I put mine up in this way, my binding variable is a list of values separated by commas, that is to say ("A, B, C, D") (I have a select that many shuttle) then I used a regexp substr to turn them into a list

     WHERE    :Bind_Batch_NM_Comma_Sep_List IS NULL
             OR batch_nm IN
                   (    SELECT REGEXP_SUBSTR (:Bind_Batch_NM_Comma_Sep_List,
                                              '[^,]+',
                                              1,
                                              LEVEL)
                                  batch_nm
                          FROM DUAL
                    CONNECT BY LEVEL <=
                                    REGEXP_COUNT (:Bind_Batch_NM_Comma_Sep_List,
                                                  ',')
                                  + 1)
    

    Published by: pollywog on September 18, 2012 16:07

Maybe you are looking for