Trigger a dynamic action of another dynamic action

Hi - Maybe is there a better way to do it - but what I wonder how I can trigger something as part of the page to show or hide based on an event driven dynamic action...

Let me explain:

I have a page element which is a popup LOV. He selects a value (of course). It is ITEM1.
I have a second element of the page. It is ITEM2.

I have a dynamic action, based on the evolution of the value of ITEM1 - it searches of db (sql query/plsql function call) to extract a value related to this selected value of ITEM1 and dynamically sets the value of the ITEM2 with what is returned.

So far so good.

But I also have a third element of the page, ITEM3. What I want to do now is to show or hide ITEM3 based on the value of the ITEM2 (which has been defined by the dynamic action on changing ITEM1). So essentially, I need dynamic action on the evolution of the value of the ITEM2 so I can show/hide ITEM3.

However, it seems that the dynamic action does not pull on the change of ITEM2, by the dynamic action of ITEM1.

If you got this extreme grace, following! :-)
Any thoughts on how to get there (even in completely other/better way)?

Thank you
David

Hello David,.

In the second dynamic action that's on fire when the value of the ITEM2 is changed, the scope "of the event ' to 'live '.

Thank you
Machaan

Tags: Database

Similar Questions

  • can a column of 'link' (classic) report trigger a dynamic action?

    In order to avoid a complete package and following flicker,

    can the link associated with a column of the classic report

    somehow trigger a dynamic action?

    Something along the lines of

    1. run few PL/SQL (some parameter passing along)
    2. refresh a page region to reflect the changes brought about by the (1)

    In practice, I have a page that emerges already, master/detail

    with the need to manage another set of detail records.

    I can collect a bunch of fields that are not related to the db.

    and generate an insert + update via a button 'Add '.

    Then the report containing the details is updated

    provide visual feedback that a new record has been added

    Indeed, with a column 'delete '. The integrated link is

    currently a javascript that saves the underlying m and

    Removes the secondary details, but it involves a shipment

    and refresh the entire page. It can be avoided?

    (running apex 4.2.1)

    You can use the onchage event to create your dynamic action. Make sure that there is a hidden page element (value not protected). From your link to classic report column, set the value of the page element hidden by using the JavaScript API $s () that will trigger the dynamic action of the onchange event.

    javascript:$s('P1_HIDDEN_PKEY_ID',#ROW_PKEY#);
    

    Thank you!

    JMcG

  • How to trigger a dynamic action of the dynamic list entry?

    Hi experts,

    I use the apex of oracle database 12 c 4.2

    I'm creating an application on jquery mobile theme 50 I need to create a script as I've shown in photo

    post.PNG

    select it user a floor and the ground must be highlighted and region tables should be updated and the corresponding

    floors tables must appear only without submitting the page

    I tried something else, but can not make it work

    I created the floor using dynamic lists how do I trigger the dynamic action to update the region of the table in the list of the selected floor

    question any help will be appreciated thanks in advance.

    Hello

    something to inspire:

    Dynamic JavaScript action

    http://www.eberapp.com/pls/Apex/f?p=blog:read:0:article:1695400346724960

    concerning

    J

  • How to trigger a dynamic button Action

    Hi all pros

    I have a button, which is optional if the user wants to do.
    button «write a note/comment»
    When this button is click, it should show the text box on another region or a region

    But the button must have a certain value,
    I'll put it to null, and dynamic action, click the button on the value of the null condition button then view region

    But does not work any idea, what I am doing wrong, what should I do (other work autour)?

    Thanks in advance

    Hello

    Why don't you use a checkbox instead of a button, take a look @ the demo page next,

    http://Apex.Oracle.com/pls/Apex/f?p=57771:25:379751703921101:

    user name: test
    Passwrd: test

    1) Create a list of values under shared components
        It should have a single entry, for the display value leave a space, return value is 1.
    
    2) now add a checkbox to your page and select the LOV as the list of values you created.
        display extra values property should be set to No for the check box.
    
    3) now add a standard dynamic action to your check box
        condition should be "equal to" - 1
        True action should be "show"
        selection type should be "item" and select the text area.
    

    That's all. now the text box is hidden when you uncheck the box and displayed when you check the box.

    hope this helps,

  • Trigger a partial Action by program

    Hello

    I am extending a controller and add a FireAction to an OAMessageChoiceBean programmatically. I use setFireActionForSubmit on the bean, which works very well.

    However, I would rather set on fire a partial Action - and I can't find a way to do it. Any ideas greatly appreciated.

    Kind regards
    Radu

    Radu,

    Make use of code below.

    OAMessageChoiceBean mcb=(OAMessageChoiceBean)webBean.findChildRecursive("Client");
    FireAction firePartialAction = new FirePartialAction("clientPPR");
    mcb.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR,firePartialAction);
    

    Kind regards
    GYAN

  • Counter trigger using the output of another counter

    Hello

    I want to configure my USB-6221 Panel in the next mode

    1 Counter0: Generates impulses in continuous mode.

    2 Counter1: Fires by the impulse of Counter0 (rising edge) and generates a train of 128 pulses with a certain frequency.

    3 DigitalInput: Using the impulses generated by the meter read 128 digital input values

    Cnt0: _____|______________|______________|______________|_________

    Cnt1: ______|||||||||||| _________|||||||||||| _________|||||||||||| __________|||||||||||| ___

    DigIn:___xxxxx___xxxxx___xxxxx___xxxxx___

    The problem is: I can't seem to trigger the Cnt1 using the output of Cnt0.

    If I connect using the Cnt0InternalOutput: I get the error: this connection is not supported by the Board of Directors

    If I connect the trigger for a PFI (e.g. PFI5) I get the error: some resources used Cnt0 (I see no reason why by ok).

    I tried for awhile to do in a different way (I completely mixed my vi) but I did not.

    If anyone has any suggestions please shear them.

    Thank you

    Paul

    Ignore my previous post.

    A mistake is this sample clock: finished sample doesn't seem to work with shutter release in this configuration.

    In any case, I found a way to get around and reach my final goal (the object) with a bath other counters and configuration of digital input.

  • Access to the element in a dynamic PL/SQL trigger Action?

    Hello

    I have a form that is used to calculate the volume of a (large) number of tanks based on the heights of tank is entered.

    I have a PL/SQL procedure that performs the calculation: it receives the name of the tank and the height and calculates the volume (each tank may have different physical characteristics).

    I didn't create a dynamic Action by tank (I'm lazy and the number of tanks is important!). I currently have a dynamic Action that is triggered whenever one of the heights of the tank on the form changes. The PL/SQL action called the calculation for each tank. FOR EXAMPLE

    :P1_TANK1_VOL := tank.vol('TANK1', :P1_TANK1_HEIGHT);
    :P1_TANK2_VOL := tank.vol('TANK2', :P1_TANK2_HEIGHT);
    ...
    :P1_TANK50_VOL := tank.vol('TANK50', :P1_TANK50_HEIGHT);
    
    

    This works, but is to perform calculations of 50 whenever one is necessary, and can seem slow.

    Is there a way to identify the trigger for the action of PL/SQL? FOR EXAMPLE

    IF TriggeringElement = 'P1_TANK1_HEIGHT' THEN
    :P1_TANK1_VOL := tank.vol('TANK1',:P1_TANK1_HEIGHT);
    END IF;
    
    

    Any ideas?

    No PL/SQL directly. You could do a JavaScript action before your PL/SQL and write the id (which is the name of the element in the APEX), the item trigger in a hidden item, submit it to your PL/SQL action and now you know how it started.

    Kind regards

    Joni

  • Dynamic action of APEX 4 relaxation of report

    I have an application that queries and displays a report and has a column of link to a custom url.  I don't want to trigger dynamic action to open the url customized loading Page.  I can't find another way to trigger the url.  In my report of Apex successfully it seems unable to find a DOM object or jquery Selector that will trigger my dynamic action. I have all of the elements that I can return.

    Event: click on

    Selection type: I tried jQuery Selector and DOM object, but unable to find the exact entrance to enter the field

    Condition: No conditions... maybe if I knew what condition to enter in it can help you.

    Action: Run the JavaScript Code

    Fires when the result of the event is true

    Code: javascript:popUp2 ($v ('P1_URL'), 900, 900);

    Oh, it seems simple enough, but it does not, unless I click on the button to fire on the loading Page.

    I tried to assign the Click event and the Type of area selection, however, it will trigger the dynamic Action whenever I click anywhere in the region, not only when I click on a specific line.

    Thank you.

    These links can help you (if you mean by APEX 4 APEX 4.2):

    Perform the dynamic Action of the link column report

    Take multiple values report dynamic Action

    http://Apex.Oracle.com/pls/Apex/f?p=9487:85:0

  • Dynamic action on the evolution of the tree

    Hello

    Is it possible to trigger a dynamic action of a change in the selection of a leaf?
    Using Apex 4.0.1.

    Thank you
    Chris

    changes in the selection of a leaf?

    You hear that another node is clicked, haven't you?
    If so, the D.A. would be

    click event
    triggered by: jQuery selector
    selector: li div.tree > has

    If you want to get the id of the item clicked js node
    You can use

    $('this.triggeringElement).parents('li:first').attr ('id');

  • The dynamic action of javascript

    Hello

    Good evening.

    I am aware, that we can trigger dynamic actions in multiple ways, based on events of the DOM.

    can someone help me triggering a dynamic javascript action.

    But not based on events.

    Ex: name action dynamic, based on its name or sequence or in any other way.

    There are situations where I have to call dynamic measures to avoid hand-written Ajax calls.

    Thanks in advance

    Hello

    The correct answer to this post:

    Not sure why the following code lines failed to trigger a dynamic action

    $("#P0_SIGNAL").val (123) .changes (); --Also failed
    $("#P0_SIGNAL").trigger ("change");  --Also failed

    This line would trigger a dynamic javascript action.
    Apex. Event.Trigger ($("#P3_TEST_ID"), "change","" ");


    Steps to make it work.


    I need to trigger a dynamic action when a value is set to hidden JavaScript element


    P3_TEST_ID is a hidden item.

    Create a dynamic action to shoot the P3_TEST_ID change event.

    Setting the value of p3_test_id of javascript wouldn't trigger a dynamic action.

    Run the following code to fire the javascript DA

    Apex. Event.Trigger ($("#P3_TEST_ID"), "change","" ");

  • How to add a link to the html area to launch a dynamic action?

    Hey, guys:

    I need to add a link to a region of html hyper (I wish it could be a button :(), the value of the items in this region is loaded by a process of pl/sql before loading the header. And this link must trigger a dynamic action to update the database. I know how to add a link Super in this region, but how to define this link if I can launch a dynamic action by clicking on this link, could someone give me a hint?

    Thank you very much in advance.

    Sam

    Published by: lxiscas on April 11, 2013 17:04

    When I said updateRec I was just a name. Using the class alias_ncic will produce exactly the same result.
    Learn more about what you're trying to do, I wouldn't do that with DA at all. I would probably do the link send page and launch a process that call your PL/SQL. But if you must do a DA I'll try to explain a technique below.

    When you say

    Then, I pass two values of two hidden variables:

    P216_H_NCIC_APPROVE_TABLE_NAME---> "SOR_ALIAS".
    P216_H_NCIC_APPROVE_KEY_VALUE---> #ALIAS_ID #.

    Your link not pass anything because you never actually call the link, you have a DA of the substitution of the link action.

    So... try something like that. Use it for your link attributes:

    onclick="return false;" class="alias_ncic" title="NCIC Approve" id="#ALIAS_ID#" rel="SOR_ALIAS"
    

    This defines two attributes more to enter the values you need to.

    In yourself DA action on a.alias_ncic add two actions to "set the value.
    1.
    Action: Set
    Set Type: Javascript
    JavaScript expression: this.triggeringElement.getAttribute ("id")
    Assigned items: P216_H_NCIC_APPROVE_KEY_VALUE

    2.
    Action: Set
    Set Type: Javascript
    JavaScript expression: this.triggeringElement.getAttribute ("rel")
    Assigned items: P216_H_NCIC_APPROVE_TABLE_NAME

    Now you have your values defined.
    Make sure that in your PL/SQL Execute Code action you both of these elements in the field "Page to go" so that they values are actually passed.

    That should do it.
    Thank you
    -Jorge

    Published by: jrimblas on April 29, 2013 16:49

  • Dynamic action based on the value in a table

    Greetings,

    I would like to use a dynamic action to disable a button depending on the value selected/entry in a field in tabular form. Thus, for example, if someone enters the value "LKSG", then a button is disabled (in this case, the 'Add Row' button).

    How I would do this using the tools of dynamic measurements? When I create a dynamic action, I see that my choice of Type 'selection' for dynamic action of shooting is point, area, button, object DOM, jQuery Selector. I don't know how to use a field in a presentation of tabular to firing. Or if it is possible.

    I use APEX version 4.1.1.00.23

    Thanks in advance!

    John

    jfosteroracle wrote:
    Tom - it's very useful! A few questions:

    -J' use a 'button of the model '. To use the static code for the button, I see that the model must include the #BUTTON_ID # in the model. I added the #BUTTON_ID # in the template like this:

    #LABEL#

    Where is the the BUTTON_ID should go, in the

    ?

    After adding this, it does not for a button of the model. But if I change the touch of a button HTML, your method works great!

    It is of course the difference between the two buttons: how they react and, above all, how they are marked upward. An HTML button is a real