How a select list to cascaded in a table?

Hello

I would like to know how to create a pick list cascading tabular.

In the screenshot next, for example, when select "2081: Alice Fan", the next filed should watch only "ID: name of the element" belongs to Alice.

Screen Shot 2015-07-17 at 16.35.32.png

Usually I do this simply for an article by implementing the SQL query and cascade LOV parent as follows.

However, I can't find it in the form of tables?

Screen Shot 2015-07-17 at 16.37.16.png

Screen Shot 2015-07-17 at 16.37.25.png

One can help with the solution?

I hope that this can be done to reload partially after the first field had changed, but not to present an entire page.

Thank you!

Alice

Hi AliceFan-Oracle,

AliceFan-Oracle wrote:

Please see application 81653, page 2 (Test in the navigation menu).

It's the ERT_TABLE_Item.

If 'point ERT ID' is cascaded by ERT ID,

When select "2221" ERT ID, it takes only the concerts "2521" and "2541" at the point of the ERT ID.

When select "2222" ERT ID, it takes only the concerts '2561"in ERT item ID.

ID ERT and ERT tabular item ID are columns 29th and 30th.

Check your Application-> Page 2 81653 on your instance of apex.oracle.com. I implemented the LOV cascading using the solution of Jari.

Reference: APEX Blog of Jari: Article Cascading select list in the form of

Here are the steps how this is implemented:

  • Edited your Page attributes-> section JavaScript-> 'Function and Variable global statement' has added the following code:
