Filter a shuttle using the selection list

Hi all

Apex 3.1.2 version

I've seen a few posts on how to filter values in a shuttle and I tried a solution but I can't seem to do it all together.

What I do is this...

I have a shuttle service (P2_APPLY_TO_LINES) that contains a list of items, this list may be very long. Next to the shuttle users want to have a selection list (P2_MANUFACTURER_FILTER) where they can choose a manufacturer. Choose a manufacturer in particular will again fill the left side of the shuttle with only the items for the manufacturer.

If someone got something like this works? If Yes can you please elaborate?

For attributes of HTML selection list form elements, I have the following call, but I can't seem to get the right code

OnChange = "f_filter_shuttle_item (this, 'P2_APPLY_TO_LINES').


I also think I need to point to the application and the application process, but don't know what to do with the.

Thanks for your help!

Why you do not create a selection with mailing list and a shuttle service will be to repopulate itself to your selection list condition?

Tags: Database

Similar Questions

  • Using the selection list

    Hello:

    I have created a form where I would like to include a few select list boxes.

    When I run my form, I meet two types of questions in which I could use help in troubleshooting.

    Question No. 1:
    I have a field called SPECIALTY. This field in the database is a NUMBER.
    If my user does not select a specialty, the following error message occurs: ORA-01722: invalid number

    I checked the value that is passed to the field and the value is null %. I think that the reason for this error message is that the SPECIALTY is a numeric field and the % value % null is character.

    One, why this null value % of filling in my table? If the user does not select anything, regular null must appear in the column.
    Two, how to replace this % % null value?

    Question 2:
    I have a field called STATE. The field in this table is a VARCHAR2 (2).
    If my user does not select a status code, the following error message occurs:-12899: value too large for column 'TEST '. "ORGANIZATION '." "' SUFFIX ' (real: 6, maximum: 2).

    I checked the value that is passed to the field and the value is also null %. Well, null % is certainly 6 characters and does not fit into a column defined with a width of 2.

    What can I do to fix this problem? I do not understand why null % keeps being inserted in the DB when anyone makes a selection in the select list. Is it possible that we can replace this value and insert the value null ordinary? When I speak of 'regular null value', I mean when I have a text field and it is empty, a null value is inserted into the table, but it does not appear as null %. To place the value in the DB looks like (null).

    Can someone help me?
    Thank you.

    Hello

    Go to your list of selection-> list of values definition:

    The value 'Null return value' for example to zero.

    Based on what you expected store in your table, you can change your insert, update function for:
    for example, if you want to store the value null:
    Decode(:P22_SELECT_LIST,0,,:P22_SELECT_LIST);

    Best regards, Kostya Proskudin

  • Using the selection list to add/remove children

    I have a component tileList at the top of my app that I use as a menu bar. He currently has a bit of the two options. Everything that is displayed when the first item is selected is in a container; for the second element is in a separate container. Is it possible to set up the event listener so that when the selected index == 0, reservoir 2 precipitates and Tray 1 is added, and when the selected index == 1 Tray 1 is removed and the tank 2 is added?

    Here is the code I tried so far (which did not).

    private function menuClick(e:ListEvent):void
            {
                if(menuBar.selectedIndex==0) hdb.addChild(hdbd) && hdb.removeChild(hdbn)
                if(menuBar.selectedIndex==1) hdb.addChild(hdbn) && hdb.removeChild(hdbd)
            }
    

    EDIT: just saw your response tracking haha. No worries man happens all the time. IM surprised that the "&" worked. I always thought it was only good in the IF ELSE statements. u learn something new every day!

    Hey jffurian,

    try to change your function to this:

    private function menuClick(e:ListEvent):void{    if (menuBar.selectedIndex == 0)    {        /**          * check to make sure the container you want to         * remove is infact a child, sometimes throws error         */        if (hdb.contains(hdbn))        {            hdb.removeChild(hdbn);        }
    
            /** add the new contaiener */
    
            hdb.addChild(hdbd);    }    else if (menuBar.selectedIndex == 1)    {        /**          * check to make sure the container you want to         * remove is infact a child, sometimes throws error         */
    
            if (hdb.contains(hdbd))        {            hdb.removeChild(hdbd)        }
    
            /** add the new contaiener */
    
            hdb.addChild(hdbn);    }
    
    }
    

    You had the idea of writing, but the syntax was a bit off. the "&" is only good in the logical instructions as the parenthesis of an if else statement. and usually if the IF statement has several lines, as in your case, you must use the curly braces {}. Note also instead of two if statements I have merged with it an IF ELSE IF statement.

    In addition, do a check to make sure that the object you are deleting is a child object of the parent container. This isn't and he sometimes throws an error "Must be a child" so its good to have just in case control.

    hope that a few things cleared up. Good luck!

  • Development of the selection list after refresh using jQuery

    Hi all

    I have an Express Application 4.1.1.00.23 application that runs on a server, Oracle 10 g R2.

    In the application, I have a page (suppose it to be Page 10) that has a drop down (let's call it P10_PARENT). Next to the dropdown menu, I have a button that when clicked opens another window popup with page 11. This 11 page is used to create many of the points listed by the P10_PARENT drop down. When enter us the data P11 and click OK, we have a javascript to call a process application that creates the object in the database. Now select the P10_PARENT list is updated to reflect this new object. So after the application process is running, the JavaScript on the Page 11 calls a function in Page 10, using window.opener.functionName. This Page 10 function performs an apex to help refresh

    $('#P10_PARENT').trigger('apexrefresh');
    

    This function returns the Page 11, the page is closed using the Window.Close ().

    It works fine up until this point. Now, there are also by default the value selected in the select list of the newly created object. We made a function for it. But he calls immediately after the outbreak of the updating of the apex does not work because he probably did not updated the list since the back end still.

    Therefore link us an apexafterrefresh event to this element and making the default here. Like this:

    $('#P10_PARENT').bind('apexafterrefresh',function(){
      setdefault('P10_PARENT',newCreatedObjVal);
      alert('Refresh completed!');
    });
    

    But this event does not seem to be triggered. I've tested in IE and Chrome. In Chrome, it started once, but never after that.

    The relevant code on page 10 looks like this. The refreshBusList function is called Page 11 with the value of the newly created object.

    function refreshBusList(pDefault)
    {
      newCreatedObjVal = pDefault;
       $('#P10_PARENT').trigger('apexrefresh');
    }
    
    $('#P10_PARENT').bind('apexafterrefresh',function(){
      setdefault('P10_PARENT',newCreatedObjVal);
      alert('Refresh completed!');
    });
    

    I would like to know what we're doing wrong. Is it still the right way to do it? I can't use dynamic actions here because the logic of javascript page is too complicated be properly implemented using the declarative logic like DAs (we tried once and had to leave after a week. has become a nightmare to manage).

    Any help would be much appreciated!

    Thank you!!

    Aalami

    What does setDefault? Have you tested this feature by running it from the console? It doesn't have the required behavior?

    Can what newCreatedObjVal value contain? What is an object? A string?

    Are you sure that the selection list is updated?

    I would also like to rewrite your refresh logic. On the one hand, you declare a variable of global scope: horrible! There is no need of it. You can also control refreshing after a little better by simply acting on it once.

    function refreshBusList(pDefault)
    {
      // not really necessary. But use "var" to declare scoped variables!
      var newCreatedObjVal = pDefault;
    
      // bind a one time afterrefresh event handler
      // then, trigger the refresh
      $('#P10_PARENT')
      .one('apexafterrefresh',function(){
        setdefault('P10_PARENT',newCreatedObjVal);
        alert('Refresh completed!');
      })
      .trigger('apexrefresh');
    }
    
  • Refresh the report area of PL/SQL (not Page) using the value of the select list

    Hello

    I have a report region based on a "body of the PL/SQL function returning a query'which SQL is generated on the selection of a value of an element from the selection list, select action list is"Redirect and set", but this causes the entire page refresh rather than just the region report." I tried to update the report using only a dynamic action on the item list select (Action now reset to 'None'), but now the report does not appear on the choice of the list. Can someone suggest a solution that will allow me to update this report without refreshing the page? I use APEX 4.2.2 and the syntax of the statement is as follows:

    DECLARE

    v_statement VARCHAR2 (500);

    BEGIN

    SELECT query_text
    IN v_statement
    OF sql_queries
    WHERE query_id =: P2_QUERY;

    RETURN v_statement;

    END;

    where P2_QUERY is Select list item,

    Kind regards

    Kevin.

    KevinFitz wrote:

    The displayed report region is subordinate to the point P2_QUERY is NOT NULL. I guess that the region appears not is because the Action for the select list item is set to None, and so P2_QUERY is always NULL.

    No, the region does not appear because it is subordinated to the P2_QUERY being NOT NULL. This means that the region of report never exists on the page displayed in the browser, so it cannot be updated dynamically. (Dynamic updating is not to evaluate the conditions of the region, and she makes only the content of the report, not the whole region again).

    Remove the condition on the region to report, check the update works and then go back on what exactly are the requirements here. If you want to the area appear only when P2_QUERY has a value, and you want it to be regenerated without submitting and reposting of the page, the region must then be hidden rather than conditionally restored and shown via dynamic when action P2_QUERY Gets a value.

    I tried to add a further Action for the event real value DA but has been a mistake, as stated above,

    All irrelevant if Page to submit items on the region is used correctly.

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

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

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

    My request for my report is:

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

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

    Thanks in advance!

    John

    Create dynamic Action:

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

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

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

  • Weird problem with the width of the selection list

    4.1.1

    Hello

    I got a selection list filter that has three values null, Y and n. based on what the user selects a tabular presentation is filled with data that also has a list of selection.

    Now, earlier, I had only two values Y and N in the selection filter, and according to the selected option list, select tabular list would be filled as well as other areas. Select the 'tabular forms' list for all lines are the same width. When I added the Null value option in, select the filter, now the tabular form displays all of the values, however, the selection list is of different sizes according to the length of the text.

    I put in the CSS Style of the selection list - width: 20px

    I also tried the option element width, but still no luck, when I select Y or N to the upper filter select, selection lists appear correctly with the same width.

    No idea what could happen?

    Just to confirm, the problem is with the width of selection tabular list.

    Thank you
    Ryan

    ryansun wrote:
    4.1.1

    Hello

    I got a selection list filter that has three values null, Y and n. based on what the user selects a tabular presentation is filled with data that also has a list of selection.

    Now, earlier, I had only two values Y and N in the selection filter, and according to the selected option list, select tabular list would be filled as well as other areas. Select the 'tabular forms' list for all lines are the same width. When I added the Null value option in, select the filter, now the tabular form displays all of the values, however, the selection list is of different sizes according to the length of the text.

    This seems odd. Can you reproduce this on apex.oracle.com? What browser do you use?

    I put in the CSS Style of the selection list - width: 20px

    I also tried the option element width, but still no luck, when I select Y or N to the upper filter select, selection lists appear correctly with the same width.

    No idea what could happen?

    All functionality of another column using the column Standard report basically, means the "CSS" Style property is not applied (see, for example: {: identifier of the thread = 1001577}), then the attributes of the element, link attributes etc. should be used.

    Tabular controls, to use the standard approach of HTML attributes. Come in

    style="display: block; width: 200px;"
    

    in the property of the attributes of the element.

  • Microsoft SQL Server 2014 (SP1 - CU4) (KB3106660) query failed with error ORDER BY items must appear in the select list if SELECT DISTINCT is specified.

    Hello
    I use Microsoft SQL Server 2014 (SP1 - CU4) (KB3106660) Enterprise Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1)

    SELECT DISTINCT A.PI_LOOKUP_CATEGORY_ID,
    REPLACE (REPLACE (UPPER (A.LOOKUP_CATEGORY_NAME), ' ', '_'), '-', '_') AS CATEGORY_TECH_NAME,
    A.LOOKUP_CATEGORY_NAME,
    A.LOOKUP_CATEGORY_DESCR,
    COUNT (B.PI_LOOKUP_CATEGORY_ID) AS USAGE_COUNT
    FROM [PI_LOOKUP_CATEGORY] A LEFT OUTER JOIN B [PI_INSIGHT_COLUMN] WE
    A.PI_LOOKUP_CATEGORY_ID = B.PI_LOOKUP_CATEGORY_ID
    A.PI_LOOKUP_CATEGORY_ID GROUP,
    REPLACE (REPLACE (UPPER (A.LOOKUP_CATEGORY_NAME), ' ', '_'), '-', '_').
    A.LOOKUP_CATEGORY_NAME,
    A.LOOKUP_CATEGORY_DESCR
    ORDER TO REPLACE (REPLACE (UPPER (A.LOOKUP_CATEGORY_NAME), ' ', '_'), '-', '_')

    above request is failed with error ' ORDER BY items must appear in the select list if SELECT DISTINCT is specified. " Microsoft SQL Server (SP1 - CU4) 2014 (KB3106660)

    same query works fine with older versions of SQL servers like (2008R2, or 2012)

    Please let me know the resolution of this problem...

    Thank you
    Touria

    Ask here:

    MSDN - SQL Server - Microsoft forums

  • Windows will not honor "always use the selected program to open this type of file."

    When I try to open a file *.img using 'open with... '. "I get a window of"Leader Type Helper"asking what software I want to use.  I have check "open this file using a software program (sic) that (sic) is already installed."  This very unnecessarily opens another dialog box titled 'open with' * Sub * the files already browser window fill the screen while I'm not yet aware that the box is here.  Having managed to find, I choose "7-Zip File Manager" and click on the box always saying "use the selected program to open this type of file", and then click OK.  This opens the file using the selected program, as you wish.

    However next time I try to open a *.img file, I again get the window "Help file of Type" and must go through the whole process again.  (By double-clicking on the file shows "Windows Disc Image Burner".)  Why don't Windows 'always use the selected program' like I asked?  Windows is aware that I have chosen before, because it is considered to be the only 'recommended program' in the 'Open with' dialog box  Thanks for any help!

    Care to try another tool?  This small utility can help: http://izt.name/apps/types/

    You will find the file type in the list of icons (.img files, then), and then to change what he uses to open the file by clicking on the option 'open' and edit the properties.

  • inadvertently, click "always use the selected program to open this type of file" how undefault and redo icon to the icon of white empty file?

    I accidentally click "always use the selected program to open this type of file" on the srt file. How to make it undefault and again the icon to icon file empty white?

    You can do this via a registry change, but it is more appropriate for a typical user to simply use the system restore:

    System restore

    Ever wished that you can go back in time following a bad fall? With Windows, you can.

    Installation sometimes a driver or a program can make Windows run slowly or erratically. System Restore can return programs and system files from your PC to a time where everything worked, potentially prevent hours of troubleshooting of headaches. This will not affect your documents, images or other data.

    In Windows 7, you can create system restore points more and see exactly what files will be deleted or added when your PC is restored. For more information, see create a restore point.

    For more protection, use the restore system backup and restore, which is designed to help save email, photos, documents and other personal files.

    To use the system restore

    Before you start the system restore, save open files and close all programs. System Restore will restart your PC.

    1. Open system restore by clicking the start . In the search box, type restore the system and then, in the list of results, click on system restore.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    2. Follow the steps in the wizard to select a restore point and restore your computer.

      For more information, see System Restore: frequently asked questions.

    In Windows 7 system restore can prevent headaches hours after an accident.

  • Tabular returns lines based on the selection list

    Howdy-

    An element of the selection list is used to select a job title.

    The tabular presentation returns lines of documents to be considered annually by the title of the post.

    A single column in a tabular form (the number of the document) is defined as a link so that the user can open and read the document.

    It works beautifully.

    But...

    Some job titles return a row of five documents, still others return more than a hundred, so when paging is used to move to the next set of lines in tabular form, updates the selection list and the selection is lost.  I have the Page Action selection list element when the modified value to Redirect and set the value, but the Type of Source is static that may be my problem.

    How can I use pagination while maintaining the value of the selection list?

    Thanks in advance.

    Alexandra

    Request Express 4.2.2.00.11 (by the way, I don't have our network administrator do a update to this version?)

    the value of the default selection on a hidden item list. When you select from the drop-down list, set the item also hid from the selected item.

  • PLSQL code in the selection list

    My query is:

    I have a room list of table names that contain information about the rooms

    capacity seated

    name of the rooms are fetch in the select list: P1_ROOM_NAME that returns the id of the element room hidden

    : P1_ROOM_ID that is used for the third Select: P1_NO_OF_PARTICIPANTS

    I get the error message by filling: P1_NO_OF_PARTICIPANTS

    NO DATA FOUND AND I LIKE INVALID VARIABLE

    I know some people found data are due to: P1_ROOM_NAME IS NOT SELECTED first

    the loading of the page.

    Any idea for the request to: P1_NO_OF_PARTICIPANTS

    sample data and used queries

    create the table room_list

    (number of room_id,

    room_name varchar2 (100),

    sitting_capacity

    );

    insert into room_list values(1,'a',3);

    insert into room_list values(2,'a',1);

    : P1_ROOM_NAME

    SELECT ROOM_NAME, ROOM_ID AS DID R

    OF ROOM_LIST

    To select the list I used

    : P1_NO_OF_PARTICIPANTS

    Lov used cascading point P301_ROOM_ID

    DECLARE

    l_sitting_capacity varchar2 (50);

    Start

    SELECT SITTING_CAPACITY from l_sitting_capacity

    OF ROOM_LIST

    WHERE ROOM_ID =: P301_ROOM_ID;

    BECAUSE me IN 1.l_sitting_capacity

    loop

    RETURN

    "I select as view, I like back"

    the double ';

    end loop;

    end;

    Hi Reema,

    ReemaPuri wrote:

    I wanted to show the numbers in the list of values up to not passed as a parameter.

    for example

    If the capacity is 3 then lov it should show 1,2,3

    Try this example

    SELECT LEVEL AS D, LEVEL AS R
    FROM DUAL
    CONNECT BY LEVEL <= (select 3 from dual);
    

    Here, instead of Select 3 of double replace your query giving you room capacity

    Hope this helps you,

    Kind regards

    Jitendra

  • Reset the value of the selection list

    APEX version: 4.2.2

    I'm fighting to implement a solution to reset the value of an element from the list of selection on a page in my application.

    I currently have about 4 pages in my application with a level of tabs with every page on its own tab.

    I have a report of Emp page that lists employees. The page contains an element of selection list for emp_no who submits the page when the value changes. The query for the list of selection queries the emp for name and emp_no table. It has:
    Display additional values: Yes
    Display Null values: Yes
    Display NULL value: all THE
    Return NULL value:
    (no value for the return NULL value)
    Page, in itself, works the way you want. During the first visit to the page, EVERYTHING is selected and the report shows all the EMOS. If I select a specific employee, the page refreshes with just this employee.

    On the Main page is another employee list report. The report has a link between the employee id column and the Emp report page. The link sets the value of Emp.emp_no to the value of Main.emp_no. It works very well so if I take emp hand 123, 123 shows Emp.emp_no and the report shows that retail for emp 123.

    The problem is when a specific employee has been selected previously from the homepage or the Emp page and I click on a tab to another page, say the status tab / page and then click on the tab of the page of the Emp. The current behavior of the page, is that it continues to show some used was previously selected regardless of how it has been set, either Emp or to the homepage page. I want to reset select Emp.emp_no ALL (or null) if I navigate to the page of the Emp to any other page except hand or Emp itself.

    I searched through the forums and tried to use processes at the level of the page and after region to reset the value of Emp.emp_no, but nothing has worked. I believe there is a 'simple' way to do it that doesn't require coding on each page to set Emp.emp_no on a null value before calling it.

    I would like ideas on solving this seemingly simple task that has managed to escape.

    Thanks in advance.

    cagora

    Use a query in your link for filtering the selection list. Create a compuation on the definition page of the selection to NULL list if the request is NULL > PL/SQL Expression >: APPLICATION IS NULL. In this way, you can check the list of selection gets nulled while accessing the page normally.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    https://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • The selection list value does not change when the page is sent

    Hi all

    I have a selection list that acts as an entry for the report. the page is submitted using a button.
    The button uses the branch option "redirecting to page in the application. I select the same page.

    The problem is when I change other values in the value list always takes the first value

    I want to know if the problem is with the key or select list. What should I do about it?

    Concerning
    REDA

    Renon wrote:

    I tried your suggestion. Now that I ask, is the report is expected to show only when the button request is passed. I read to present the action of page the name of the button acts as a request.
    so now my report status is request = Expression1 and value of expression1 takes GO tell button name.

    The report does not appear but. I checked the session. It has the value of the selection list and the page is submitted as but the report is not displayed.

    ASK is disabled before the exposure treatment page unless it is set in a branch or a URL, this is why it has no value when they are referenced in your State in the region.

    Set the attribute request in your branch for & request to make available at the course to see the page the current value of the demand for treatment.

  • Conversion of the year in YYYY format to return to the selection list

    With Apex 4.1.1 on Linux (Apex Listener on glassfish)

    I have a table with the dates of weekend and use this table for like my LOV.

    The selection list appears as 12-SEPT-12 when I check the value attribute of Firebug. Problem is that it comes as year 0012 instead of 2012 when I try to use it in my PL SQL code to save it in a table.

    Is there a way I can get the return value for the year in YYYY format for the return value to the selection list? Have you tried to_date (dt, ' MON-DD-YYYY "") with no luck.

    See you soon.

    All APEX session state values take place as VARCHAR2s. Explicit conversion between DATE using the specified formats values is recommended. Converted to a VARCHAR2 in the LOV query:

    select to_char(week_ending, 'DD-MON-YYYY') l, to_char(week_ending, 'YYYY-MM-DD') v from ...
    

    and to this DAY in the PL/SQL code of process:

    ...to_date(:p1_week_ending, 'YYYY-MM-DD')...
    

    I'm trying to standardize on the use of ISO 8601 representation of date not displayed values. These are unambiguous, sort correctly by using the semantics of character and are compatible with other systems and technologies.

Maybe you are looking for