Cascading selection lists - does not

I'm trying to implement the Ajax solution cascading select list of Denes Kubicek.
[http://apex.oracle.com/pls/otn/f?p=31517:119]
But something is wrong with my configuration.

I created all the pieces, but for some reason it is like the
Attribute of the HTML form element defined on my point P3_emp_dept is not called.
OnChange = "get_select_list_xml1 (This, 'P3_emp_name');

The two elements of P3_emp_dept and P3_emp_name selection list are defined as "Select generic list".
For the Source, I tried the two "Always" and the "only when... sucks.
Source type is defined as the "column of the database" P3_emp_dept and P3_emp_name respectively.

When you fill out a blank page after choosing the P3_emp_dept, the P3_emp_name
selection list is empty.

When you change an existing record, if a different value is chosen for P3_emp_dept,
the selection list for P3_emp_name still shows in the former Department employees.

Any ideas?
Thank you, Sue

Sue:

The second parameter to the function 'get_select_list_xml1' must be the name of the selection list that displays the names of the employees.
Modify the call to this function for the 'Exchange' event handler declared to the selection list.

onchange="get_select_list_xml1(this,'P3_EMP_NAME');"

CITY

Tags: Database

Similar Questions

  • arrow of the selection list does not work

    Run version 4.2 against database 11g.

    On one of my pages none of my page selection point lists are working properly.  When clicking on the arrow at the end of the selection in the list list does not open, but if you click within the field where the text is displayed, it will open.  I tried IE and Firefox and the result is the same on both browsers.  If anyone has seen this behavior before?

    After putting a few more space between list boxes, the problem solved.  I guess even if visually there is space between them, it was somehow a kind of overlap.

  • Selection lists does not not on Android FF but work on default browser

    Hi, hoping for help

    Building an online game site that I'd like to work on the mobile and the PC without different versions.

    I find that the selection lists do not open on FF Android or iOS FF-mobile, even if they work fine in the default browser Android and chrome. Could someone help me debug this, or is this a problem in FF?

    Page URL: http://www.HoldingTheBall.com/clubroom.php?logon=1
    To test: load the URL, click on the image of the Guernsey on the middle right, and then try to use one of the selection lists.
    Features of the page: HTML4, CSS, JS, Jquery, Jquery ui, Jquery-touch-punch (by drag and drop on mobile)

    Any suggestions would be greatly appreciated!

    There is no such thing as Firefox iOS. There is Firefox at home, who would have bookmarks Firefox Sync and the history of your iOS device. All the browsers on iOS are based on the iOS stock Safari Webkit.

    That being said on Firefox for Android that I see the behavior you mention. Is it still a question if you disable the div dragging?

  • Server behavior select list does not

    I was finally able to find my CC Dreamweaver server behaviors after losing nearly 2 weeks of productivity. Adobe really dropped the ball on the removal of this widely used feature. In any case, now that I have this feature back all my work server behavior EXCEPT my behavior select dynamic list that has worked very well in Dreamweaver CS5.5. Everything I do is a client code of reading a table customers in a MySQL database and using this code to a code from the customer table to display all the codes/descriptions, highlighting what is the code for the current customer. On this update form the user can then select a new code that will update the customer record in the customer table. It's pretty simple and I know how do it. However, it does not work in Dreamweaver CC. The only difference in my CS5.5 version and the new version of CC, it is that I do my sensitive site, <! doctype html >, bootstrap.css and www.w3schools.com/lib/w3.css. That none should make a difference. All my other server (text, radio button) behavior work fine in Dreamweaver CC. HELP!

    The server behaviors have been removed for a good reason. Does not work the code they generate in PHP 7, which is scheduled to be released next week. Or it will work in many sites running PHP 5.5 or 5.6 because some hosts have disabled the original functions of mysql in PHP.

    You can make a strong argument for Adobe update server behaviors to work with MySQLi or PDO (a lot of people already have), but you are living on borrowed time if you continue to rely on the old server behaviors. Even if Adobe has created versions updates tomorrow, server behaviors, you will still need to recode all of your pages because the code in the server behaviors cannot be easily replaced.

  • DA to select list does not work

    Hi friends,

    I have a two of my form fields.

    person ID < li >
    < li > manager name (selection list)

    I gave a value for the id of the person as '270' by default. So I need to write a dynamic action so that he'll be looking for the name of Manager according to the id of the person '270'.

    As my manager name is a type of list, select, I gave the following query in the definition of LOV from this point of
    select papf.full_name d, papf.person_id r
    from per_all_people_f papf,
         per_all_assignments_f paaf,
         per_all_people_f supf, hr_all_positions_f hapf, hr_all_organization_units haou
    where papf.business_group_id = 216  
    and papf.person_id = paaf.person_id and hapf.position_id=paaf.position_id and haou.organization_id=paaf.organization_id
    and  NVL(paaf.supervisor_id, papf.person_id) = supf.person_id
    and sysdate between papf.effective_start_date and papf.effective_end_date
    and sysdate between paaf.effective_start_date and paaf.effective_end_date
    and sysdate between supf.effective_start_date and supf.effective_end_date
    and sysdate between hapf.effective_start_date and hapf.effective_end_date
    and papf.person_type_id = 5145 
    order by 1   
    It comes from the DA, I wrote for the column id of person.

    For the real action, I gave as "Set value" and gave the following query
    select supf.full_name
    from per_all_people_f papf,
         per_all_assignments_f paaf,
         per_all_people_f supf, hr_all_positions_f hapf, hr_all_organization_units haou
    where papf.business_group_id = 216  
    and papf.person_id = paaf.person_id and hapf.position_id=paaf.position_id and haou.organization_id=paaf.organization_id
    and  NVL(paaf.supervisor_id, papf.person_id) = supf.person_id
    and sysdate between papf.effective_start_date and papf.effective_end_date
    and sysdate between paaf.effective_start_date and paaf.effective_end_date
    and sysdate between supf.effective_start_date and supf.effective_end_date
    and sysdate between hapf.effective_start_date and hapf.effective_end_date
    and papf.person_type_id = 5145 and papf.person_id = :P6_PERSON_ID
    Article submit page: P6_PERSON_ID

    Affected item: P6_MANAGER_NAME.

    Shortly after the loading of the page, the field of the crib should display the name of the Manager for the LOV '270' value that is in the element id of person. But it does not show the name in the selection list item.


    Suppose that, if the Manager's name is in "view only" means that it works, but if the manager name field is in LOV means, it does not fetch the value and it displays only the display null value in this area.

    I don't know why him DA does not work if the field is in LOV.

    Brgds,
    Mini

    Hey Mini,

    a page of type element "select list" always stores the return value (second column of your LOV) in the page element. So in your case, you actually rename the element of your page to P6_MANAGER_ID (to take into account that this is an ID) and change your 'Set Value' query for the papf.person_id

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

  • NVL selection list does not not on the place where clause in query

    Ok. APEX 4.2...

    Im having problems with my selection lists and NULL values... I see that it has come time and time again...

    I have a tabular presentation, with a query based on a selection list.  The selection list has the ability to '- Show All -'... The value of the selection list is a number, and the display is words...  (for reference the LOV query is: select status, batch from pmt_stat_lookup by 1)

    Initially I had problems with null and invalid numbers like ' display Null = 'Yes' and the problem of null % ', so have used the code in this blog to remove the NULL values... Display Null = & amp; #34; Yes & amp; #34; and the problem of null % | Inside Oracle APEX by Patrick Wolf

    Then in the application of my report, I have a where clause clause that checks the value of the selection list... WHERE batch = nvl(:P11_STATUS_SELECT,STATUS_ID)

    everything works almost fine, and I can choose a status, or I choose - see the All-, but the query will not include the lines where the State is null.

    (I also see that maybe I should be, use the case statement instead of the NVL on where clause, but not sure of the syntax. In addition, NVL was used somewhat in the different reports in the application...)

    For reference, the code of the old blog that I as a process page is:

    BEGIN

    FOR rItem IN

    (SELECT NOM_ELEMENT

    OF APEX_APPLICATION_PAGE_ITEMS

    WHERE APPLICATION_ID = TO_NUMBER(:APP_ID)

    AND PAGE_ID IN (TO_NUMBER(:APP_PAGE_ID), 0)

    AND LOV_DISPLAY_NULL = 'Yes'

    AND LOV_DEFINITION IS NOT NULL

    -change here

    AND LOV_NULL_VALUE = '% null | '%'

    )

    LOOP

    IF V (rItem.ITEM_NAME) = "% null | '%'

    THEN

    Apex_Util.set_session_state (rItem.ITEM_NAME, NULL);

    END IF;

    END LOOP;

    END;

    Thank you very much

    Richard

    Richard,

    Perhaps this example can help you solve your problem.

    https://Apex.Oracle.com/pls/Apex/f?p=63838:2

    Jeff

  • Values of the cascading select list is not displayed because the ampersand &amp; in LOV

    Hello
    I use the LOV example Denes Kubicek http://htmldb.oracle.com/pls/otn/f?p=31517:119 cascading

    and I have a problem when my ename has an & in the name. In this case no values appear in the select list cascading. The application process, I use looks like this:

    < 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 >

    What should I change to make it work?
    Jacob

    Jacob,

    What happens if you change your application process on like this:

    DECLARE
       v_ename   VARCHAR2 (200);
    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 ('');
    END;
    

    Do you still have the same result?

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

  • cascading select list

    Hello

    I'm currently implementing Dene cascading select list.

    I have a form on a table with the report.
    When click on the link Edit on the report, then I have my form.
    Here the cascading select list works fine.

    But when I enter the form by clicking on the button create report to a new insertion.
    the cascading select list is not fine francs.
    No matter what I chose in my first list slect, there is no value in the list of the second selection.

    This is how works the cascading list?
    Where did I go wrong somewhere?

    Thank you.

    Hello

    OK - I found the problem, and it wasn't something you could have spotted the page!

    The application process, there is a space at the end of the process name. Basically, this means that the Ajax call could not find that the process was then null.

    Try it now

    Andy

  • Drop-down list does not appear selected value

    Hello

    I have a problem. The output of a query results page. There are 2 fields must be updated: scholarshipID and amount. I want to update my request at a time. My dynamic drop-down list does not appear selected value. The value is there, but it does not recognize in the drop-down list. I could not find the error. My code is below, so please help...

    < name cfquery = "getStudentsData" datasource = "#application. DSN #">"
    Select StudentID, fname, lname, GPA, Tbl_Students.ID, ScholarshipID, rise, Tbl_StudentsScholar.ID as the SSID, AwardStatus
    of Tbl_Students, Tbl_ApplyYear, Tbl_EduBckgrnd, Tbl_StudentsScholar
    where Tbl_Students.ApplyYr = Tbl_ApplyYear.id
    and Tbl_Students.id = Tbl_EduBckgrnd.SID
    and Tbl_Students.ID = Tbl_StudentsScholar.SID
    and ApplyYear = 1
    and steps = 7
    order by studentid
    < / cfquery >

    < name cfquery = "getScholarship" datasource = "#application. DSN #">"
    Select AcctNum, scholarship, Tbl_Scholarships.id, Code
    of Tbl_Scholarships, Tbl_DistCode
    where Tbl_Scholarships.DistCode = Tbl_DistCode.id
    AcctNum order
    < / cfquery >

    < cfparam name = 'X' default '0' = >
    < cfparam name = default "CounterX" = "0" >

    <!--get scholarship-->

    < cfif getStudentsDataRet.RecordCount eq 0 >
    < class p 'paragraph' = > No Records Found < /p >
    < class p = "pageheight" > < / p >
    < class p = "pageheight" > < / p >
    < cfelse >


    < class p = "submitmessage" > records found - < cfoutput > #getStudentsDataRet.Recordcount # < / cfoutput > < / p >
    < table width = "98%" border = "1" cellpadding = "3" cellspacing = "0" style = "" border-collapse: collapse "bordercolor ="#000000"align ="center">"
    < class tr = "steptext2" bgcolor = "#999999" align = "center" >
    < td width = "10%" > Student ID < table >
    < td width = "9%" > name < table >
    < td width = "9%" > name < table >
    < td width = "5%" > GPA Cum < table >
    < td width = "5%" > account # < table >
    < td width = "5%" > < table > amount
    < td width = "20%" > account # | Dist Code | Scholarship name < table >
    < /tr >

    < do action = "updateAward.cfm" method = "post" name = "AwardForm" > "
    < cfoutput query = "getStudentsDataRet" >
    < cfif eq x 0 and x neq getStudentsDataRet.recordcount >
    < cfset x = 1 >
    < cfelseif x neq (getStudentsDataRet.recordcount + 1) >
    < cfset x = x + 1 >
    < / cfif >
    < class = "paragraph" tr >
    < td > #StudentID # < table >
    < td > #lname # < table >
    < td > #fname # < table >
    < td > #GPA # < table >


    < cfif AwardStatus eq 2 >
    < name cfquery = "getStudentsScholar" datasource = "#application. DSN #">"
    Select Code, Tbl_Scholarships.id, AcctNum, scholarships
    of Tbl_Scholarships, Tbl_DistCode
    where Tbl_Scholarships.DistCode = Tbl_DistCode.id
    and Tbl_Scholarships.ID = #getStudentsDataRet.ScholarshipID #.
    < / cfquery >
    < / cfif >
    < td >
    < select name = "" scholarshipID_ #X # "onChange =" showMessage_ #X #(this.options[this.selectedIndex].value) ">"
    < option value = "" > < / option >
    < cfloop query = "getScholarshipRet" >
    < option value = "" #id # "selected < cfif getStudentsDataRet.ScholarshipID eq id > < / cfif > > #AcctNum # < / option >"
    < / cfloop >
    < / select >
    < table >
    < td > < input name = "" amount_ #X # "type ="text"size ="5"< cfif amount gt 0 > value = ' #NumberFormat (amount, 99.99) # ' < / cfif > / > < table >"
    < td > < cfif AwardStatus eq 2 > #getStudentsScholar.AcctNum # | #getStudentsScholar.Code # | #getStudentsScholar.Scholarship # | #getStudentsDataRet.ScholarshipID # < / cfif > < table >
    "< input name =" "IndexID_ #x #" type = "hidden" value = "#SSID #" / >
    < /tr >
    < / cfoutput >
    < cfoutput > < input name = "CounterX" type = "hidden" value = "" #getStudentsDataRet.RecordCount # "/ > < / cfoutput >"
    < b >
    < td align = "center" colspan = "11" height = "50" valign = "middle" > < input name = "Submit" type = "submit" value = "Submit" / > < table >
    < /tr >
    < / make >
    < /table >
    < / cfif >

    the syntax is: getStudentsDataRet.ScholarshipID [1]

    where '1' is the line number to specify

  • In the form of cascading select lists - what am I doing wrong?

    Friends,

    Hope you can help, I'm trying to figure out how to build a tabular presentation that contains the cascading select list.

    What I do is to reproduce the excellent example Denes Kubicek has developed here: http://apex.oracle.com/pls/otn/f?p=31517:176 in my own work space.

    While I can see it working on the environment hosted by Denis, I can't make it work in my area. I must be missing a step (or several!) After trying in vain to operate for several hours, now I'm hoping you can help.

    That's what I did:

    Created a sql report using the exact same sql provided.

    Created a process page (rendered page side) using the same code.

    Added javascript code to my html page header section

    Created a process of application, called tab_casc_sel_list which runs on request

    When I run the following page occurs:

    The select deptno list shows 'Research' while the employee select shows 'Ford '.

    However, when I change the selection dept list I get the following results:

    Use Internet Explorer: The list of selection used now becomes empty and shows no entries

    The use of Firefox: the employee entries are still posted, but they are not restricted by Department.

    What did I miss?

    Thanks in advance for any help you can provide.

    Ian

    Fixed.

    'Re missing you the application TAB_CASCADING_ITEM element

    See you soon

    Ben

  • Cannot forward the e-mail message. Contact list does not appear to be selected. Can reply to the sender only

    When you try to send an e-mail message, contacts list does not appear. It can
    only be transmitted by manually entering addresses. Can I return an email answering
    but I can't pass under the Mozilla Fox server.

    When I'm in Internet Explorer, I can use the email forward without problem.
    Contacted AT & T to see if it was their problem, since I use att.net.
    The technician said it was a problem with Mozilla because it was not compatible
    with net work, AT & T. It might be in the recent updates, since I just
    discovered the problem in the last week.

    Prefer to enter my email through Mozilla Fox. So can you fix this
    for me.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode safe or make changes.
  • Possible a bug of cascading select list

    Hi people,

    I created a dynamic action "onChange" in a page called "P5_COD" element Always of value of "P5_COD" changes, it runs the PL/SQL code above to fill the page elements with data from database:

    Select

    PERIOD,

    BEGIN_DATE,

    END_DATE

    in

    : P5_PERIOD,.

    : P5_BEGIN_DATE,.

    : P5_FINISH_DATE

    Of...

    BEGIN_DATE and end_date are page elements "selection list. They are "Cascading LOV Parent article (s)" of the PERIOD (select list too).

    The problem is: 'onChange' dynamic action doesn´t work to load the elements of page BEGIN_DATE and end_date.  BEGIN_DATE and end_date loading default data, not the data of database.

    Any idea?

    Thank you

    Bsalvador

    Bsalvador

    First of all the code you listed does not change the value of objects client only in session state-side. In other words only on the server.

    Use a dynamic action of type 'Set value' to change the value on the client side.

    Then change the value of P5_PERIOD will trigger the change of the P5_BEGIN_DATE LOV: P5_FINISH_DATE and the values of these elements are initialized to null (client side only).

    In a similar challenge to define the value of the mother and child at the same time, I'm done setting the value of the child element in a hidden item. And on the afterrefresh event of the child, the value is set to the child.

    See this demo , I realized for the challenge.

    Nicolette

  • Windows Explorer "option remove from this list" DOES NOT always WORK

    In Windows 7:
    When you right-click the Windows Explorer button at the bottom of the screen on the task bar, it has an option to "remove from this list. all Frequent ' point/place' that there are listed...

    I used this option during most of the items listed to clean a little bit because I don't want to see it all.

    BUT:
    I have now six items/places to the left.  I want three of them to stay.  I would like to 'Remove' the other three, but the option "Remove from this list" DOES NOT WORK!

    I tried:
    -Manually remove items/locations...   Always in the list.  So I put them back
    -Search for places objects in a windows search to see if they appeared in a file list somewhere that I could remove a manually.  No foumd.

    HOW to REMOVE THESE UNWANTED ITEMS/LOCATIONS in the list of Windows Explorer?

    Thank you.   -TomE

    NOTE: A second problem is that I couldn't use a sign less "-" to exclude elements of my research, when I used Windows Search.  I tried to use '-internet "to exclude references to Internet Explorer.  It did not work.  There for me in the past.

    Hello

    Right-click the Start button, and then select Properties.

    In the privacy section, remove the check mark from the option "store and displayrecently open items in the Start Menu and the taskbar" . CLIck apply/OK.

    Check the list of shortcuts in Windows Explorer and recent items section should be empty.

    Go back and re - activate this option.

    NOTE: this procedure will empty all the list Jump list recent items as well as the recent items on the Start Menu.

    I hope this helps.

    Thank you for using Windows 7 Ronnie Vernon MVP

  • my button is not the top of my list of contacts - when I start typing a name, a list does not appear, for me to choose and my spell checker does not work

    my button is not the top of my list of contacts - when I start typing a name, a list does not appear, for me to choose and my spell checker does not work

    Hi Lynn,

    What mail client do you use?

    Using Windows Live Mail or Outlook?

    For Windows Live Mail:

    The best place to ask your question of Windows Live is inside Windows Live help forums. The experts he specialize in all things, Windows Live and I would be happy to help you with your questions! Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums at www.windowslivehelp.com.

    For Outlook:

    http://answers.Microsoft.com/en-us/Office/Forum/Outlook

    If you are not using one of the people then please let us know what you use so that we can help you further.
  • Quick selection tool does not work after last update Photoshop CC

    I've updated to the latest version of Photoshop CC, and the Quick Selection tool does not work. I am able to make a choice, and then when I try to make multiple selections, I receive the ball well filled, and then nothing is selected.

    I have preferences in the performance, the value Panel "Big & Flat" in the historical and 'Basic' Cache in the settings of the graphics processor. Thus, the operating system is up-to-date.

    I restarted my computer, and now it works. Don't know what it is, but it works fine now.

    Thank you!

Maybe you are looking for

  • Font of pages share between devices?

    I use Pages (and Keynote) between an iMac and iPad - both on the latest OS versions - the set of fonts is different.  The police STANDARD defined for each device, yet I am constanty given errors because the document created on a device does contain n

  • HP elite 8000 usff master key bios password

    Hello all, need help I bought recently used HP elite 8000 usff great small desktop computer Problem is the main key to the password for bios, product number is AU248AV and serial nuber is (deleted content) I also tried unplugging the power supply and

  • HPC for Excel - get the exception when running the diagnostics

    I was wondering if anyone would be able to provide assistance with the issue I am dealing with the help of HPC (2012 R2) for Excel (2016). I started a new Setup and all made in the paper, as shown here on the Microsoft Web site: start with HPC server

  • How can Windows Checker work - I get rid of him?

    In order to access the computers of mu (has been locked) was to order an audit of the Windows work that has a Microsoft Logo, but I understand is a scam. I've already warned my credit card company, but the questions are: 1. How can I get rid of the p

  • HP LaserJet CP6015n: Top of the page paper problem pinting

    Hello We have some problems by printing CP6015n. We get a green bar on top of paper. You can see the attached picture. Transfer kit have 59% remaining. Concerning