(function($){

/*** Cascading select list ***/
$.fn.htmldbCascade=function(parent,onDemand,options){

  options=$.extend({
   trigger       : false,
   extrVal       : false,
   nullShow      : false,
   nullValue     : "",
   nullDisplay   : "- Select -",
   disAlias      : "DIS",
   retAlias      : "RET",
   loadingTxt    : "Loading ...",
   loadingCss    : {"width":"80px"}
  },options);

  return this.each(function(i){

   var self=$(this);
   var lParent=$(parent).eq(i);
   var lSelfVal=self.val();
   if(!lSelfVal){lSelfVal="";};

   if(!lParent.data("htmldbCascade")){
    lParent.change(function(){

     var lParentVal=$v(this);
     if(!lParentVal){lParentVal="";};

     $.extend(options.loadingCss,{"height":self.parent().height()});

     self
      .hide()
      .empty()
      .parent()
      .find("div.ui-autocomplete-loading")
      .remove()
      .end()
      .append($("
",{"html":options.loadingTxt,"css":options.loadingCss}) .addClass("ui-autocomplete-loading")); if(options.nullShow){ appendOpt(self,options.nullDisplay,options.nullValue); }; $.post("wwv_flow.show",{ p_flow_id:"&APP_ID.", p_flow_step_id:"&APP_PAGE_ID.", p_instance:"&APP_SESSION.", p_request:"APPLICATION_PROCESS="+onDemand, x01:lParentVal },function(jd){ var lExists=false; $.each(jd.row,function(i,d){ if(d[options.retAlias]===lSelfVal){lExists=true;}; appendOpt(self,d[options.disAlias],d[options.retAlias]); }); if(options.extrVal&&!lExists){ appendOpt(self,lSelfVal,lSelfVal); }; self .val(lSelfVal) .show() .parent() .find("div.ui-autocomplete-loading") .remove(); if(options.trigger){self.trigger(options.trigger);}; },"json"); }).data("htmldbCascade",true).trigger("change"); } }); /*** Append option ***/ function appendOpt(pThis,pDis,pRet){ pThis.append( $("
  • Edited your ERT_ITEM_ID column and added the following code to query LOV:
SELECT NULL d,
       NULL r
FROM   DUAL
WHERE  1 = 2
  • Application G_TEMP element created in shared components-> section elements of enforcement with Protection of Session State"set to"Unrestricted ".
  • Created AJAX callback information Page at the request of GET_ERT_ITEM_ID process with the following code:
DECLARE
  l_sql VARCHAR2(32700);
BEGIN
  IF APEX_APPLICATION.G_x01 IS NOT NULL THEN
    APEX_UTIL.SET_SESSION_STATE('G_TEMP', APEX_APPLICATION.G_x01);
    l_sql := '
      SELECT ERT_ITEM_ID||'': ''||VENDOR_ID DIS,
             ERT_ITEM_ID RET
      FROM   ERT_TABLE_ITEM
      WHERE  ERT_ID = :G_TEMP
      ORDER BY 1
    ';
  APEX_UTIL.JSON_FROM_SQL(l_sql);
  ELSE
    HTP.prn('{"row":[]}');
  END IF;
  APEX_UTIL.SET_SESSION_STATE('G_TEMP', NULL);
END;
  • Created the dynamic action named "Set LOV cascade after refresh and onload", with the following attributes:

Event: After refresh

Selection type: region

Region: Update purchase order (15)

Condition: No strings attached

Action: Run the JavaScript Code

Fire on loading the Page: Yes

Code:

$("[name=f30]").htmldbCascade(
"[name=f29]",
"GET_ERT_ITEM_ID",{
  nullShow:true,
  nullDisplay:"- Select -"
});

Assigned items: no

  • 'Action' button "ADD a line" changed "defined by the dynamic Action. Created another dynamic action named "Cascading select list Set for the new line" with the following attributes:

Event: click on

Selection type: button

Region: ADD Row

Condition: No strings attached

Action: Run the JavaScript Code

Fire on loading the Page: No.

Code:

apex.widget.tabular.addRow();
$("[name=f30]:last").htmldbCascade(
"[name=f29]:last",
"GET_ERT_ITEM_ID",{
  nullShow:true,
  nullDisplay:"- Select -"
});

Assigned items: no

Kind regards

Kiran

Tags: Database

Similar Questions

  • How to set the default value in the select list to cascaded

    Hello
    I use Denes Kubicek cascade example list of selection http://htmldb.oracle.com/pls/otn/f?p=31517:119

    And I want to give cascading the selection list with a default value. So, anyway, I use this application process:

    < pre >
    BEGIN
    OWA_UTIL.mime_header ("text/xml", FALSE);
    HTP.p ('Cache-Control: non-cache');
    HTP.p ('Pragma: non-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ("< select >");
    HTP.prn ("< option value ="' | 1 |) "" > ' | '- all employees-' | ' < / option > ");"

    FOR c IN (SELECT ename, empno
    WCP
    WHERE mgr =: cascading_selectlist_item_2)
    LOOP
    HTP.prn ("< option value ="' | c.empno |) '">' || c.Ename | ("< / option >");
    END LOOP;

    HTP.prn ("< / select >");
    END;
    < / pre >

    How can I select for example empno default 1000?
    Thanks in advance.
    Jacob

    Jakob,

    In this case, your default value is

    HTP.prn (')

    However, you can set the default value in the loop as you want. You just say that is your default - first, second, third...

    In the list select ajax there's no submit and no calculation of values then I assuem your default is the punch one you wan to display when a selection list has been changed?

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Need help to select lists in cascade and Update button in IR

    Hello

    I try to use cascading Select lists in a form that is called when the button update (see photo) is pressed in an IR problems I encounter are 2:

    1. during execution of the first of the form (that is to say by pressing the update or create in IR), the first Select list values but the 2nd is empty. If I change the value of the
    Select the first list then 2nd fills with the correct values, etc. I want the two 1st AND 2nd list to fill in the entry on the form.

    2. in addition, while pressing the button update, the 2nd list select do not seem to have the correct value selected, that is, the value that is actually in the database (IE in the)
    database file), but always the 1st available in the select list 2. The value of the select list 1 is always that of the recording.

    Any help will be appreciated. The following information:

    Table mapping: (form updates this table)
    ID
    Iface_protocol_id = > (list 1): Table: iface_protocols
    Iface_protcol_categ_id = > (2nd list): Table: iface_protocol_categ, a FK to iface_protocols the iface_protocol_id
    .....


    Application process involved
    DECLARE
    l_counter NUMBER;
    l_o_name VARCHAR2 (2000);
    BEGIN
    owa_util.mime_header ("text/xml", FALSE ");
    HTP.p ('Cache-Control: non-cache');
    HTP.p ('Pragma: non-cache');
    owa_util.http_header_close;
    HTP. PRN ("< select > '");

    FOR rec IN (SELECT "IFACE_PROTOCOL_CATEG". "" IFACE_PROTOCOL_ID ".
    as "IFACE_PROTOCOL_ID."
    'IFACE_PROTOCOL_CATEG '. "' DESCR_LOCAL ' as 'NAME',
    'IFACE_PROTOCOL_CATEG '. ' ' ID ' as the 'ID '.
    OF 'IFACE_PROTOCOL_CATEG' 'IFACE_PROTOCOL_CATEG '.
    WHERE 'IFACE_PROTOCOL_CATEG '. "" IFACE_PROTOCOL_ID ".
    =: F108_TEMPORARY_ITEM1)
    LOOP
    HTP. PRN ("< option value ="' | rec.id |) '">' || Rec.Name
    || ("< / option >");
    END LOOP;

    HTP. PRN ("</select > '");
    END;


    HTML Source code in the corresponding form region
    < script language = "JavaScript1.1" type = "text/javascript" >

    function get_AJAX_SELECT_XML (pThis, pSelect) {}
    var l_Return = null;
    var l_Select = $x (pSelect);
    get var = new htmldb_Get (null, $x('pFlowId').value, 'APPLICATION_PROCESS is Interface_Protocol_Categories', 0);
    Get.Add ('F108_TEMPORARY_ITEM1', pThis.value);
    gReturn = get.get ('XML');
    If (gReturn & & l_Select) {}
    var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
    for (var i = 0; i < l_Count; i ++) {}
    var l_Opt_Xml = gReturn.getElementsByTagName ("option");
    appendToSelect (l_Select, l_Opt_Xml.getAttribute ('value'), l_Opt_Xml.firstChild.nodeValue)
    }
    }
    get = null;
    }


    function appendToSelect (pSelect, pValue, pContent) {}
    var l_Opt = document.createElement ("option");
    l_Opt.value = pValue;
    {if (document. All)}
    pSelect.options.add (l_Opt);
    l_Opt.innerText = pContent;
    } else {}
    l_Opt.appendChild (document.createTextNode (pContent));
    pSelect.appendChild (l_Opt);
    }

    }

    < /script >


    Attributes of the HTML Form on the first list form field
    OnChange = "get_AJAX_SELECT_XML (This, 'P63_IFACE_PROTOCOL_CATEG_ID')" "



    TIA

    Ok. Now remove the javascript code that has been added in the footer.
    Change the LOV query for the 2nd item in list be

    SELECT descr_local descr_local, id of
    OF IFACE_PROTOCOL_CATEG
    WHERE iface_protocol_id =: P63_IFACE_PROTOCOL_ID

    Set the Source used for this item "Always, replacing any existing value...". »

    Varadl

  • How to select all the rows in a Table

    Hello

    JDEV 11.1.1.2.0 work.

    I need to select all the lines all in the click of a button, how can I achieve this? Here is table unique selection/multi selection.

    someone can help me.

    Published by: user5802014 on June 30, 2010 08:32

    Rather than try to direct you to the message that I want to say, I'll just copy the code here with credit to Frank Nimphius

    The post is a hyperlink on the word present in the step 5 post of my "how to search in the forum" :)

    RichTable _table = employeesBackingBean.getEmployeeTable1();
       RowKeySet rks = new RowKeySetImpl();
      CollectionModel model = (CollectionModel)_table.getValue();
      int rowCount = model.getRowCount();
          for (int i = 0; i < rowCount; i++) {
               model.setRowIndex(i);
               //note that in the simple POJO case, the row key is the same
               //as the index. However, it would be wrong to just rely on this
               //because other models or custom table models my return a more
               //comples key. Therefore we iterate over the available rows to
               //obtain the keys.
               Object key = model.getRowKey();
               //add the row keys to the RowKeySet to mark selected
               rks.add(key);
           }
       _table.setSelectedRowKeys(rks);
       AdfFacesContext.getCurrentInstance().addPartialTarget(_table);
    
  • How to select data from a remote database table?

    Hi friends,

    I think I've seen before a sqlplus program that can select data from a remote database table?

    Witnessed: IP, SID, PORT

    The following is correct?

    (I am connected to a local database)
    SELECT COUNT (*) IN THE EMP@IP:SID/PORT;


    Thank you very much


    Ms. K

    Salvation;

    I think, that you can create dblink wihtout any problem yet, it's a PROD. After your selection, you can drop dblink

    Respect of
    HELIOS

  • How to select and change the LabelFields / ButtonFields table 2D

    Hi everyone, I'm new here and I'm new to the blackberry development.

    For a project student I'm working, I have a table 2D-ButtonFields, (I can change LabelFields if it's easier) which I use to create a Sudoku grid.

    I understand that this is really basic but I want the user to simply scroll the table 2D to a particular cell, and be able to type in a number on the keyboard instantly change the label of the ButtonField or LabelField, IE their assumption of Sudoku.

    I have really problems that I'm not familiar with how blackberry accepts user input and how it can be used with the setText method.

    So, essentially, I would like some sort of way to determine the currently selected cell (without is activated) and then for this selected cell so that the setText() method applied

    Can someone help me? I can post a code if it helps but I'm not sure it will as you al will understand how basic it is.

    Thank you in advance and I hope I can return the favor as soon as

    You can use a focuschangelistener to be aware of policy changes. or call the getLeafFieldWithFocus() to retrieve the current field.

    You can't make buttonfields editable, but you can read user input and treat it.

    for sudoku you need only numbers, you can use the keyChar method to read the characters.

    Check if your target field is one of your buttons. Check to see if the tank is entered or Louis tank (Keypad.getAltedChar) is a number (Characters.isDigit).

    You can call setText on of the buttonfield.

  • How to select columns, that we need a table with pivot

    Hello

    How can I select only the required columns that I need the table

    My goal is to keep everything in one line

    Database: 11.2.0.2.0

    I have a table called Table Agent

    create the table AGENT_DETAIL

    (

    agent_id NUMBER (20) not null,

    agent_type_code VARCHAR2 (10) not null,

    agent_type_prefix VARCHAR2 (10) not null,

    Type_Code VARCHAR2 (10) not null,

    type_prefix VARCHAR2 (10) not null,

    last_modified DATE not null

    )

    INSERT INTO agent_detail VALUES

    (29709, ARE ',' OFFICE ',' DNSWEB ',' AGTDETAILS', SYSDATE);

    INSERT INTO AGENT_DETAIL VALUES

    (29709, ARE ',' OFFICE ',' DNSNATID ',' AGTDETAILS', SYSDATE);

    INSERT INTO AGENT_DETAIL VALUES

    (29709, ARE ',' OFFICE ',' DELIVERY ',' AGTDETAILS', SYSDATE);

    INSERT INTO AGENT_DETAIL VALUES

    (29709, ARE ', 'OFFICE', "WEBUSAGE", "WEBUSER" SYSDATE);

    When you query it against the table

    SELECT * FROM AGENT_DETAIL;

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXTYPE_CODETYPE_PREFIXLAST_MODIFIED
    129709REOFFICEDNSWEBAGTDETAILS22:14:15 12/09/2015
    229709REOFFICEDNSNATIDAGTDETAILS09/12/2015-22:15:26
    329709REOFFICEDELIVERYAGTDETAILS09/12/2015-22:21:37
    429709REOFFICEWEBUSAGEWEBUSER10/12/2015-09:27:52

    Because my goal is to put everything in a single line instead of get in 4 rows

    My query is like that

    (select *)

    the Dungeon of pivot (min (TYPE_CODE) AGENT_DETAIL (last dense_rank command by LAST_MODIFIED) for TYPE_CODE in ('DNSWEB' as the WEB)

    'DNSNATID' as

    NATIONAL,

    'DELIVERY' AS

    DELIVERY,

    "WEBUSAGE" AS WEBUSAGE

    )

    ))

    Result:

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXTYPE_PREFIXWEBNATIONALDELIVERYWEBUSAGE
    129709REOFFICEWEBUSERWEBUSAGE
    229709REOFFICEAGTDETAILSDNSWEBDNSNATIDDELIVERY

    Is it possible to get everything in one record, I know that I have two type_prefixes different (WEBUSER, AGTDETAILS)

    But all I want to see my data is like this

    Agent_id Agent_type_code Agent_type_prefix WEB WEBUSAGE NATIONAL DELIVERY

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    RE OFFICE DNSWEB DNSATID DELIVERY WEBUSAGE 29709

    Hello

    When you use SELECT... PIVOT, the result set contains 1 row for all the distinct combinations of the values of all columns except columns mentioned in the PIVOT clause.  If you want to ignore some columns completely, then let the PIVOT operated at a "table" that does not include the.  For example:

    with RELEVANT_AGENT_DETAIL as

    (

    Select AGENT_ID, AGENT_TYPE_CODE, AGENT_TYPE_PREFIX, TYPE_CODE, LAST_MODIFIED

    of AGENT_DETAIL

    -where--if you filter, put it here

    )

    Select *.

    of RELEVANT_AGENT_DETAIL

    Pivot (min (TYPE_CODE) Dungeon (last dense_rank command by LAST_MODIFIED))

    for TYPE_CODE in ('DNSWEB' as WEB

    'DNSNATID' as NATIONAL

    'DELIVERY' as DELIVERY

    "WEBUSAGE" as WEBUSAGE

    )

    )

    ;

    If you are lazy or trying to be cute, maybe you can give the columns unwanted some lazy jobs in the PIVOT clause, like this:

    Select *.

    of AGENT_DETAIL

    Pivot (min (TYPE_CODE) Dungeon (dense_rank last order by LAST_MODIFIED)

    TYPE_CODE

    TYPE_PREFIX

    )

    for TYPE_CODE in ('DNSWEB' as WEB

    'DNSNATID' as NATIONAL

    'DELIVERY' as DELIVERY

    "WEBUSAGE" as WEBUSAGE

    )

    )

    ;

    But this makes the code confusing and may be difficult to maintain.

  • How to select the next item in a table view?

    Hey,.
    I want to select the next item, but I have no idea about it? have you any suggestions?
    for example:
    the second element is currently selected, I need to select the third in my code, how can I implement this feature?
    private IntegerProperty index = new SimpleIntegerProperty();
    
        public final double getIndex() {
            return index.get();
        }
    
        public final void setIndex(Integer value) {
            index.set(value);
        }
    
        public IntegerProperty indexProperty() {
            return index;
        }
    

    Get the selected item:

    table.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {
    
                @Override
                public void changed(ObservableValue observable, Object oldvalue, Object newValue) {
                    Person selectedPerson = (Person) newValue;
                    setIndex(data.indexOf(newValue));
    
                }
            });
    

    Select the following index:

    table.getSelectionModel().select(index.get() +1  );
    
  • How to select the missing data in the table?

    < p >
    < strong > I have a list of strings as follows (in the table):

    "aaaaa".

    "bath".

    "momo".



    I have a x VARCHAR column in table T1. Here is the data under x

    "aaaaa".

    "momo".



    I would like to make a request as it will bring 'bath' as 'bath' is not in the table. Help, please!



    Thank you.

    < facilities >
    < /p >

    Is it possible to have a sql using only is not a second table?

    You might have fun with the unions:

    SQL> select 'aaaaa' x from dual union all
      2  select 'bbbbb' x from dual union all
      3  select 'ccccc' x from dual
      4  minus
      5  select x from t1;
    
    X
    ----------
    bbbbb
    
  • How do the default editing a selection list after a change in another list of selection is made (not in cascade LOV).

    Hello

    I searched for the answer for a while now, but could not find a solution to my problem. It's a rather trivial issue, but after dealing with more urgent problems, I stuck with it and I can't move forward I use Apex 4.2.1

    OK, lets start with a description.

    I have two selection lists. After making a choice in the first, I would like to than the second value to change. It is not cascade LOV case, however, at least I don't.

    Let me give you an example. Suppose we have a table with name and default to the occupation.

    Name By default occupancy
    JohnDoctor
    MarkFirefighter
    GeorgeFirefighter
    TomConcierge

    End user first selects the name in the first list, then the occupation of another. It's perhaps not clearly in the example given, but the order of the questions.

    What I want is to force a change in the second value in the list after a choice in the first. So after the name is chosen, the occupation should switch to the default.

    The assignment is the most typical, but not the only one. So I want the end user to be able to change the occupation if necessary. Tom of sense is not to be janiotor, it can be whoever he wants this is why it is not cascade LOV problem.

    I tried with dynamic action - definition of value and then refresh. It works when the second selection list is the text field. I can't find a way to make it work with another selection list.

    Hope you can help.

    Concerning

    AEMs salvation,

    What I wanted with display and return value, you usually have a list of selection like this query:

    SELECT occupation d, occp_id r

    OF professions

    If your return value is an identifier. To use the text as return value is rather rare. Where my question, because obviously you must select the return value in your query, NOT the display value.

    So let me explain what is a set value. It takes the value of the server by using your query and AJAX in the background, then uses Javascript to set the value of the item in the browser.

    At this point your selection list still has the OLD value in the session. Then, you do a refresh and the element uses the old value, and it seems that nothing happens.

    So solution:

    -clear default values, you don't need those

    -get rid of refresh it in your DA

    Kind regards

    Joni

  • How to make selection lists cascading in the table of the ADF

    I have to bulk update the ADF table and two columns are selection lists. For example, in a row of the table, if the first select list is changed, then is it possbile to fill the second list based on the value in the first list of selection in this line? any ideas are appreciated.

    Kind regards
    Surya

    Cascade of LOV... reference http://andrejusb.blogspot.com/2008/12/cascading-lovs-in-oracle-adf-11g-update.html
    In the right table defined the PRR on the component of column 1, column 2. Also set the AutoSubmit/PartialSubmit for the component of Column1.

    Amit

  • Selection list cascading in the dialogue window

    Hello

    I'm developing in Apex 4.2.5.

    I have an Apex with a classic report region, in which a link edit page opens a dialog window (in the same page apex) to edit the selected line. The same dialog window is used to create a new line. The dialog window contains a cascading pick list. Two selection lists are defined to display NULL values and correctly fill in mode 'create '. My problem is that mode "Modify" the list of the second selection is not good value. The second selection list contains it however the right subset of values according to the parent, select the list and therefore don't does not contain the correct value, but it is not selected.

    I use a javascript function to fill in the fields in the dialog.

    ....

    $s ("P3_EVENT_TYPE", arguments [1]);

    $s ("P3_EVENT_SUBTYPE", [2] arguments);

    ....

    Then the display of the dialog window

    openDialog ('editEvent');


    The population of P3_EVENT_SUBTYPE list seems to happen but sometime after that all the fields in the dialog were assigned and the dialogue window displays.

    I see that I need to somehow update the list of selection in cascade, P3_EVENT_SUBTYPE, before assigning the value. My problem is how can I do this in the same javascript function?

    Kind regards

    Derek

    Eventually answered my own question-

    I created a hidden field in which to store the value of the event subtype.

    Created a dynamic of Action, after refresh of affected P3_EVENT_SUBTYPE subtype value = hidden field event.

  • How to filter a selection list

    I have several lists of selection.  All have FKs in the parent table.  The relationship of the tables is the following:

    BLDG - < ROOMS - < LOCATIONS - < POSITIONS

    ROOMS have a FK to buildings, PLACES a FK to ROOMS and POSITIONED a CF for LOCATIONS

    I have a form where the user will enter their selection for each attribute, and I want the ROOM list only see the room in the selected building, LOCATIONS in the ROOM chosen, etc.

    The selection list is defined as:

    Select room_number d, room_id r

    ROOMS

    where bldg._id =: P2_BLDG_ID

    P2 is the page where the user enters data.  All lists, follow the above format and the corresponding value of FK.

    When I test data entry any of the lists to return all data.  I guess that's because the corresponding value of the page has the value null when the page opens, and the list is not updated when the user makes the corresponding selection.  How can I get APEX to fill the lists once the user makes a selection of the corresponding value of parent?

    2785699 wrote:

    I have several lists of selection.  All have FKs in the parent table.  The relationship of the tables is the following:

    BLDG-<><><>

    ROOMS have a FK to buildings, PLACES a FK to ROOMS and POSITIONED a CF for LOCATIONS

    I have a form where the user will enter their selection for each attribute, and I want the ROOM list only see the room in the selected building, LOCATIONS in the ROOM chosen, etc.

    The selection list is defined as:

    Select room_number d, room_id r

    ROOMS

    where bldg._id =: P2_BLDG_ID

    P2 is the page where the user enters data.  All lists, follow the above format and the corresponding value of FK.

    When I test data entry any of the lists to return all data.  I guess that's because the corresponding value of the page has the value null when the page opens, and the list is not updated when the user makes the corresponding selection.  How can I get APEX to fill the lists once the user makes a selection of the corresponding value of parent?

    Cascading selection lists are covered in the documentation.

  • How to set values in a select list dynamically according to the user action

    Hello

    I'm new to Apex. With the help of Apex 4.0 on Oracle 10 g. In my page, I will have a list of selected countries. According to the user selection value I have to display the States / provinces of this country in another selection list. States have to fetch the state_list table and the province of province_list table.

    Can someone tell me how to do this.

    n advance thanks

    Hello
    LoV using cascading as detailed here http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/bldapp_item.htm#HTMDB05014

    Kind regards

  • tabular cascading selection lists

    APEX - 4.1.0.00.32
    Version of DB - 10 g
    Web - OHS server architecture
    Browser - IE8
    Theme - 9

    Hello

    I have a tabular layout with two selection lists, I would like to select a value from the first list that will help determine what appears in the second list. The name of the column in the first select list is 'DL_DETAIL_PROJECT_ID', so I wish I could have a charly second selection list that looks like

    Select d, r id desc
    < table >
    where < other id of the table > = DL_DETAIL_PROJECT_ID

    but I don't know how to get the value of DL_DETAIL_PROJECT_ID?

    Also the list of regular article values of the shows an option for cascading lists, but the form of tables, list of the values section is not, is it possible to have cascading lists in a record on a tabular presentation?

    Thanks in advance for any help.

    Yes you can. See the links provided:

    http://Apex.Oracle.com/pls/Apex/f?p=39514:1:
    http://www.inside-Oracle-apex.com/generic-solution-for-cascading-select-listslovs/
    http://dbswh.webhop.NET/dbswh/f?p=blog:read:0:article:2003800346210117

Maybe you are looking for