Popup LOVs... where's the search value?

Someone had a bit of luck to dig into the background of the popup LOVs?  Here's a question I'll try to find the answer to.  I have half of the answer, but not all.

We have an external system that provides real-time data via webservices.  Our goal (and we did that day no problem) is to consume the XML response from webservice with PL/SQL and then turn us these data into pipeline of what looks/walks/talks like a table or view using functions.  The point here is to make these data available to Apex for various things, including the popup LOVs built on the pipeline functions.

The challenge is that some Web services provide a large amount of data (for example, a list of parties, who at this moment in our dev environment is only about 16 K records, but as we move forward, we know that these data grow to be a good lines 118K or more).  Already at just 16K records, it takes a good 30 seconds for questioning.

Popup LOVs of apex seem to be based on the model that they perform an implicit request by all reviews and then apply the filter on the value of research (if there is a value entered).  It is very good for LOVs against standard tables and views, but on larger volumes of data to a function in the pipeline against a data source that is out of our control... not very good.

We made a functional decision on some LOVs (such as a list of 118 K coins) that any user in their right mind really never would come into such LOV and simply browse through the records.  They would already have an idea of a reference number or description of the part they would search by.  Our strategy was so to the LOV follow these steps:

1 return at any line if the user did enter no search criteria.

2 manipulate the LOV dynamically if the user did enter search criteria such as the result is * pre set * filtered first through the webservice (it accepts input parameters).  This greatly improves performance and so far we have work * for Apex regular page elements * but not for tabular forms (which is where my question arises.

Here is an example of such a definition LOV:

RETURN ext_parts_util.get_parts_lov_sql (p_search_val = > apex_application.g_x02);

By trial and error, we have found that when the user is in the popup LOV and enters data in the search field and click the "Search for", the value they use to search land behind the scenes on the server in apex_application.g_x02.

Thus, within this service, we return a SQL string that looks like one of two things:

1. If apex_application.g_x02 is null, we return to this (a dummy SQL statement that returns no rows):

Select "," Ruy where double 1 = 2.

2. else (there is a search value), we call our webservice in pipeline function and pass it apex_application.g_x02:

Select part_number d, part_number table r (my_package.my_function (p_part = > '%' | apex_application.g_x02 |)) '%'))

The pipeline works calls the Web service and passes the value of searching with wildcard characters of apex_application.g_x02 and the Web service itself filters the data down, ahead.  This improves performance greatly for us.

Now, here's the problem and the real question... above fantastic work for Apex points page.  But for a popup LOV in tabular form, it's a no-go.  In a tabular presentation, the popup LOV apparently differs significantly.  The search does not value land in apex_application.g_x02 in this case, and we not were able to know where it ends.  Popup LOVs in tabular forms also lack other declarative features (Don't they always with tabular forms, which appear to be three releases behind the common page elements?)  GRRRR...) popup LOVs such as what makes them not get the first set of rows, etc then we can even use it to help discourage a wide open query.

Has anyone found where the search for value in a popup LOV in a sub form of table for the back-end that happens? Bottom line, this is what we are looking for so we can define these SQL LOV to refer to everything that is instead of apex_application.g_x02.

He got after all.  I got to work with a DBA who could clear the SQL area and then watch as I performed a search in the LOV.  Example:

SQLT AND EXECUTIONS

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

Select 1 37.371843 / * generated * / D, R) (select

PART_NUMBER | ' -- ' || part_description d,

PART_NUMBER fofes_ext_parts_v r)

wwvlovinlineviewname where upper (D) as

'%'|| Upper(:WWV_LOV_RETURN_KEY_UTIL_1111) | » %'

It seems that the value in the search LOV popup on a tabular presentation of the land into a link called "WWV_LOV_RETURN_KEY_UTIL_1111" variable

Tags: Database

