LOV cascade with two items of parents (one might be hidden)

Hello

I have a LOV cascade which depends on two elements of parents, who works as expected. When two parent elements have values then the LOV cascading is populated with the appropriate values.

I have the following situation, if. The elements of two parents are not always visible. According to an another page element (e.g. product code), one or the other Parent may be hidden (using JavaScript).

The list of values for the LOV cascading is dynamic, so that part is ok

if PARENT_ITEM_01 is hidden then  
   return 'select product_descr display, product_code ret from products where product_cat_02 = ' || :PARENT_ITEM_02 || ''';  
elsif PARENT_ITEM_02 is hidden then  
   return 'select product_descr display, product_code ret from products where product_cat_01 = ' || :PARENT_ITEM_01 || ''';  
else  
   return 'select product_descr display, product_code ret from products where product_cat_01 = ' || :PARENT_ITEM_01 || ' and product_cat02 = ' || :PARENT_ITEM_02 || ''';  
end if; 

Is there some sort of workaround to parent of the items but one of them may be hidden?

Teo

I have finally found a workaround.

I created a dynamic action and that page_item was hidden I put this element with a default value and the works of lov cascading.

Tags: Database

Similar Questions

  • problem: lov cascading with the UNION query

    I have develoep my LOV cascade according to
    http://download.Oracle.com/otn_hosted_doc/JDeveloper/11/demos/ADFBC_Cascading_LOV/ADFBC_Cascading_LOV.html

    I choise contain LOV like (detriment - banks - employed)
    another a cascading contain information for (detriment or banks or employees) depeding on first LOV
    data for detriment, the banks and the employees split into 3 table so
    read only display for second LOV was:
    SELECT id, name, "DPT".
    of detriment
    Union
    SELECT id, name, "BNK".
    from banks

    I followed step above link, when I test the application in British Colombia, it ' good job, but when I test the jsp page, is not woking!
    What wrong with my application? its because the UNION? or I'm wrong steps?
    IAM using jdeveloper p4, ADF BC + ADC faces
    Published by: user652271 on August 25, 2008 05:03

    Published by: user652271 on August 25, 2008 05:29

    Hello

    I think that you need a partial refresh in jspx.

    See: LOV Cascading Update

    concerning
    Peter

  • Question LOV cascading with the plugin Select2

    Version 4.1.1.00.23

    Hello

    I have a plugin Select2 Setup like a multiple-selection list.

    I have a second Select list that is configured as a page item list select Standard.

    I try to have the second element of the page list select Standard like a waterfall LOV based on the plugin Select2, so when one or the values are selected in the plugin Select2 I want the list item select Standard to hold the values based on the plugin Select2.

    The Standard selection list has the Parent article (s) as the plugin Select2 LOV waterfall and the query made reference to the plugin Select2.

    Since the plugin Select2 likes the selection list Standard may not Submit/redirection is why my list select Standard is not get the values. I tried to put a dynamic Action to requery the list select Standard when the plugin Select2 is changed, but looks like there is no case of "onchange" of the plug-in.

    Can someone help me to get this set up?

    Can what additional information I predict or explain?

    Thank you

    Joe

    Joe,

    I faked your question on an instance of APEX 4.1 and I managed to make it work as follows:

    Remove the dynamic action of one of my previous posts. Use the following dynamic action:

    -Event: Change [Select2]

    -Selection Type: Item (s)

    -Article (s): P6_DEP

    Add two real actions:

    -Action: Execute the PL/SQL Code

    -PL/SQL Code: apex_util.set_session_state ('P6_DEP',: P6_DEP);

    -Items to submit: P6_DEP

    -Elements of return:

    -Action: update

    Items affected

    -Selection Type: Item (s)

    -Article (s): P6_EMP

    The definition of LOV's P6_EMP is based on a PL/SQL function that returns a query as a string.

    List of values definition: return get_emp_query(:P6_DEP);

    Below the get_emp_query function:

    create or replace function get_emp_query(in_teams in varchar2)
    return varchar2 is
      l_teams varchar2(32767);
      l_emp_query varchar2(32767);
    begin
      l_teams := replace(in_teams, ':', ','); 
    
      l_emp_query := 'SELECT ename, empno
                      FROM emp';
    
      if (l_teams is not null) then
        l_emp_query := l_emp_query || ' WHERE deptno IN (' || l_teams || ')';
      end if;
    
      l_emp_query := l_emp_query || ' ORDER BY 1';
    
      return l_emp_query;
    end get_emp_query;
    

    You have to be able to use an element of selection mode multiple select2 to dynamically filter the values in your resource item.

    BR,

    Nick

  • Lov cascading with webservice

    Hi, I want to create LOV at two levels, I get the values of service, how to get this feature for example I show popular banks in one level and other banks in other level from the drop-down list looks like this

                        
    
    
    
    Pouplar
    CIty
    Hdfc
    federal
    Other
    abc
    xyz
    asdf
    
    
    
    

    Thank you

    Delphine

    Check - Ashish Awasthi (Jdev/ADF) Blog: Build selectOneChoice to show hierarchical data (style tree) in the ADF file programmatically

    This isn't about filling webservice data to build Lov.

    only on the display of hierarchical data select one option

    Ashish

  • LOV cascading with null

    Hello

    I use APEX 4.0 on 10g.

    I have 2 LOV, the second, based on the first.
    One displays null as 'null' % values to display all rows back.

    When I select a value from the first LOV (except 'null'), the second is updated with the correct values: it works.
    But when I select the value 'null', the second list is empty, rather than be filled with all the values.

    The second LOV based on the first request (P3_FILTRE_AREA_NAME):
    select distinct(ACCL_NAME) display_value, ACCL_NAME return_value 
    from POINTS WHERE upper(AREA_NAME) LIKE upper(:P3_FILTRE_AREA_NAME)
    order by 1
    When I run this query as a replacement for Sqlplus: P3_FILTRE_AREA_NAME by '%', it works, it returns all the rows.

    Any idea?

    Thank you.

    Yann.

    Hi Yann,

    You must set * "Optimize Refresh" = No * regarding your second select list P1_ACC_NAME. If you do that it will work.

    I also suggest to change your list of first selection P1_AREA_NAME to

    Display null value: "- show all xxx -" (without the quotes)
    "Return NULL value:" (without the quotes)

    and the declaration of LOV your second selection P1_ACC_NAME list to

    select distinct(VALUE1) display_value, VALUE1 return_value
    from TABLE WHERE upper(VALUE2) LIKE nvl(upper(:P1_AREA_NAME), '%')
    order by 1
    

    I think this makes it more transparent by looking at the SQL statement what happens where nothing has been selected. It is also more pleasant that P1_ACC_NAME is set to null if you need to access this page element in the continuation of the procedure on your page.

    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

  • LOVs cascading with the ability to create a new record.  Is this possible?

    Hello

    I am trying to create a couple of LOVs. The first is a list of manufacturers, the second a list of items. Essentially, when you select a manufacturer from the first LOV you will see their articles in the second LOV.

    I had a look through the forum and I think I have a handle on how to make a waterfall... except LOV...

    I would like users to have the ability to enter a NEW manufacturer and a NEW element if necessary and have this combination, then saved in the source table.

    Is this possible?

    Thank you

    Joseph

    Hello

    Browsers is not the drop-down list box functionality that you would find in something like MS Access. You could try autocomplete - see [http://apex.oracle.com/pls/otn/f?p=31517:53] - but you would have to search all the entries (the field only would focus on the display text and not the ID of the element, which would have to be searched every time).

    I want to say that you should be able to trust your users to not create duplicates. I want to say this, but... ;)

    Andy

  • vCell Setup with two IP addresses and routing

    Hello

    My networking team suggested the following configuration:

    VLAN-Public: first card network load balancing

    VLAN-squatting: second nic load balancer

    VLAN-front: first and second nic vCloud Cell01 and even for vCloud Cell02

    VLAN-Back: vCenter / ESXi / vShieldMgr / SQL / etc.

    Traffic / routing between VLAN-front and back - VLANS are possible.

    Now, I installed vCell01 with two network cards, each one IP address: 192.168.1.1 and 192.168.1.11.

    vCell02 with two network cards, each one IP address: 192.168.1.2 and 192.168.1.12.

    Installation was no problem, connect to SQL went smooth.

    But then I noticed that I could not reach 192.168.1.11 since the vCenter Server. Which makes sense, now that I think of it, given that traffic from the vCenter for 192.168.1.11 lights eth1, but due to the default gateway will leave on eth0. And vCenter probably won't like that.

    My questions:

    -Can I solve this through routing changes to the routing of the vCells table?

    -Should I do a complete change in my configuration / network design?

    -Should I continue and do not worry vCenter being unable to reach 192.168.1.11.

    Advice welcome

    PS: Using CentOS 6.5

    Concerning

    Gabrié

    I ran into a similar problem with asymmetric routing when I first set up my vCloud multi-homed cells.  In my case, the IP address for each interface was on a different subnet, but the approach is the same for your scenario.  You must add that some policy based routing using iproute2 commands rules.

    Here's a great article that describes the problem and the solution: http://www.linuxjournal.com/article/7291

    For your question, you probably want something like this:

    Cell01:

    / sbin/IP flush table 1 road

    / sbin/IP flush table 2 road

    / sbin/IP route add default via dev eth0 table 1

    / sbin/IP route add default via dev eth1 table 2

    / sbin/IP rule add from 192.168.1.1/32 table priority 1 500

    / sbin/IP rule add the priority of 192.168.1.11/32 table 2 600

    Cell02:

    / sbin/IP flush table 1 road

    / sbin/IP flush table 2 road

    / sbin/IP route add default via dev eth0 table 1

    / sbin/IP route add default via dev eth1 table 2

    / sbin/IP rule add from 192.168.1.2/32 table priority 1 500

    / sbin/IP rule add the priority of 192.168.1.12/32 table 2 600

    Good luck!

  • Link to page with LOV cascading don't set the element LOV

    I have a page with two elements LOV DB and TABLE. The TABLE is set cascading to the DB. These elements to work on the page very well. The problem is that if I connect to this page for an interactive report on another page, only the point DB prepares while ARRAY elements by default on the first item in the list instead of what I spend.

    URL of the link:

    http:// < servername >/apex/f? p = 101:376: < ID >:no:RIR:P376_DB, P376_TABLE:audit, Pub. ScanEvent

    With the help of Apex 4.0.

    Hello

    Rob Farver says:
    I have a page with two elements LOV DB and TABLE. The TABLE is set cascading to the DB. These elements to work on the page very well. The problem is that if I connect to this page for an interactive report on another page, only the point DB prepares while ARRAY elements by default on the first item in the list instead of what I spend.

    URL of the link:

    http:// /apex/f? p = 101:376:: No.: RIR:P376_DB, P376_TABLE:audit, PUB. ScanEvent

    With the help of Apex 4.0.

  • You must pass values of 'return' of item selection list while trying to assign the value via a URL. Make sure the audit and PUB. ScanEvent are the correct return values
  • Make sure that the child value is good for the selected parent value. that is, the table PUB. ScanEvent must be a child value for DB audit. If you pass an incorrect combination of parent-child of the values that have been created as cascading, only the parent value is defined.

    Kind regards
    Hari

  • Can a selection list cause two lists of parent of Cascade?

    4.2.1

    THM:2

    Hello world

    I have two regions

    Region 1 has a selection list and a text called order box and category of the order. There could be several orders in a category. When I choose a selection list order, he fills the text box with the corresponding category by using dynamic "SetValue".

    Now, I also want the second region that has an another LOV orders, fills only order_ids not selected in region 1 LOV however, it should show only other orders in the same category.

    So something like select commands from P4_ORDERS1 where category and <>P4_ORDERS order_id = P4CATEGORY

    But seems to not work. I created this on Apex

    https://Apex.Oracle.com/pls/Apex/f?p=64292:4

    workspace: ryansun

    user: [email protected]

    PWD: ryansun123

    Ideally, when I select the No. 1 of the order of P4_orders, P4_ORDERS1 should show 4 for the other order_ids, that p4_orders1 will be null.

    Thank you

    Take at look at page 5 and 6.

    Page 5 the query for the LOV P5_ORDERS1 was modified to use the value of P5_ORDERS.  Not really necessary to include the value of P5_CATEGORY

    Page 6 the parent element is P6_CATEGORY for the LOV is updated when the value of P6_CATEGORY is modifed by the dynamic Action.  Dynamic Action will present the P6_ORDERS value in session state to be used by the LOV P6_ORDERS1.

    As for the original question in the title, a list of selection may have two lists of parent of cascade? The answer is Yes.  You can include 2 (separate control) in the area of the waterfall LOV article Parent (s).

    -Jeff

  • Ran Malwarebytes & two threats were each one with the same name: PUM. Disabled.SecurityCenter. fact that associated with MSSE PUM & the boxes unchecked in MS security Center.

    Original title: PUM. Disabled.SecurityCenter

    I recently removed "patch system" of my Dell computer XP. Malwarebyte s was the only software to do. MSSE caught, but couldn't fix it. I then updated & ran MSSE on my Toshiba - no threats not found. I then ran Malwarebytes & two threats were each one with the same name: PUM. Disabled.SecurityCenter both at the Date of the registry in HKLM\SOFTE\Microsfot\SecurityCenter\AntiVirusDisableNotify & HKLM\SOFTWARE\Microsfot\securityCenterFirewallDisableNotify.  These two have been listed bad: Good (0) (1).  In the Malwarebytes wesite, I read that this has something to do with MSSE. In a commentary, he says it occurs if, in the MS Security Center, the notification "Notify me if my computer might be at risk because of my virus protection software settings" is unchecked.  I then went ahead & check all 3, firewalls, viruses & automatic updates. My computer seems to work well, except that the fan runs all the time (there are a lot of processes running & the CPU usage is very--often 100%, but the computer works fast).

    My questions are: 1) the PUM associated MSSE & the boxes unchecked in MS security Center; (2) should I click on "ignore" in the Malwarebytes scan? 3) was right to check all the boxes in the center of security - "altert me if my computer may be at rist b/c of my xxx software settings?  Thanks in advance for your help.

    PC fan2

    Hello

    (1) is associated with MSSE PUM & the boxes unchecked in MS security Center;

    The following thread might answer this question: http://forums.malwarebytes.org/index.php?showtopic=69859

    (2) should I click on "ignore" in the Malwarebytes scan?

    Yes

    3) was right to check all the boxes in the center of security - "altert me if my computer may be at rist b/c of my xxx software settings?

    Only, run antivirus software at the same time. Firewall must be performed, evil-ware bytes can be run at your pleasure.

  • Voicemail for one user with two extensions

    Environment:

    Cisco Unified CM Administration system version: 7.1.3.30000 - 1

    Cisco Unity Connection Administration Version 7.1.3.10000 - 68

    We have one user this year who will wear two hats and will have offices in two different places. I have two extensions as a line on each phone. Now, I just need to point the two extensions to the same voicemail box or give the user two mailboxes. It seems that the Administration CM only supports a voicemail by user. I think it would be easier for the user to have only to check a mailbox with two extensions to point to the same VM. How can I accomplish this?

    Hi Andy,.

    Assume that the user has issues 7005 & 8450, but we only want one box mailbox

    @ 7005. There are two ways to do this.

    In CUCM go > feature > Voicemail > voicemail profile and create a new profile called XXXX (whatever name you want) with a Description called "XXXX mailbox username" the Voice Mail Box mask will be 7005 > save

    Then through CUCM go for users of phones > under directory number Config for 8450 > voice mail profile and change to XXXX (previously created in steps above) > update > reset

    Now, when a call from roads via forward to the connection of the unit, it will reach the box mailbox @ 7005.

    Or about the other unit Extension so that 8450 is another Extension to 7005 etc..

    See you soon!

    Rob

    "I don't know how, I don't know when."
    "But you and I will meet again."

    -Tom Petty

  • Computer laptop Compaq PresarioCQ40 using Windows 7 32 bit. In Device Manager, I found two items with a trademark right Exclaimation beside 'Devices Bluetooth device' in the other devices section.

    My laptop Compaq PresarioCQ40 running Windows 7 32-bit. In Device Manager, I found two items with a trademark right Exclaimation beside 'Devices Bluetooth device' in the other devices section. Properties, I found that these two elements with problem are found on "Microsoft Bluetooth enumerator.  I tried to run Windows update to get the driver but it says no update available. And I can't find this driver online. Can someone help me solve this problem? Thank you very much

    Hello

    Perform the steps in the link and check.

    Error: "device driver Bluetooth not found" when you try to connect to a bluetooth device

    Hope this information helps.

  • I have a HARD disk with two partitions and two copies of Win7 but at the start, I have the black and white screen asking me only one to choose. How do I rename them.

    I have a HARD disk with two partitions and two copies of Win7 but at the start, I have the black and white screen asking me only one to choose. How can I rename the Windows 7 and Windows 7 Test to start in one I want right here?

    I have a HARD disk with two partitions and two copies of Win7 but at the start, I have the black and white screen asking me only one to choose. How can I rename the Windows 7 and Windows 7 Test to start in one I want right here?

    Use BCDEDIT to SET the description that you are wanting to "Rename" and also to choose the displayorder, timeout and that you load by default...

    Maybe this old conversation will help you:
     http://www.SevenForums.com/general-discussion/20191-renaming-earlier-version-Windows-dual-boot.html

  • How to export a video with two audio tracks such as: English and a steam engine, then open in vlc player, then select one of the two tracks?

    How to export a video with two audio tracks such as: English and a steam engine, then open in vlc player, then select one of the two tracks?

    Everything you always wanted to know about the acoustics in first Pro CC - YouTube

  • I bought the Creative Suite 5 cloud in June 2010 (Ser # DELETED) if I recall with two licenses, one for my laptop iMac book Prod and one for my iMac 27 "flat screen.  My Mac Book Pro needs to be replaced by a newer Mac Book Pro wi

    I bought Cloud Creative Suite 5 in June 2010, if I recall with two licenses, one for my laptop iMac book Prod and for my iMac 27 "flat screen.  My Mac Book Pro should be replaced with a new Mac Book Pro with recent operating system software upgraded OS.  What can you do for allowing me to transfer my course in Creative Suite 5 for my new Mac Book Pro?

    [NEVER SEND A SERIAL NUMBER IN AN OPEN FORUM.]

    [personal information... [Mod - https://forums.adobe.com/docs/DOC-3731]

    [This is an open forum, not the Adobe support, please do not post personal information]

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific time) <===> NOTE DAYS AND TIME

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Serial number and activation support (non - CC)

    http://helpx.Adobe.com/x-productkb/global/Service1.html

Maybe you are looking for