Tabular form using dynamic Action set

I have a tabular presentation created using APEX_ITEM.

That is to say. APEX_ITEM. SELECT_LIST_FROM_LOV(3,NVL(D.FK_ATTENDANCE_CODE,'%null%')

I want to use a dynamic Action to set the value based on the value of a hidden page element.
I created a Page element 'P1358_HOLD_ATTENDANCE_CODE', and I can see he's up to the correct value.

I tried to create a dynamic Action (run Javascript) to set the form of tab selection list item (f03), but it does not work.

Here is what I tried:

var line = $x_UpTill (this.triggeringElement, 'TR');
var otherElement = $(' input [nom = "f03"]', ligne) [0];
otherElement.value = $x('P1358_HOLD_ATTENDANCE_CODE').value;

Any ideas?
I know, as a backup, I could put the ID = when creating elements in a tabular form so that all the lines are different, but I hope that the JQuery can do it more easily.
Thank you

Did change selection that I said fix the prob?

If this isn't the case, him DA is without a doubt was fired at your event?

Tags: Database

Similar Questions

  • helps with the update of tabular form using dynamic Action

    Hello world

    I'm trying to simplify a tabular presentation based on a collection so that it uses more dynamic actions that will be ultimately more easy for us to debug.

    Our tabular presentation is based on the query:

    SELECT
    apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
    seq_id,
    seq_id display_seq_id,
    c003,
    c004,
    c005,
    c006,
    apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit,
    apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0','  -- Select Favorite --  ','f08_'||seq_id,'') Disposition,
    apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear,
    apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
     
    apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
    
    apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
    ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars,
     decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished,
    c014,
    c015,
    c016,
    c017 additional_measure_flag,
    decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY,
    decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT,
    c024 fins_attached,
    apex_item.textarea(28,c028,3,null,'class="hms_info"','f28_'||seq_id,'') Explanation,
    decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','class="hms_info"''onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale,
    c030,
    c031,
    c032,
    c033,
    c034,
    c035,
    c036,
    c037,
    c038,
    c039,
    apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;" class="hms_info"
    ',null,null,null,'f40_'||seq_id,'')  HMS_AREA_CODE,
    c020 hms_flag,
    apex_item.text(41,TO_NUMBER(c041),5,null, 'class="hms_info"','f41_'||seq_id,'') Sale_Price,
    c042,
    c043,
    c044,
    c050 shark_flag
    from apex_collections
     where collection_name = 'SPECIES_COLLECTION' order by seq_id 
    

    Note that many of the fields referenced are c0xx... and really serve as place holders so that the c0xx = fxx.  It's awkward, like every time that a movement or move a column, it upsets the fxx value.   So, I tried to use the CLASS if possible.

    I have a dynamic action that had worked perfectly, until I moved one of the columns... and now, it seems not to work when I'm trying to update anything with the HMS_INFO or SHARK_INFO class.  Grrr.

    dynamic action: CHANGE COLUMN

    event: CHANGE

    selection type: JQUERY SELECTOR

    jQuery selector: input [name = 'f10'], input [name = 'f11'], input [name = 'f12'], input [name = "f24"], textarea [name = "f28"], select [name = "f40"], input [name = "f41"]

    true action1: defined value, expression javascript, set P110_ID = this.triggeringElement.id

    true action2: defined value, expression javascript, set P110_VALUE = this.triggeringElement.value

    true action3: run pl/sql,.

    declare
      v_attr number;
      v_seq number;
    begin 
      v_attr := TO_NUMBER (SUBSTR (:p110_id, 2, 2));
      select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
     
      safis_collections.update_column(v_seq,
                                      v_attr,
                                      :p110_value);
    end;
    

    the safis_collections.update_column package is:

    procedure update_column(v_seq in varchar2,
                            v_attr in number,
                            v_value in varchar2)
    is
    begin
       apex_collection.update_member_attribute (p_collection_name=> 'SPECIES_COLLECTION',
                         p_seq => v_seq,
                         p_attr_number => v_attr,
                         p_attr_value  => v_value);
    apex_debug.message('updated column. seq='||v_seq||' attribute='||v_attr||' with '||v_value);
    
    end;
    

    I wonder if there is a way to make the CLASS in my JQUERY SELECTOR, so something like reference entry [class = "HMS_INFO"], input [CLASS = "shark_info"]... and if so, what happens if a single item in the class is an option button and the other is a selection list and the other an element?

    is it possible to not have to rely on the fxx.  Currently, my collection columns map to the investment in the form of tables... sense, c024 = f24... because I placed c024 to be the 24th editable column, but this seems crazy.  Is there a simpler way?  I'm just learning class, then maybe there is something extra, or rather that I could use...

    any help is appreciated.   Thank you!

    I think I have solved the problem.

    dynamic action: CHANGE COLUMN

    event: CHANGE

    selection type: JQUERY SELECTOR

    jQuery selector: input [name = 'f10'], input [name = 'f11'], input [name = 'f12'], .shark_info, .hms_info

    true action1: defined value, expression javascript, set P110_ID = this.triggeringElement.id P110_VALUE POINT KEYS

    true action2: run pl/sql code

    begin
    null;
    end;
    

    items to submit page: P110_ID

    true action3: defined value, expression javascript, set P110_VALUE = this.triggeringElement.value P110_VALUE POINT KEYS

    true Action4: value: PL/SQL expression, the value P110_SEQ = rtrim (substr(:P110_ID,5,4),'0 ') CONCERNED POINT: P110_SEQ

    true Action5: run pl/sql code

    declare
    
      v_attr number;
    
    begin
      v_attr := TO_NUMBER (SUBSTR (:P110_id, 2, 2));
    
      apex_collection.update_member_attribute
                       (p_collection_name      => 'SPECIES_COLLECTION',
                        p_seq                  => :P110_SEQ,
                        p_attr_number          => v_attr,
                        p_attr_value           => :P110_VALUE);
    
    end;
    

    items to submit page: P110_ID, P110_VALUE, P110_SEQ

    true action6: refreshment area

    I think it is the combination of the use of pl/sql expression to calculate P110_SEQ and also your tip on TRUE ACTION2 to submit the item that did the trick.

    Thanks Kofi, for your patience and help!  It was great.

    Ugh... on the next issue.

    Karen

  • Deleting a tabular form with dynamic Action

    Using Apex 4.2

    Is it possible to delete a row in a tabular presentation using dynamic measurements.

    Right now my sql report contains html and javasript for a button Delete
    '<input type="button" name="Delete" value="Delete"  onclick="del(''delete'','''||a.applicationname||''')">' A2
    I then javascript in my page header
    function del(Request, Name){
    var answer=confirm("Do you really want delete application "+Name+"?\r\n* Provider assignments will be deleted\r\n* Application objects will be deleted\r\n* DB-roles will be dropped\r\n* DB-views will be dropped\r\n* User-synonyms will be dropped");
    if (answer==true) {
      document.getElementById('P10_APPLICATIONNAME').value = Name;
      doSubmit(Request);
    }
    }
    Finally, I have a process page to see the button delete that fires when demand = clear

    Is there a better way

    Gus
    Published by: Gus on January 24, 2013 C 01:43

    Published by: Gus on January 24, 2013 C 01:44

    Head of /Slaps
    Of course, Yes. The text is just interpreted as... Text. I was confused with your previous answers where you said nothing replaced, I thought it was empty. Stupid :)

    I changed some things in your page:
    report-> the link of the DISP_SEQ column: replace CUST_ID ZZZ (just for testing of course)

    Dynamic action:
    delete action to confirm
    Created a new action, run the javascript:

    return confirm("You are about to delete "+$v("P8_CUST_ID")+" ?");
    

    Since confirm returns true or false, returning the value will allow to more to stop or continue actions (as when you would do a "return false;" in a function for example).
    To prove that, I added a true other action after the confirmation of the type run javascript, with an alert in it. It will show when you press ok, and he used when you press Cancel.

    My previous point about where appname: If you'd put an img tag in your link TEXT, then a tag IMG is encapsulated in the anchor tag. When you then bind a dynamic Act of shooting on 'a.delete', the triggeringElement of course would be the anchor tag. Then you can not reference the appname using 'this.triggeringElement.appname' because there is no appname on the anchor element. Instead, it's on the embedded IMG tag.
    On your example page you have this in your link text, in your IMG tag

    appname="'||#CUST_ID#||'"
    

    and this, in the attributes of your link

    id="#CUST_ID#"
    

    The correct value is put in P8_CUST_ID, because the value is taken from the ID attribute of the anchor tag. In this case, you can remove the attribute appname on the text of the tag IMG link.
    If you were to remove the link id attribute value and use the appname attribute, then you will need to adjust as indicated in my previous post.

  • In table form, a dynamic action to disable and set of columns of text

    Hello!!

    With the help of APEX 4.2.6 with Oracle 11 g R2, someone I work with has a tabular presentation of the need to do the following:

    Tables has the following provision:

    When the user selects the UOM LOV Dollars, the rate must have related associated text box the amount set to 1.  We currently have JavaScript disable and set the background color, but fo rth elife of me that I can seem to help set the value...

    The code we have in dynamic action:

    < tt >

    ROW_ID = $(this.triggeringElement).attr('id').substr (4);

    If (. val() $(this.triggeringElement) == 2)

    {

    $(«#f04_» + row_id) prop ('readOnly', 'readonly');

    $(«#f04_» + row_id) prop ("class", "textinputdisabled");

    .Val (1) $("#f04_" + row_id);  < = Here's where we had the question...

    }

    on the other

    {

    $(«#f04_» + row_id) prop ("readOnly", false);

    $(«#f04_» + row_id) prop ("class", false);

    < /tt >

    Thank you

    Tony Miller
    Los Alamos, NM

    Hi Tony

    What exactly is the problem here? I have no problem setting the value using the method described above. There is even a '1' in the screenshot above, no doubt, which indicates that the value has been successfully changed.

    For ease of improved management, I'd use traversal Dynamics for the form element affected, rather than hard-code the ID (or go with a DA conditional with distinct actions of true/false), but the jQuery code to set the value is the same:

    var uom, rate;
    
    uom = $(this.triggeringElement);
    rate = uom.closest('tr').find('td[headers="RATE"] input');
    
    if (uom.val() === "USD") {
      rate
        .prop("readOnly", true)
        .addClass("textinputdisabled")
        .val("1");
    }
    else {
      rate
        .prop("readOnly", false)
        .removeClass("textinputdisabled");
    }
    

    (I used a static LOV in the column of the unit of MEASURE, so the value of '$' is 'USD' rather than '2').

  • Refresh the region in a table using dynamic action

    Hello

    I'm stumped on this scenario please advise. I have a dynamic action a button that when clicked fires real action pl/sql that will add a member to a collection, it works as expected, but the second real action on the same button will refresh the tabular form/report region. This isn't refreshing my form/report.

    To know that if we can indeed I created a report on the same page, based on the same point of view and dynamic action works.

    So why the dynamic action of refreshing working on my new report and not on the form of tables. I found a tabular presentation just a report of updateble.

    I use apex 4.1.0.00.32

    Help, please.

    Right-click of the tabular form > click attributes report > go to layout and pagination > set yes partial page refresh

  • dynamic action sets the value of the element, but not save to DB on submit

    I'm working on a page where the value of several to show only the page elements are defined using a dynamic Action.  They are set when the user selects a value in a list of selection (and is based on the value of the selection list).  Dynamic action is triggered on a list selection change event and then runs the real action "set the value.  The selection list displays the names of sales representative.  The three fields dynamically filled are the org structure (that is, their chain management).

    For the action to set the value, I use a defined Type of SQL statement:

    Select VP, DIR, MGR

    of SALES_ORG where SSR =: P20_SSR

    In the affected elements, I have fixed Type of selection to the 'item (s)"and the value of the Item (s) for 'P20_GVP, P20_DIR, P20_MGR.

    Dynamic action works fine for the display of the page (that is, when I select a sales representative in the selection list dynamic action properly updated only display value fields three).  This page is a form in which the user submits information relating to the rep.  When the page is sent, all fields are filled in a new record of DB with the exception of three that were populated dynamically above.  These fields get the values NULL.

    When the dynamic action updates the values in the three fields is - it does not set the value of session?  Why these fields don't are not taken into account in the submit other ideas > process Page?

    I use 5 APEX with Chrome on Mac (Yosemite).

    Thanks for the note.  I didn't only display the items could not be used in this way.  I think I'll take a different approach with the design; given that the org structure is in another table that I can simply refer to that by rep when necessary rather than saving the information uploaded to the page of the form.  The reason why I have not fill the screen only the points of loading the page is because I don't know what the values should be until the user selects a sales representative in the selection list.

    I'll change the design to one of the following:

    1) change the display only items of standard text field.  NOTE: if I make the text read-only field that causes other problems when loading (I get the message "violation of protection Session state").

    OR

    2) do not include org structure in the download folder and just refer to table org Rep when necessary.

    Thank you!

    Steve

  • Oracle apex dynamic action set value action does not

    Hello

    I have two questions, that I am trying to solve. This is the scenario:

    (i) 4.0 on oracle 10 g oracle apex
    (II) created a form with the following page:
    -P526_SES_DET_ID
    -P526_VESSEL_ID (selection list)
    -P526_JOB_DATE (date picker)
    -P526_DAY_TYPE (list of selection with values DAY ORDINARY (if P526_JOB_DATE is a day from MONDAY to FRIDAY),)
    SATURDAY (if P526_JOB_DATE is SATURDAY) and SUNDAY/PUB. HOLIDAY (if JOB_DATE is SUNDAY)
    -P526_LABOUR_TYPE (selection list)
    -P526_SHIFT (selection list)
    -P526_NO_OF_LABOUR
    -P526_RATE
    -P526_SES_TOTAL

    (1) I created a dynamic action of the value set on the P526_JOB_DATE page element to set the value of P526_DAY_TYPE to one of the three values above depending on the day
    P526_JOB_DATE falls. Parameters are the following:

    -Action: Value set
    -Set type: SQL statement
    -SQL statement:
    Select case when (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % MONDAY % ") then" DAY ORDINARY. "
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % TUESDAY % ") then" DAY ORDINARY. "
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % WEDNESDAY % ") then" DAY ORDINARY. "
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % THURSDAY % ") then" DAY ORDINARY. "
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % FRIDAY % ') then ' DAY ORDINARY. "
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % SATURDAY % ") then 'SATURDAY '.
    When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
    like ' % SUNDAY % ") then ' SUNDAY/PUB. HOLIDAY"
    end DAY_TYPE
    of the double

    -Page article to submit:
    -Select the Type: Item (s)
    -Article (s): P526_DAY_TYPE

    The SQL statement sets the value of P526_DAY_TYPE that when I replace: P526_JOB_DATE with a date like January 11, 2010 format ' and a date is taken to
    Duration otherwise it doesn't.

    (2) want to be able to maintain the values of P526_VESSEL_ID, P526_JOB_DATE, P526_DAY_TYPE, P526_LABOUR_TYPE, P526_SHIFT after an insert action as default values for the next create another form operation.

    Like all the ideas on how to implement or to solve problems (1) and (2) would be very appreciated.

    If you want to use P526_JOB_DATE in your SQL statement add P526_JOB_DATE to the "referred to submit Page:" field.

  • Apex_util.redirect_url in 4.1.1 using dynamic action

    Hello

    I'm trying to implement a dynamic action in charge that will redirect users to the home page of any other page if certain values are undefined.

    So, I set DA for event "Page loading", the following PL/SQL execution
    DECLARE
      l_url varchar2(2000);
    BEGIN
      l_url := APEX_UTIL.PREPARE_URL('f?p=&APP_ID.:HOME:&SESSION.');
    
      wwv_flow.g_unrecoverable_error := true;
      htp.init();
      apex_util.redirect_url(l_url, true);
    END;
    based on the other topics in the forum, as well as this post from Scott Spendolini
    http://spendolini.blogspot.com.au/2006/02/page-0-branches.html

    When I run in debug mode, I can confirm that her DA is shot, but it raises an error
    Dynamic Action Fired: Redirect when blah (NATIVE_EXECUTE_PLSQL_CODE)
    jquery-1.6.2.js:561 Uncaught SyntaxError: Unexpected token &lt;
    Any suggestions?

    Scott

    To do this, you must use a process page which on before the page header.

  • Dynamic action - set a value of element based on the selection of lines of report

    Hi people,

    Does anyone have an example how to set up a dynamic action, which could fill an element with the selected ID based on the selection of line of the report on the same page?

    Demo:
    http://Apex.Oracle.com/pls/Apex/f?p=19543:2

    If I select an item in the report, then I would fill in 'Selected ID' element with the value of the selected report EMPNO line.


    Later, I would use it for the display of parts of master / detail on the same page.

    Thank you very much
    Tomas

    For this sample page, add the following JS code to run when the page is loaded.

    $('.highlight-row td').click( function(){
      //fetch record id from the cell contents of first column in row
      id = $(this).parent().children('td:eq(0)').text();
      //set page item to selected id
      $('#P2_SELECTED_ROW').val(id);
    });
    
  • Use Dynamic Actions with pl/sql, calling a javascript alert function

    Hello

    I use Apex 4.0.1.00.03 with IE7.

    The problem I have is:

    I am converting an Oracle Forms application that has a lot of logic in it. In the application forms, it is a pl/sql function, based on a If/else condition call a popup alert box, which displays a warning message. He called pl/sql functions that return raising to the IF statement.

    Example of pl/sql code:

    If check_records() > 0 Then
    message to the alert box
    ElsIf TypeA_record then
    message to the alert box
    On the other
    message to the alert box
    End If;

    I need to replicate this functionality to the Apex 4. I tried to create dynamic Action on a page element, using a pl/sql function, however, when I call the popup javascript, this code not popup an alert box. I need the pl/sql to be run when the element of the page changes, not when the page is sent.

    The code I used to test the pl/sql code, which does not work in dynamic Actions > pl/sql is:

    Begin
    HTP.p ("< script type =" text/javascript"> '");
    HTP.p ("alert ("today runs javascript code!");"
    );
    HTP.p ("< /script >");
    End;

    I need to create a pl/sql function that can do alert areas based on an IF condition.

    Could someone point me in the right direction? Using dynamic shares the best way forward? I need to trigger on a page element, change the value.

    Works fine now.
    In the javascript code, I changed:

    get.addParam ('x 01', $v ('P105_PREP_TYPE'));

    by

    get.addParam ('x 01', $v ('P1_PREP_TYPE'));

    P1_PREP_TYPE is the correct name of the element.
    Now when I choose the OTHER, 1 message.

    Concerning

  • Is it possible to change the definition of LOV uses dynamic action?

    Hello

    I have a multiple selection LOV page article, P27_MULTI_CLASS_CODE, defined as below.  The loading of the page, this list contains only values based on what was passed to P27_OLO_CODE or P27_OLO_CODE_SW.

    SELECT DISTINCT c.class_code d, c.class_code r

    O ORGANIZATION,

    POSITION p,

    CLASS c

    WHERE o.org_wk = p.org_wk

    AND p.class_wk = c.class_wk

    AND o.org_active_flag = 'Y '.

    AND p.pos_active_flag = 'Y '.

    AND c.class_active_flag = 'Y '.

    AND (o.olo_code =: P27_OLO_CODE)

    GOLD o.olo_code =: P27_OLO_CODE_SW)

    ORDER BY c.class_code ASC

    Before submitting the page, I want the definition of LOV's P27_MULTI_CLASS_CODE to change the following (similar application without reference to the P27_OLO_CODE or P27_OLO_CODE_SW) based on the question if the user selects a checkbox, P27_ALLOW_SW.   In doing so, P27_MULTI_CLASS_CODE would contain a wide range of values, rather than the limited values.

    SELECT DISTINCT c.class_code d, c.class_code r

    O ORGANIZATION,

    POSITION p,

    CLASS c

    WHERE o.org_wk = p.org_wk

    AND p.class_wk = c.class_wk

    AND o.org_active_flag = 'Y '.

    AND p.pos_active_flag = 'Y '.

    AND c.class_active_flag = 'Y '.

    ORDER BY c.class_code ASC

    I wanted to avoid writing Javascript.  Is this possible using dynamic measurements... or at least somehow update P27_MULTI_CLASS_CODE so that it ignores the P27_OLO_CODE and the P27_OLO_CODE_SW?

    Tried to create dynamic action to clear the value of P27_OLO_CODE or P27_OLO_CODE_SW, in the hope this would trigger P27_MULTI_CLASS_CODE to display all the values, but it has failed.  Any ideas?

    APEX 4.2

    You can do this by editing the query lov a little:

    SELECT DISTINCT c.class_code d, c.class_code r
      FROM ORGANIZATION o,
           POSITION p,
           CLASS c
    WHERE o.org_wk = p.org_wk
       AND p.class_wk = c.class_wk
       AND o.org_active_flag = 'Y'
       AND p.pos_active_flag = 'Y'
       AND c.class_active_flag = 'Y'
       AND ((:P27_ALLOW_SW = 'Y' AND (o.olo_code = :P27_OLO_CODE OR o.olo_code = :P27_OLO_CODE_SW))
            OR :P27_ALLOW_SW = 'N')
    ORDER BY c.class_code ASC
    

    (of course, use the correct value for P27_ALLOW_SW)

    The "cascade LOV Parent article (s)" value P27_ALLOW_SW and also add "Page elements to submit" element (Note: this item appears only when you have entered a value in the element of parent lov cascading items)

    Now, after changing P27_ALLOW_SW the lov will update to P27_MULTI_CLASS_CODE.

  • change the results of the report with the selection list using dynamic action

    This is one of those situations where if I could understand the appropriate search terms to use, someone else must have asked this question in the past.

    I have a report with a SQL query with a condition based on a list of selection on the same page. So I have a list of selection -: P177_FISCAL_YEAR

    My request for my report is:

    Select md_id, display_name, description
    of media_tbl
    where fiscal_year =: P177_FISCAL_YEAR

    When a person makes a selection on the selection list (: P177_FISCAL_YEAR), I would like to report up-to-date without having to submit the page. I was hoping that I could do something like this using a dynamic action but have not found a way to do it.

    Thanks in advance!

    John

    Create dynamic Action:

    When
    Event: change
    Selection type: product (s)
    Article (s): P177_FISCAL_YEAR
    Condition: - unconditionally.

    Real Actions (add 2 real actions)
    -the first is to load the value in session state so that the report can see.
    Sequence: 5
    Action: execute the PL/SQL Code
    Code PL/SQL: null;
    Items to submit page: P177_FISCAL_YEAR

    -the second to refresh the report
    Sequence: 10
    Action: Discount
    Selection type: region
    Region:

  • Refresh the zone using dynamic action

    Hello

    I have a page in my application with two different regions. First region has a selection list and second region has a report and the report query uses the value of the selection as a variable binding list.

    I created a dynamic action to refresh the report region when the value of the selection list is changed.

    It works very well and the report is updated after changing the value, but once the updated report of State lines are different.

    When I move the mouse over the lines, the background color changes and when I move the mouse from the line, it does not scale to the original color.

    Is this a bug?

    Thank you
    Machaan

    Hi Machaan,

    good news, the problem reproduced no more on APEX 4.0.2 which will be our next group of hotfixes.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Disable using V 3.2 tabular form fields dynamically

    All,
    I'm trying to dynamically disable a field on a tabform. I read on that success, but unable to make it work. Senana posted a javascript that was to be placed in the foot in the region, but does not not for me. Thought I'd start simple just to see if the readonly would work, but no luck. Here's my simple script I thought would disable each field in the column that had a value in it. Any ideas? Thank you, Sandie

    < script language = "JavaScript" type = "text/javascript" >
    <!-hide

    columnB var = document.getElementsByName ('f05');

    for (var i = 0; i < columnB.length; i ++) {}

    If (columnB . value.length > 0 {})

    columnB [i] .readOnly = true;
    }

    }


    -> End Hide
    < /script >

    Hello

    It would be then?

    
    
    
    Again place it to form region footer
    
    Regards,
    Jari                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
    
  • Dynamic Action set value

    Hello

    anyone explain why does not accept DA 'Set value' value & P_ITEM. the format when you use the static Type of the value assignment?

    Thank you.

    Hello
    Have you tried using $v ('P_ITEM') in place of the ampersand - dot notation?

    Kind regards

Maybe you are looking for