Similar Questions

  • Popup lov to return the display value instead of the value of "return"?

    I have the popup following LOV (retrieves the first set of lines and filters)


    SELECT empname d, EMPLID R
    X
    WHERE OPERATING_UNIT =: P1_OU
    AND DEPTID =: P1_DEPTID
    Union
    SELECT "there is no list" d, r null
    OF THE DOUBLE
    WHERE THERE IS NO
    (SELECT 1
    X
    WHERE OPERATING_UNIT =: P1_OU
    AND DEPTID =: P1_DEPTID);

    I want the popup to show "there is no list" If the sql returns no rows, indicating to the user to change their selections for P1_OU and P1_DEPTID. However, when I try to test it in the Apex, if the user selects this message, null is not returned to the form, instead, the text of the message is returned. Is there anyway I can make it work properly? I appreciate the help. Thank you.

    Suni

    Published by: suni1 on February 19, 2010 12:43

    You can put in a position to submit the calculation for your LOV as element that is your LOV = "there is no list" then put it to NULL w/PL/SQL

    CASE WHEN :My-Item != 'no list exists' THEN :My-Item ELSE NULL END
    

    -Bob

    Published by: Bob37 on February 19, 2010 16:06

  • 1 - where is the search function to find the authors muse a list?

    1 - where is the search function to find the authors muse a list?

    Hello

    Regarding your first question of the creation of a search box in your site from muse, please see this forum post:- Re: how to create a search box in MUSE?

    In addition, you can use different widgets available on Adobe Exchange .

    Now, regarding your second please can question of the creation of a bulleted in Muse, you these tutorials:

    Adobe help Muse | Bullets and numbers

    Bullets and lists numbers | Adobe Muse CC tutorials

    Now, it seems that the Muse version you are using is obsolete and it is possible that you might not find these features in it. I would ask update you your Muse to the latest version 2014.2 using the CC desktop application to take advantage of all these features. Please refer to this screenshot:- http://prntscr.com/55uvs9

    Hope this helps

    Kind regards

    Rohit Nair

  • Lov popup when select change the item values

    Hello

    I have a Lov Popup to select cities, once I've selected one city, he must find the departmental and national names to display on the fields "view only".

    I tried to create dynamic Action that fires on 'change' to my Popup Lov and run this code:
    DECLARE
      V_UF UF_ATM.SIGLA%TYPE;
      V_PAIS PAIS_ATM.DESCRICAO%TYPE;
      CURSOR C_CIDADE IS
        SELECT U.SIGLA UF_SIGLA,
               P.DESCRICAO PAIS_DESCRICAO
          FROM PAIS_ATM P,
            UF_ATM U,
            CIDADE_ATM C
         WHERE U.ID(+) = C.UF_ID
           AND P.ID(+) = U.PAIS_ID
           AND C.ID = :P9_CIDADE;  
    BEGIN
      OPEN C_CIDADE;
      FETCH C_CIDADE INTO V_UF, V_PAIS;
      APEX_UTIL.SET_SESSION_STATE(':P9_UF', V_UF); -- I already tried :P9_UF := V_UF
      APEX_UTIL.SET_SESSION_STATE(':P9_PAIS', V_PAIS);
      CLOSE C_CIDADE;
    END;
    Is there a "correct" way to do it? What Miss me?

    Thank you
    Alan.

    Hello

    OK - I added another page to my sample application: http://apex.oracle.com/pls/apex/f?p=56976:13

    Dynamic action would not work because the value that changes is in a hidden item - P13_EMPNO * _HIDDENVALUE * and you can not target it in Action.  I used jQuery to attach an onChange function instead.

    Andy

  • ADF LOV-> UI: main table showing the fields ID and not the search values

    Hello
    I am very new to the development of the ADF and will have a simple question that I can't solve.

    Using Oracle JDeveloper 11.1.2.0.0 I create my views and objects of entity without incident. I have an entity object that has several "search values" (these are all optional references to foreign keys to tables 'children'). Objects and relations are perfectly mapped the ADF.

    In the views of child object I created the list UI tips
    -Type: Combo box with list values
    -the "selected" column is the "description" of the research

    in the editable display object, I traced the fields 'id' to use the predefined LOVs.

    This works as expected in the user interface, I created with an ADF table can be updated.

    However (here's the noob question), the "id" is displayed in the search on the table column. When I click the menu drop-down I can see the description, etc, but for a professional user when they look at the table, they see an unfriendly identification number.

    How can I get the part of the LOV display to show the description, while remaining linked to the ID of the parent entity.

    for example, it shows
    Country             LOV1        LOV2     LOV3
    United States     15           18           2
    while I want to display:
    Country             LOV1            LOV2       LOV3
    United States     Washington  Seattle     Rain
    If this has been answered several times or walk through there, sorry for the redundant question, I simply can't find a solution!

    Hello

    There are several ways to do this, you simply need an additional outputText next to the lov component field to display the value of the description.

    If you search the forum or adf blocks, you'll find several implementations.

    And here's one: http://andrejusb.blogspot.com/2010/06/lov-description-text-with-groovy.html

    Gabriel.

  • From popup LOV filling of the other LOV

    How to dynamically fill the LOV based on the value selected previously.

    ex:

    P1_ITEM:

    Type: POPUP LOV

    List of values definition: select deptno, deptno retired from the Department.

    P2_ITEM:

    Type: POPUP LOV

    List of values definition: select empno, empno ret from emp where deptno =: NVL(:P1_ITEM,deptno)

    Version: 4.2.2

    Hi PT,.

    Make sure first that your second item LOVs query contains your P1_ITEM somewhere in the where clause is dependend.
    Then add an onchange dynamic action when P1_ITEM changes your first action is to PL/SQL:

    Code: NULL;

    Items to submit P1_ITEM

    Then add another action that refreshes your 2nd article.

    Kind regards

    Joni

  • Popup LOV does not return a value in editable tabular report

    I'm having a problem with a Popup LOV in a report updated in table form. When you select value, the popup remains and the value is not returned to the element. I guess that's because the popup does not know which element to fill? I don't know how to fix.

    [http://apex.oracle.com/pls/otn/f?p=4000:1500:1011573666262225:NO:]

    workspace: csd_apex_demo
    user name: demo
    password: demo
    application: 35976 - Jason demo
    page: 3-1 report

    Thank you

    Jason

    Looking more closely, I see that you mix display_and_save with popup_from_lov. The p_item_id parameter seems to have no effect on the generated javascript code and I think that javascript doesn't work, but not like you might expect. If you use Firefox with Firebug you can inspect the items and watch what happens when you click on an element of the pop-up window. It is by the way of the return value, but it is stored in the first element of display_and_save line which is a named element f08 hidden. All the items are named f08 in this column as a result of your use of the p_idx = 8. But the javascript code to handle the valve of the popup is generated once and so is assuming that it is zero array position. He uses the name attribute and no id and I suspect that it is followed by the line number in their own country (IE in the popup_lov procedure).

    I don't see how to change the way the javascript code generated here then perhaps another solution is needed. I guess that display_and_save is used here so that you can coordinate the f08 array that is posted, but there is no process here "send" to confirm that this is your intention.

    If you remove the display_and_save and just see the 'reason' the works of popup. If you change the popup to something other than p_idx = 8 it will work also. But now we must find a way to align the line ID is displayed.

    There are several ways to coordinate the shipment but they will in part depend on if you want to display only one line of a popup lov field or several lines. I would like to know where you go and I can help you set up the form and submit processes.

    Greg

  • Cannot change the search values

    Hi friends,
    I'm trying to restrict the values of "Extensible" search lookup_type "CONTACT". But I'm not able to disable certain options. Someone will suggest how it can be done. Not only by disabling but I also plan to add the values of tag for them.

    Advice or suggestions will be useful

    Thanks in advance

    Hello

    We had the same kind of requirement, ideally the system does allow you to disable or end date of the standard values in the CONTACT search. Please follow the steps below to run:

    1. go to the application-> research-> Common developer
    2. the query 'CONTACT '.
    3. click on the level of access 'user' several times
    4. navigate to help-> Diagnostics-> review-> field = CUSTOMIZATION_LEVEL
    5. change the value in "U".
    6 save
    7 re - question research CONTACT
    8 disable the codes you want to disable, and save.

    The only risk you have here is that in the case of a major update HRMS if oracle starts with her do replace your changes and you need to repeat the same thing. It will be useful.

    Thank you
    Sanjay

  • Where is the Alpha value option?

    Hi anyone knows where the Alpha value?  Is not see the upward in the Properties menu.  Any ideas?

    I'm trying to animate and opposition to fade to similar to this walk through.  CS flash 5 appears to be different.

    http://www.smartwebby.com/Flash/fade_in_fade_out_effect.asp

    Click on 'Windows' in the menu and the menu drop-down select menu properties down.

    Now, select the symbol that you want to change the alpha value

    If this is a clip of moving, you will find control alpha in the color-> Alpha effects

    If it is a form that you will find the alpha with Color picker control

  • Pro 100 ICC profiles - where are the default values?

    Hi there - I can't believe I'm asking this, but just had to replace an old mac & just cannot figure out how to get the default ICC profiles for the PRO-100? Downloaded the CUPS driver and all other garbage on the site Web of canon and zilch in profiles. Nothing for Canon papers. All 3rd party are thin and easy to handle, but where do you download Canon Communications?

    The internet search just says they should have installed automagically...

    Thank you

    If you install the driver on the Canon Web site, you will get the Canon profiles installed.

    When you added the printer through the System Preferences window have you added the printer version IJ or Hello?

    You want the version IJ. When you click on the + to add a printer, it might take a little time - usually the Hello version appears first.

  • Where is the "search for the command tool '?

    Hello

    Can someone tell me where the "the command search tool?

    Thank you!

    Best regards, Tom

    In my view, it has been replaced by this page of 'help '.

    http://www.Cisco.com/c/en/us/support/Web/tools/help/command_search_best_practices.html

  • Where is the search page for firefox ios tool?

    I can't look for words / phrases on a webpage with firefox ios. I see not the tool or firefox omitting an essential part of this app?

    It is not yet part of Firefox for iOS. I know they're working on Add. No timeline yet.

  • Issues Popup LOV

    4.1.1 forms

    Oracle 10g

    Windows

    20 of Firefox

    I have a form region that has a Popup LOV. Since this region is used by different pages, that it is set up on the Page 0 and the item source type is static. The value is assigned through process. Because I don't want the user to enter data, I put the Settings entry field as entrable not, see the display value and store Return Value. If I select in the popup LOV, it shows the display value. But if it is assigned, or used a value by default, it is not displayed. For a new line, I want the default name of the employee current user (based on the number of employee registered in a part of the application); I tried a dynamic action and a process, and none of them worked. If it is an existing line, I does not display the name of the employee according to the number of employees registered in the database (which assigned its thanks to a process) correctly. Why the value is not currently running for a new line?

    Can someone please?

    Robert

    http://apexjscss.blogspot.com

    I fixed the problem (I think!). I have to do a few tests more. It is in the logic of the process. I had to put a block begin around the SELECT statement so that the flow after the exception will go to the next statement.

    Then... Never mind.

    Robert

    http://apexjscss.blogspot.com

  • Cannot change PopUp LOV width and height in version 4.2.5.00.08. I change the values of 450 400 in the Popup list template values (Section of the window), but my function genList0_f07_$ _row (), retains the same settings. Is this a bug?

    Hello

    I use APEX 4.2.5.00.08 to my app.

    I have a region of reports, where I display a column set. A column is the column attribute "display as" the value 'Popup LOV (LOV based query).

    I press the button to retrieve the LOV, I get a popup of 450 x 400 pixels.

    I go to the side of the model and navigate to "Popup list of values of model", where I can see in the section 'Window' attributes 'Width' and 'Height' value 450 and 400. I edit them and save them and there is nothing going on. I'm sure that the template belongs to my selected theme.

    I saw in the HTML source code that is the called function:

    <!--


    function genList0_f07_$ _row)
    {
    w = open ("wwv_flow_utilities.gen_popup_list" +)
    « ? p_filter ="+
    "& p_name = ' + escape ('f07') +.
    ' & p_element_index = ' + escape ('0') +.
    ' & p_elem_id = ' + escape ('f07_0000').
    ' & p_form_index = ' + escape ('0') +.
    ' & p_max_elements = ' + escape ("") +.
    ' & p_escape_html = ' + escape ("") +.
    ' & p_ok_to_query = ' + escape ('YES').
    ' & p_flow_id = ' + escape ('114') +.
    ' & p_page_id = ' + escape ('100201') +.
    ' & p_session_id = ' + escape ('16021544706004').
    ' & p_eval_value = ' + escape ("") +.
    ' & p_translation = ' + escape ('NO') +.
    ' & p_lov = ' +.
    ' & p_lov_checksum = ' +.
    ' & p_item_id = ' + escape('-683997768') +.
    ' & p_column_id = ' + escape ('25022622060292812'),
    "winLov,"
    "Scrollbars = 1, resizable = 1, width =400, height =450"); "
    If (w.opener is nothing)
    w.opener = auto;
    w.Focus ();
    }
    ->

    I see that the values has not changed. I also connected and disconnected. I am inclined to believe that it is a bug of the APEX.

    The only solution I think is to replace this function, which is NOT ideal.

    Thank you

    Digital

    The parameters are generated only, nothing you can do about it because it does not use the model for these properties of the couple. Other things work fine for example the names of button or title window etc. I guess that, Yes, it is a bug. It's still there in the apex 5 too, I checked. The default values of the template do not match, the value in the generated code is always 400/450. So I guess it's pretty much a wait on 5.1.

    Here's a fun hack to make it work well on your page (works in apex 5 too, because the code is always the same). Put this in the execute on loading of the page section:

    (function(){
      var _open = window.open;
      window.open = function(){
        if ( arguments[1] === "winLov" ) {
          arguments[2] = "Scrollbars=1,resizable=1,width=500,height=700";
        };
        return _open.apply(window, arguments);
      };
    })();
    

    Change the settings to your liking. This will replace the existing window.open call, which is what the popup lov use and replace it with our own code. It does not interfere with other things. As the name of the new window is always "winLov" for the popup lov, it is the argument that is checked.

    During the call to window.open to open a new window with the name "winLov", parameters are replaced with your own version of it. The window is called as usual, using the stored reference.

    Edit:

    Yes, do not use the trick of resizing. My hack can be a bit tedious, but it's much less invasive for the end user (see open, bam, resize. "Even gets funky on multiple monitors). Also, this thing in the popup lov template will affect each lov popup that you use in the application, which is much less interesting than my specific page code.

    Edit2:

    I did a little digging in the source code, and I don't know why it does not work. Popup lovs are actually equipped to deal with it. My guess is that the parameters are recovered only after that the lists were generated, causing the package variables global to use their default values instead of model parameters.

  • Submit after selecting the value of Popup LOV

    Anyone know if it is possible to make the Popup LOV behave as the list select and resubmit the page after selecting a value?

    The Select list has an additional attribute in properties named "Page Action times changed value". One of the options for this attribute is "submit Page". This attribute is not available for Popup LOV, but I would like to be able to create the same behavior. The number of values that might be returned for this article is too many to use a Select list...

    I think I might be able to add a bit of Javascript somewhere and do a "onChange.submit ()" or something like that, but I'm not sure of the syntax, or where to put it.

    Any help gratefully received...

    TIA,
    Eric

    Hello Eric,

    Create a "dynamic Action" that fires when the value of Popup LOV is changed and set the Action to "submit Page".

    Thank you
    Machaan

Maybe you are looking for

  • iPad actions affect also the imac

    One of our ipads works very slowly (it uses IOS 8.0.2) and I thought I want to clear the history/cache to see if that would help to expedite. It didn't, but what I also found was by disabling the historic safari there navigation also allowed on our i

  • Cannot install KB972363, KB973709, KB972581, KB974234, KB974810

    I'm running Windows 7 x 64 Ultimate and so far have had no problems. But just recently my WindowsUpdate fails on these updates constantly w / no way around them. I tried to download the update packages and install them manually without success. I als

  • Task Scheduler: repeat / duration does not work

    Hello On Windows Vista Business SP1. Create a task in Task Scheduler to run every day, repeat every hour, for a period of 12 hours. It runs * every * hours (i.e. throughout the entire day). Google search (or I'd be Binging?) the issue seems, several

  • Set the SPA3102 PSTN

  • How to hide the sim 1 &amp; 2 Xperia Z3 double icons

    I have Xperia Z3 D6633 double lollipop 5.0.2.How to hide the sim 1 & 2 status bar icons and save more space for other APA as a player, WiFi, alarm, calendar...?I turned off the State of the battery with the endurance and the percentage of the cause o