Cascading child LOVs refresh

Hello,
I've a parent LOV that pulls all the campuses of the school as check-boxes.That has a child LOV that pulls buildings according to Parent LOV selection.
When I click on 'Submit' button, it inserts the record with selected 'Campus' and 'Buildings'.
Now when I click on 'Update' button after changing my selection, it updates 'Campus' but not 'Buildings' in the table.
Can you help?
Thanks,
H.

Could you supply a bit more info?
Version of database, apex, apex listener etc.
Regards,
Richard
blog: http://blog.warp11.nl
twitter: @rhjmartens
If this question is answered, please mark the thread as closed and assign points where earned..

Similar Messages

  • Apex 4 Cascading LOV's how to set a child LOV back to null return value

    Hi,
    My problem is I am using the new Dynamic Actions to implement Cascading LOV functionality in Apex 4 which means not having to submit the page to update child LOVs after parent LOV changes.
    What I am finding is that when you change the parent LOV value then the child LOV (which has a null return value) is not defaulting to the null return value (in my case no selection should return -1) if its list is filtered to a different set of values which doesnt have a valid selection. The child LOV is left without a selection when I need it to default back to the null return value (-1, representing all values).
    Also I was hoping to do this before the page is submitted so the filtering down the hierarchy of LOVs will work where the child is null (-1, meaning all values) and in turn its child LOV(s) will filter also from the null child value.
    Any help would be much appreciated.
    Thanks

    Hi 804641,
    I'm not sure if I get your problem and I tried to reproduce it.
    http://apex.oracle.com/pls/apex/f?p=2672:6 is my example with a cascading LOV where I have also defined a dynamic action which fires when P6_EMPNO changes and it shows the current selection.
    Maybe it helps if you setup an example on apex.oracle.com and provide the workspace/user/pwd so that I can have a look. I'm also not sure about your sentence "using the new Dynamic Actions to implement Cascading LOV functionality", because dynamic actions are not needed for cascading LOVs. It's a feature of the item types themselves where you just have to set the "Cascading LOV Parent Item(s)" attribute.
    Regards
    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

  • Restful: Child lov with parent prompt

    I have 2 dimensions, Parent and Child. The list of values of the Child dimension contains a prompt on the parent. With restful, I want to the the list of values for the child dimension. I've created a webi document with a prompted filter on the Child dimension. So I have 2 prompts one the webi document, one from the Child dimension and one from the list of values of the child dimension.
    A call GET http://{hostname}:6405/biprws/raylight/v1/documents/{documentID}/parameters/{parameterID} for the child prompt returns the expected xml:
    <lov hierarchical="false" refreshable="true">
    <id>UNIVERSELOV_DS0.DO4</id>
    <parameters>
    <id>0</id>
    </parameters>
    </lov>
    where 0 is the id of the parent dimension
    I then use the resful call PUT http://{hostname}:6405/biprws/raylight/v1/documents/{documentID}/parameters/{parameterID} to answer the parent and the child's lov.
    When the prompt on the parent in the list of values is not optional, everything is fine but when the prompt is optional, I get the error :
    Bad Request WSR 00102 - Illegal argument (Suspicious identifier(s): [0])
    In both case, I use the input xml (with true or false value for optional attribute of parameter):
    <parameters>
         <parameter optional="true|false">
              <id>0</id>
              <answer>
                   <values><value id="10" >Parent 10</value></values>
              </answer>
         </parameter>
         <parameter>
              <id>1</id>
              <answer>
                   <info><lov><query intervalId="0" intervalSize="10000" /></lov></info>
              </answer>
         </parameter>
    </parameters>
    If I use the refresh="true" attribute to the query tag, I don't get any value for the child lov only:
    <lov hierarchical="false" refreshable="true">
    <id>UNIVERSELOV_DS0.DO4</id>
    </lov>
    Any ideas?

    Eric,
    I hope it's not an issue but an invalid input XML.
    I just made some good progress. The restful documentation states that "The <info> element is not mandatory in the XML inputs, except in the case of cascading parameters and hierarchical parameters.", so I surround the values tag by a info tag and it almost works in both cases (mandatory and optional parent prompt). The XML input is
    <parameters>
       <parameter>
          <id>0</id>
          <answer>
             <info>
                <lov>
                   <query intervalSize="-1" />
                </lov>
             </info>
             <values>
                <value id="1">Parent 1</value>
                <value id="3">Parent 2</value>
             </values>
          </answer>
       </parameter>
       <parameter>
          <id>1</id>
          <answer>
             <info>
                <lov>
                   <query intervalSize="-1" />
                </lov>
             </info>
          </answer>
       </parameter>
    </parameters>
    But one problem solves, one problem raises. When a answer no parent value (<values></values>), I get in return of a PUT call, the same result as a GET call:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <parameters>
        <parameter dpId="DP0" type="prompt" optional="false">
            <id>0</id>
            <technicalName>pmParent(s)?</technicalName>
            <name>Parent(s)?</name>
            <answer type="Text" constrained="true">
                <info cardinality="Multiple">
                    <lov refreshable="true" partial="false" hierarchical="false">
                        <id>UNIVERSELOV_DS0.DO1</id>
                        <updated>2014-10-09T12:54:54.000+01:00</updated>
                        <values>
                            <value id="1">Parent 1</value>
                            <value id="2">Parent 2</value>
                            <value id="3">Parent 3</value>
                        </values>
                        <columns mappingId="0">
                            <column type="String" id="0">Parent </column>
                        </columns>
                    </lov>
                    <previous>
                        <value id="1">Parent 1</value>
                        <value id="3">Parent 2</value>
                    </previous>
                </info>
                <values>
                    <value id="1">Parent 1</value>
                    <value id="3">Parent 2</value>
                </values>
            </answer>
        </parameter>
        <parameter dpId="DP0" type="prompt" optional="true">
            <id>1</id>
            <technicalName>pmChild(ren)?</technicalName>
            <name>Child(ren)?</name>
            <answer type="Text" constrained="true">
                <info cardinality="Multiple">
                    <lov refreshable="true" hierarchical="false">
                        <id>UNIVERSELOV_DS0.DO3</id>
                        <parameters>
                            <id>0</id>
                        </parameters>
                    </lov>
                    <previous>
                        <value id="21">Child 21 - 2</value>
                    </previous>
                </info>
                <values>
                    <value id="21">Child 21 - 2</value>
                </values>
            </answer>
        </parameter>
    </parameters>
    Nevertheless, I get a workaround for this situation, instead of not answering the parameter, I have to answer all possible values. It's not a nice solution and I hope a better one exists.
    The results are the same with
    http://{hostname}:6405/biprws/raylight/v1/documents/{documentID}/parameters/{parameterID}/
    and with
    http://{hostname}:6405/biprws/raylight/v1/documents/{documentID}/parameters/
    except, of course that when using first url, the return xml contains only one parameter (the one in the url)
    Regards

  • Dynamic LOV refresh problems

    I have a project site LOV that is set up to only show the sites relating to a particular client. The client is a dynamic LOV as well. Once the Client has been selected and the page/region refreshes the sites LOV should have the possible choices for the client showing. The code is fine as it has worked and I have got it working again but I had to change a lot of settings in the item linked to the LOV. I have a couple duplicate development apps that both work but the settings in the items are different. My question is what is the correct setting?
    Sorry if the post seems confusing.
    cheers
    Ian

    Hello
    If I understand your problem well, you are using a form based on a database table. The way it works is this: everytime the page is displayed, the database values corresponding to the record being displayed are fetched from the database (this is the setting "always - replacing any value in the session state"). This is correct as you want the page to display the most up-to-date information from the DB.
    Hence, when you submit the page in order to refresh the second LOV, that rule applies and you lose the value you just changed in the client field and things get messed up.
    Do you have this problem creating a new record or updating an existing one? I think this could work if you are creating a new record, as there is no DB values to overwrite the local values, but I am not sure if this can work if you are updating a record.
    Usually people use a "ajax" LOV refresh so the page does not need to be submitted.
    I hope this makes sense...
    Luis

  • Enkitec Modal LOV refresh value on screen when updated programmatically

    Apex version 4.2.0.00.27
    Firefox version 20.0.1
    I am using the Enkitec Modal LOV. I have a region button which, when pressed, calls a PLSQL procedure to copy values (including the Modal LOV item) from a previous record into the current one. The Modal LOV item is not showing the new value on screen - it is blank. Looking at the session info, the value is being copied to the item, so does anyone know how I can make the Modal LOV refresh itself to show the new value on screen?
    Thanks,
    Nick.

    Hi,
    I am facing the same problem. I used the Modal LOV on modal region. There was the standard popup LOV before - everything went correct. Even if i replaced existing standard LOV with LOV plugin.
    I use this plugin in normal forms and it works good. But i have a empty item only in here.
    1) In my previous assignation for the item i use (no plugin):
    $s('#ITEM_NAME', 'value')
    after modal region is opened. (it works OK)
    2) If i use the plugin: the item value is null (value="").
    3) If i use for value assignation jQuery:
    $('#ITEM_NAME').val('value');
      assignation is done (value is shown) but the item seem like empty if validation of item occur. (if i press the submit button on modal window it throws "Empty item value")
    It is strange...
    EDIT: I used jQuery selector for set and get value (when compare to existing records in AJAX call)
    $('#ITEM_NAME').val('value'); or $('#ITEM_NAME').val();
    It works now.
    It will help to you, maybe.
    Regards
    J

  • APEX 4.1 dynamic parent child LOV

    Is is possible to create a dynamic parent child LOV? I want to be able to use information populated by a user on a form to become a select list on a subsequent form where the second field (child) is dependent on what is selected on the first field (parent). The list needs to grow based on data entered on the initial form and maintain the relationship.

    You should post this in the APEX forum.
    Oracle Application Express (APEX)
    Please open a thread on the APEX forum, update this thread with the link to the new thread and the mark this thread ANSWERED.

  • Parent-child LOV dependencies

    Hi
    i have a problem, i have to create 2 lov, a parent LOV and a child LOV....the Child LOV have to depend from the first LOV. The problem is that i can't execute submit after the first selection, because these lovs is in a Tabular form......first lov in the first column and second lov in the second column.
    How can i do?
    Thanks

    Hi,
    See this link: http://htmldb.oracle.com/pls/otn/f?p=31517:234:3947371667335265:::RP,::
    thanks
    Tauceef

  • How to programmatically wait for child LOV to refresh

    Folks, I have a parent/child (i.e., cascading) pair of LOVs; they work great.  But I need to be able to set the values of the two LOVs programmatically w/ JavaScript.  I have the following JS function:
    function setHostID_DatabaseID (aHostID, aDatabaseID)
      $s('P60_HOST_ID', aHostID, undefined, false);
      $s('P60_DATABASE_ID', aDatabaseID, undefined, false);
      alert("host = " + aHostID + " and DB = " + aDatabaseID);
    The two LOVs are:
    P60_HOST_ID (parent)
    P60_DATABASE_ID (child)
    When I call the function, P60_HOST_ID gets set correctly, but P60_DATABASE_ID does not.  If I move the alert() to between the two $s calls, then P60_DATABASE_ID does get set.  So it's a timing issue - the AJAX call to refresh P60_DATABASE_ID doesn't complete before the $s('P60_DATABASE_ID') call is invoked.  Any ideas how to work around this?

    NM - found the answer in https://forums.oracle.com/thread/2461787 Function becomes:
    function setHostID_DatabaseID (aHostID, aDatabaseID)
       apex.jQuery('#P60_DATABASE_ID').bind("apexafterrefresh", function ()
             $s('P60_DATABASE_ID', aDatabaseID, undefined, false);
       $s('P60_HOST_ID', aHostID, undefined, false);
      alert("host = " + aHostID + " and DB = " + aDatabaseID);

  • Select List (Parent/Child) LOV

    I have the Easy Oracle HTML-DB book, they give an example of a
    Parent Child Select List using a query.
    Does anyone know how to apply the Parent/Child relationship with
    a List of Value generated from a table.
    Example
    Parent Child
    Car Pontiac
    Car Buick
    Car Cadillac
    Car Nissan
    Truck Tahoe
    Truck Silverado
    Truck F150
    Truck Titan
    The parent(s) in the above example are Car/Truck, the children are in the adjacent column.
    Objective: When the parent "Car" is chosen, only the "Pontiac/Buick/Cadillac/Nissan" will be available, once the child is selected,
    wish to submit to a empty table that can grow dynamically.
    OS: Windows: XP
    Oracle ver.: 10g
    Apex ver.: Release 2

    Hi,
    are you just having one table storing all the values?
    1) Create a "Select list with Submit"
    2) Lov query would be something like
    SELECT DISTINCT
           CAR_TYPE AS D
         , CAR_TYPE AS R
      FROM WHATEVER_TABLEThe distinct is only because you have mixed your parent and child values in one table instead of having two separate tables with a FK from the child to the parent.
    3) Create another "Select List"
    4) Lov query would be something like
    SELECT CAR AS D
         , CAR AS R
      FROM WHATEVER_TABLE
    WHERE CAR_TYPE = :P2_CAR_TYPE-> in the where clause you restricting the second lov with the value the user has selected in the first select list.
    The first "Select List with Submit" will trigger a full page refresh when you select a car type. If you want to avoid that you can use the AJAX based "Cascading Lov" feature of my ApexLib Framework (see http://apex.oracle.com/pls/otn/f?p=33231:4 ) or search on the forum for "cascading lov ajax" for other similar solutions.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Multi-Org Parent-Child LOV

    Issue Description:
    in Action BC (Table: S_EVT_ACT) we are trying to implement the following organization based parent child picklists/LOVs for Status->Status Reason
    [Status] - Activity Status field (col: EVT_STAT_CD)
    *Picklist: LOV Type = 'EVENT_STATUS', picklist BC: 'List Of Values Dynamic (REL)'
    [LN Status Reason] - customised field/column (Col: X_STATUS_REASON)
    *Picklist: LOV Type = 'LN_MISSED_ACTIVITY_REASON', picklist BC: 'PickList Hierarchical'
    *Pick Map: [LN Status Reason] = [Value], [Status] = [Parent] (Constraint = Y)
    in the Admin-Data LOVs:
    Type = EVENT_STATUS, Display Value/LIC = "Not Achieved", Organization = "Org 1"
    Type = LN_MISSED_ACTIVITY_REASON
    Display Value/LIC = "Reason 1", Parent LIC = "Not Achieved", Organization = "Org 1"
    Display Value/LIC = "Reason 2", Parent LIC = "Not Achieved", Organization = "Org 1"                                                                                          
    On UI, create new record in Account - Activities, selecting Status = "Not Achieved".
    Now when i try to select the Status Reason value, the drop down does not give me any value.
    If I set the Organization to blank on "Reason 1", then the "Reason 1" value shows up in the Status Reason drop down under Account - Activities.
    In SQL of the log file, for the Status Reason drop down, it always hard code a T1.BU_ID is null in the WHERE clause, this would explain why its blank in the dropdown
    Also as a test, If i remove all the pick map constraints for the [LN Status Reason] field (ie the only record in the pick map is [LN Status Reason] = [Value]), then the drop down works correctly (ie displaying both the values with Organization = "Org 1"), and in the SQL of the log file, instead of BU_ID is null, it has BU_ID = ? with variable binding.
    Is there a reason why it would hard code the BU_ID is null in the WHERE clause in the SQL, and how to overcome this to achieve my requirement.
    Just a further update due to character limit of the original description,
    The "Owner Organization Specifier" property on the table S_EVT_ACT is blank (not sure if its related to anything though)
    The user i'm using belongs to "Org 1" for both the employee's Organization and its Position's Organization
    Thanks

    This is exactly what I'm looking for...I just can't make it work. I have 2 tables (database and schema). They are related via a database_id column. My code is below if you are willing to help.
    HTML Header
    <script>
    function get_select_list_xml1(pThis,pSelect){
    var l_Return = null;
    var l_Select = html_GetElement(pSelect);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=CASCADING_SCHEMA',0);
    get.add('P7_DATABASE',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>
    Application Process
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<select>');
    HTP.prn ('<option value="' || 0 || '">' || '- All Schemas -'
    || '</option>'
    FOR c IN (SELECT schema, schema_id
    FROM (SELECT schema, schema_id, database_id
    FROM schema_lookup
    WHERE database_id = :cascading_selectlist_item_1)
    LOOP
    HTP.prn ('<option value="' || c.schema_id || '">' || c.schema || '</option>');
    END LOOP;
    HTP.prn ('</select>');
    END;
    P7_DATABASE_ID Form Element Attribute
    onchange="get_select_list_xml1(this,'P7_SCHEMA_ID');
    P7_SCHEMA_ID LOV
    select SCHEMA d, SCHEMA_ID v from SCHEMA_LOOKUP
    where DATABASE_ID = :P7_DATABASE_ID
    order by 1

  • LOV Refresh based on the business rule

    My requirement is to refresh the LOV based on a value selected in another LOV. Say the LOV required to be refreshed as LOV2 and the LOV in which the value is selected and which triggers the LOV2 refresh is LOV1. Both the attributes of LOV1 and LOV2 are present in the same VO. Lets say attribute A1 for LOV1 and A2 for LOV2. The VA for LOV2 is present at EO Level and there are 2 view criteria and 4 bind variables in this view accessor. 3 of the bind variables are assigned values at the EO level by calling get method of another EO. For the value selected in LOV1 (i.e. it displays values of the attribute present in UI Hints of View Accessor) the corresponding attribute value present in the VO is required and that should be passed to the bind variable so that the query gets executed for LOV2 and LOV2 gets refreshed.
    The few constraints which I have here is
    1. View Accessor of LOV2 cannot be written at VO Level because 3bind variables should be set at the EO level as there is an association present
    2. VA Override is not permissible as it throws an error because other bind variables are set at the EO Level
    3. I can have a value change listener and pick the attribute Value when the user selects it and store in a page flow scope. But this value is the UI Hints value (which is displayed in the UI ) , I require the corresponding attribute value of this UI Hints attribute value being displayed.
    4. I was not able to use a view link for this scenario because I've to use a DECODE functionality in where clause.

    Hi Gary,
    You can have try by using following tab :
    The table CRMD_ORDER_INDEX: Contains GUID’s of all the transactions in CRM. Also provides a link to connect Business Partner with the CRM Transaction (Contains Header as well as Item details for a Business Transaction.Note: This table can be used for search based on the Partner No ).
    Hope this will help you
    Regards,
    Arjun
    <b>Reward points  if it helps</b>

  • Example: Cascading Popup LOVs (Solution using Ajax)

    If you need popup LOVs to depend on each other, here's a way to do it:
    Put this in the header text of the page:
    <script type="text/javascript">
    function clearFormData(data) {
    var items = new Array();
    items.push(data);
    for (var i = 0; i < items.length;i++) {
    var item = items;
    document.getElementById(item).value = '';
    if (document.getElementById(item+'_HIDDENVALUE')) document.getElementById(item+'_HIDDENVALUE').value = '';
    return true;
    function setSessionData(data) {
    var get = new htmldb_Get(null,document.getElementById('pFlowId').value,null);
    var items = new Array();
    items.push(data);
    for (var i = 0;i < items.length;i++) {
    var item = items[i];
    var tempObjID = (document.getElementById(item+'_HIDDENVALUE')) ? item+'_HIDDENVALUE' : item;
    get.add(item, document.getElementById(tempObjID).value);
    get.get();
    return true;
    </script>
    These are some helper functions (makes it easier to port to other pages, you could also put them in an external js file).
    Now on the second (or whatever) popup LOV (one that needs the value of another), put following code into the field "Form Element Option Attributes":
    [i]onclick="setSessionData('P1_FIRST_POPUP')"
    Change "P1_FIRST_POPUP" into the id/name of the popup LOV that the second depends on.
    Now to clear the second one (if there is already something in it) you can put this into the "Form Element Option Attributes" field of the first popup LOV:
    onclick="clearFormData('P1_SECOND_POPUP')"
    Change the "P1_SECOND_POPUP" into the id/name of the popup LOV that depends on the first one.
    If you need more than one item to be set in the session use the javascript functions like this:
    onclick="setSessionData(['P1_FIRST_POPUP','ANOTHER_ITEM';'AND_SO_ON'])"
    onclick="clearFormData(['P1_SECOND_POPUP','ANOTHER_ITEM';'AND_SO_ON'])"
    This is the best solution I figured out so far for cascading popups.
    Demo: http://apex.oracle.com/pls/otn/f?p=36908:2
    If you need cascading select boxes it's better to use this solution: http://apex.oracle.com/pls/otn/f?p=11933:37 .
    Edit:
    - works now regardless of being logged in or not, I just forgot to take ou the 0 in the htmldb_Get call (=> always
    sent the session id "0", which didn't exist)
    - added a link to the demonstration

    excellent tip for using ajax to update session state.
    one small change to share:
    function setSessionData() {
    var get = new htmldb_Get(null,document.getElementById('pFlowId').value,null,null);
    for (var i = 0; i < arguments.length; i++) {
    var item = arguments\[i\];
    var tempObjID = (document.getElementById(item+'_HIDDENVALUE')) ? item+'_HIDDENVALUE' : item;
    get.add(item, document.getElementById(tempObjID).value);
    get.get();
    return true;
    set 4th argument to htmldb_Get constructor to null.. causes the script to retrieve the value from the hidden form field, rather than being set explicitely.
    just noticed this code is different from the demo, which does set a static value of 2. Tempted to hit cancel, but maybe this can avoid someone else a lot of head scratching.
    also, was having issues with Array.push() during debugging to find the above issue.. and changed the way html form element id(s) are passed to the function; opted to use the implicit "arguments" array instead. Minor, but worth noting.
    thanks again for the useful piece of code.
    edit:
    this wiki doesn't parse brackets well; added char escapes so they'll show.. will need to remove by hand.

  • Automatic LOV refresh Dept drop down on EMP table

    I have a editable DEPT table and editable EMP table on the same page. Each table have their own corresponding insert and delete buttons. There is a common commit and rollback button for the both tables.
    In my EMP VO I have a view accessor linked to the DEPT VO . The dept column in the EMP table on the page has a drop down list. I'm trying to get the LOV drop down to refresh on the EMP table after an insert/delete and subsequent commit on the DEPT table. Has any body had the same requirement ? I tried the partial triggers between the commit button and the LOV on the EMP table and no luck ! :-(
    thanks in advance

    Just discovered that the my LOV was pointing to the wrong VO. I had 2 VO for the DEPT table. Re-pointed the LOV to the same VO as the DEPT on the corresponding page. it's all solved !

  • LOV refresh issue

    Hi ,
    I have a LOV switcher attribute in my VO. After saving my page, I need the getter of the switcher to be executed so that the page shows the correct LOV returned by the switcher.
    How do I go abt it?
    Appreciate your help on this.

    Refreshing the switcher attribute can be taken care
    1) By setting the dependent attributes
    2) Groovy expression.
    3) Based on the configuration for the switcher transient attribute (Always/Never/ Based on expression)
    Hope you are using at least one of the above ways to refresh LOV switcher. You can debug the issue by generating the impl file and putting a break point at the getter of the variable. That might help you in getting more pointers.
    Thanks,
    Srini.

  • Cascading/Dependant LOV's

    I'm confused on how to write the sql code for this cascading LOV.
    I have create a List of Value table that has the following columns:
    LOOKUP_ID
    LOOKUP_TYPE
    LOOKUP_CODE
    DESCRIPTION
    START_DATE
    END_DATE
    ATTRIBUTE
    When I select one of the types, 'LF_CATEGORY' then the 'ITEM_TYPES' with the attribute of the LF_CATEGORY should only display.
    For instance one the values of the LF_CATEGORY are:
    8 - LOOKUP_ID
    FG_CATEGORY - LOOKUP_TYPE
    BIKE - LOOKUP_CODE
    Bike - DESCRIPTION
    23-MAY-08 - START_DATE
    Then for the ITEM_TYPE I have:
    118 - LOOKUP_ID
    ITEM_TYPE - LOOKUP_TYPE
    105 - LOOKUP_CODE
    Upright Seat Assembly - DESCRIPTION
    23-MAY-08 - START_DATE
    BIKE - ATTRIBUTE
    I made it so that the Attribute of the ITEM_TYPE is associated with the LOOKUP_CODE with the LF_CATEGORY.
    I have a script the generates my LOVs - example of the script for the ITEM_TYPE:
    select description, lookup_code
    from lookup_codes
    where lookup_type = 'ITEM_TYPE'
    and sysdate between start_date and nvl(end_date,sysdate+1)
    order by 1
    How can I get it so that when I select the Category LOV "Bike" that only the Item types with the Attribute BIKE display?
    I hope this makes sense!
    Thanks,
    Jessica

    Examples of using a bind variable LOV are located in the "Building Portals" manual. On technet, click the Documentation tab, then open the "Building Portals" PDF.
    null

Maybe you are looking for

  • I can't select split document option with CS6

    Hi. I have Indesign CS5.5 on PC but I have been working on a document with the trial of CS6. I have set a table of contents (in the user interface, not in the book pages.) I'm all set to export the document. In CS5.5 i have the option to tick the box

  • Export Import in Portal Rel 2

    Hi How do i export/import Pages and other contents in portal rel 2, pageexp/imp and appexp/imp scripts r not to be found..what has happened to these in Rel 2.. TIA Bijesh

  • Bonjour service is running, but still trouble

    Hey guys, today i want to test Remote for iTunes DJ with my iPod touch. But I wasnt able to establish a connection between my iPod and iTunes. After a bit of research, try an error, I figured out, that the Problem must be Bonjour. So I uninstall it a

  • Process traffic monitoring...

    Hello All, I am writing an application for counting number of bytes sent/received by each process over the network. I have found the following tools doing the same task which are- ProcessExplorer (Sysinternals) ---source code not available TCPView (S

  • SpeedGrade crashes every time it is launched standalone and never works when using direct link from Premiere.

    SpeedGrade crashes every time it is launched standalone and when using Direct link to Adobe SpeedGrade from Premiere it only closes Premiere. It never try to even open SpeedGrade. All the effects have been removed and I have been successful with this