Popup LOV with Submit

I'd like to use a 'Popup LOV (first rowset)', but that requeries my form content like a 'Select List (with submit)'. Any suggestions?

Any new developments with this thread?
I am trying to do the same thing: have a Popup LOV (display description, return key) that submits so that a second Popup LOV can display dependent on the value selected in the previous Popup. The initial list can be HUGE so the searchability built-in to the Popup is essential.
I've tried the javascript suggestions onFocus=javascript:doSubmit() (also event of onChange) in the first item element attributes and created a branch but it's not working. Perhaps I'm doing something wrong?

Similar Messages

  • LIST MANAGER - Replace popup lov - with stationary scrollable box

    Sorry... I thought this was Oracle 10g XE form...could you direct me to right form.
    LIST MANAGER - Replace popup lov - with stationary scrollable box...
    The end result would be: 2 scrollable list boxes separated by the word ADD / REMOVE. One to select from and the other box to act as collection box
    The popup LOV is quick and fast ..but is a little time consuming
    Oracle 10g XE
    Message was edited by:
    user518110

    Hi user518110,
    1) please update your forum handler to a more friendlier name.
    2) I think your are looking for the Shuttle component in Oracle APEX, like on the following page http://apex.oracle.com/pls/otn/f?p=2672:2
    If you are using Oracle XE you are probably using Oracle APEX 2.1, you have to upgrade this version to Oracle APEX 3.0 which contains this new control. See http://www.oracle.com/technology/products/database/application_express/html/3.0.1_and_xe.html for details.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • LOV with Submit/Redirect

    Hi there,
    I have a form based on a table that contains several Select LOV's with Submit and I have set everything to only go to source if value is null etc.
    The form works without errors.
    My problem is however that if I change/make a selection using one of these select lists and the select list is quite a way down the page, I have to scroll down again to see the value I have just changed because the page re-renders back to the top which starts to get annoying!
    Does anyone know how I can submit/redirect my page and have the screen return me to the position where I triggered the redirect/submit from?
    Any suggestions gratefully received.
    Except any suggestions saying I should put the lov's at the top of the page!
    James

    Well done that man!
    Excellent.
    Thanks for the help.
    I downloaded your application and it looks superb! Lots of useful examples in there. I look forward to investigating it fully. However, I will point out that it doesn't work! I think that's because I am running version 2 not 2.2???
    The main thing is is that I can see the pages in edit mode so I can see how they work in principle even if they aren't working when running them.
    Thanks again for the tip.
    James

  • Popup lov with order by clause

    I created a form manually using the document from the url:
    http://otn.oracle.com/products/database/htmldb/howtos/tabular_form.html#MANUAL
    I used the following query from that document.
    select htmldb_item.hidden(1,empno) empno,
    ename,
    htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
    htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
    wwv_flow_item.date_popup(6,null,hiredate) hiredate,
    htmldb_item.text(7,sal,10) sal,
    htmldb_item.text(8,comm,10) comm,
    htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
    from emp
    This works fine.
    But if I add an order by clause to the query the popup key for mgr column doesn't work.
    select htmldb_item.hidden(1,empno) empno,
    ename,
    htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
    htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
    wwv_flow_item.date_popup(6,null,hiredate) hiredate,
    htmldb_item.text(7,sal,10) sal,
    htmldb_item.text(8,comm,10) comm,
    htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
    from emp
    order by ename
    Thanks
    Chandra.

    Duplicate post, see:
    popup lov in a report is not working if I have an order by caluse
    Sergio

  • Popup LOV with same display and return values

    Hi
    I have created a List of Value using the following query.
    SELECT partner_name display, partner_name return
    FROM partner_table
    WHERE partner_name is not null
    order by 1
    The above query returns around 3000 rows of data. This has been linked to Item as Popup Key LOV(Displays description, returns key value). When the popup is selected the values are not displayed, only "Row(s) 1 - 10" and pagination buttons are displayed.
    Could anyone please suggest me with a solution.
    Thanks in advance.

    Change the Next button label to remove the > character. This sounds like a familiar problem.
    Scott

  • Select lists empty or POPup LOV needed with redirect

    Hi all,
    I have a form where i need 6 select lists with redirect or 6 POPup LOV with redirects.
    These select lists are separated in three groups
    like this
    group 1
    departments select list with redirect
    employees popup lov (query based on the value of department)
    group2
    Order select list with redirect
    OrderItem popup lov but needs a redirect here for employees (query based on the value of countries)
    employees popup lov (query based on the value of department)
    group 3
    some status select list with redirect
    When I choose the first select list the popup LOV is populated with good values
    when i select a value from the second select list the value in the first list disappears, including the value of the first popup lov. etc.
    How is it possible to keep the values stored in the first selects list when selecting some value of the second list.
    How is is possible to make a popup lov with redirect so that the values are in session
    and can be used in another popup lov?
    Is someone there who have experiences with this issue?
    thanks in advance,
    Hugo

    Hi Hugo,
    I don't think that you need a redirect for that. Check out my AJAX cascading popup lov solution.
    http://inside-apex.blogspot.com/2006/11/generic-solution-for-depending-select.html
    Hope this helps
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

  • Dynamically load Popup LOV

    <p>I need to load a Popup LOV with values filtered by a previous selection in a standard Select List. I need to do it without submitting the page to place the filtering LOV's value into session state (I've got other things happening on submit). </p>
    <p>I've used Carl's cool AJAX solution for standard Select Lists. Is there a similar method that will work when the target LOV is a Popup?</p>
    <p>thanks, </p>
    Mark

    A select list (dropdown) is part of the page when it is rendered, that is why the AJAX stuff is needed to replace the dependent dropdown lists.
    With popup LOVs, it is much simpler because the popup LOV query is not run until you click on the popup icon.
    If the popup LOV query refers to session state (:P1_ITEM), all you need to do is set the session state using the AJAX snippet.
    Put onchange="foo(this);" into the HTML Form Element attributes of the first select list (say P1_ITEM) and use something like
    function foo(pSelect)
    var l_select=html_SelectValue(pSelect);
    var get=new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=null',0);
    get.add('P1_ITEM',l_select);
    get.get();
    get=null;
    }"null" is a on-demand Application Process that does nothing. A PL/SQL block with just "null;"
    That's it. Now when you click on the popup LOV, it will get the latest value of P1_ITEM in session state in its defining query.
    Hope this helps.

  • POPUP LOV'S BASED ON SQL QUERY

    Help! I am a beginner with APEX and SQL in general, and I need help with an issue I am experiencing. I've created a POPUP LOV with the following SQL statement:
    SELECT CLOCK_NUMBER || ' ' ||LAST_NAME||', '||FIRST_NAME D, EMP_ID R
    FROM MASTER
    The return value should populate the table, but instead it is returning to the report in APEX. If I choose a SELECT LIST based on a named LOV, it works. But unfortunately I cannot use a SELECT LIST, but I must use a POPUP based on a named LOV. Has anyone had these issues with POPUP LOV's? This is driving me crazy, and I'm sure I'm doing something stupid!
    Thanks!

    I've researched this quite a bit and it seems that this is a huge problem with APEX 3.1. Basically, I've created a tabular form. I have a column based on a LOV. In a tabular form, you DO NOT have the option of creating a PopUP..KEY..LOV, which would work for me, since it writes the return value back to the table. The normal PopUP LOV that you have the option of implementing on a tabular form does not behave like a PopUP..KEY..LOV, but it brings the return value back to the report (which in my case would be an employee_id, which doesn't work), and writes the display value back to the table.
    To add insult to injury, a regular SELECT LIST (based on named LOV) would work, however my LOV violates the buffer (which is 32k) and I get this error:
    report error:
    ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I've researched this error and there are about 10 to the 100 posts regarding it, especially when dealing with LOV's and select lists that violate the 32k limit.
    Any new fresh advice?
    Thanks for your response as well. I appreciate your time and any help you may offer.

  • Can I specifiy initial search for Popup LOV?

    I have a popup LOV in an updateable table that works great (thanks to help from this forum!).
    When the popup LOV first opens, I would like to have a default search pre-executed since I can predict the search the user will want to see initially. The search will narrow the records down to a handful of results which the user will need to pick from.
    Is it possible to popup an LOV with a search already executed?

    Hi Albowicz,
    I tried to adapt the popup template to do this, but there's more work then I thought.
    I would have thought that if I put into "Filter Text Attributes" of Search Field a value="<your initial search>" it would have taken that, but no. APEX doesn't see I entered that and will create an empty value="" nevertheless.
    But you can still use my idea, by adapting the popup template, by using javascript in the "Page Body Attributes", where you call a function that set the field to some value ( document.forms[0].p_filter.value="Dimi";).
    Alternative you may have a look how to create a custom popup page: Re: how to create popup LOVs with multiple columns and filters ?
    Hope that helps,
    Dimitri

  • Simple select list with submit solution

    hello,
    i read all the topics on select list with submit bottton but couldn't get it to work in my app.
    i have a form on a table( create with a wizard). i have 2 fields that i converted from text field to select list (first with submit and the second depand on the value of the first).when the 1 lov source type is db column then it can't save the value after the submit.
    when i change the first lov to somthing else and set the source used to "only when current . . " i get a null value in the table.
    how can i save the state of the first lov and still get the insert to work ? please guide me step by step .
    here is the first love definition:
    select cat_desc,catid
    from category_main
    order by catid
    the second lov:
    select cat_desc,catid_sub
    from category_sub
    where catid = :p36_mcategory
    the proccess is Automatic Row Processing (DML)
    thanks

    thanks for the answer
    i will try clarify my problem
    i create a form with a form on table wizard
    the desc table is
    bugid pk
    mcategory (main category)
    scategory (sub category)
    the mcategory,scategory need to be cascade lov so i changed what the wizrd created for me (text field) to lov.
    i changed the mcategory to lov with submit.
    i created a branch to the same page for the lov.
    when i run the app and change the mcategory the page submit but does not save the change.
    i also cant change the source used to "only when curren ..." because the source type is "db coulmn"
    thats my problem , i just want to create a cascade lov on this form .
    here is the example
    http://htmldb.oracle.com/pls/otn/f?p=19496

  • How to make one of the columns in my tabular an text item with popup lov

    Hello,
    I want to manually make one of the columns say for the deptno in my tabular form as on text item popup lov using apex_item package
    and whenever user clicks on the text item popup lov, it should open up an dept table report and from which he/she needs to select
    the deptno and this deptno should be returned into the text item popup lov column.
    like for example: say if i have an emp table tabular form with all the columns and deptno column as an popup lov and when user clicks on this column
    it should open up an new sql report(similar to popup lov window), the select statement for this would be
    select deptno,dname,loc from dept order by 1;
    And from this popup lov report whenever an user selects a particular deptno, the same deptno should be returned to my text item popup column in emp tabular form.
    something like this
    select
    "EMPNO",
    "EMPNO" EMPNO_DISPLAY,
    "ENAME",
    "JOB",
    "MGR",
    "HIREDATE",
    "SAL",
    "COMM",
    APEX_ITEM.TEXT(3,deptno,20,50,'readonly=true') || '<img height="16" align="middle" width="16" style="vertical-align: middle;" alt="Popup Lov" src="/i/lov_16x16.gif"/>' deptno
    from "#OWNER#"."EMP"
    like i made my column as an text item lov and now I want to write an onclick event for the text item lov so that an popup window is displayed which is a sql report of the table dept (select deptno,dname,loc from dept order by 1;) and in this report i want to make deptno as an link so that when ever an user clicks on it
    -- this value should be returned to my text item popup lov column deptno in the emp tabular form.
    can anyone help me out with this issue.
    thanks,

    Hi,
    Refer to the link for the detailed information on ALV Grid.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Hope it helps.
    Regards,
    Rajesh Kumar
    Edited by: Rajesh Kumar on May 25, 2009 9:13 AM

  • Issue with Popup LOV field not clearing out "default" value

    I am using APEX 4.0 & Oracle 10g
    I have a form that displays a default value on a "Popup LOV" field (say P1_POPUP) when the Form is initially displayed to the user. The default value is part of the Popup LOV list of values. If the field is "manually cleared" *i.e. I clear the default value by backspacing and don't touch the LOV) and I Refresh (submit) the form (REFRESH button to display the same Form again), the default value is still displayed.  
    In Post Processing, I debugged the value of P1_POPUP to see if holds the default value and yes it does. I was expecting no value in P1_POPUP.
    Is this an APEX standard behavior?
    Any way how I can get rid of this value on an manually clearing action of this Pop Up field?
    Looking forward for your response.
    Thank very much in advance.
    Ed.

    I apologize, the default value was NULL indeed. However, it seems like I may need to manually clear this value so that it will not be displayed.

  • APEX 4.0 - AJAX not working with Popup LOV field

    Hello,
    In the application I have built I have three fields which are 'feeded' by selects via a AJAX construction.
    All three fields are based on three others, which are PopUp LOV fields. Up to version 3.2 I had no problems: the fields were 'refreshed' as expected when in the 'parent' field a specific value was entered or choosen by the Popup Lov selector.
    But since the migration to APEX-4 (lin a test-system) all the three fields are not correctly refreshed anymore: two of them give the value 'undefined', the third, which is a select-list shows values, but at the moment I try to click on the select-list down arrow to pick a value, the list is emptied and stays that way.
    More specific about the third field:
    item 1 is a popup-lov defined item in which a user can type a value, but can also choose a value from a popup-lov. Item 2 is based on item-1: it does a select based on the value of item-1 and refreshes a select-list. Item-2 is defined as a select list.
    I got it all working when making item-1 also a select list, but since the list can become very large, I made a Popup lov of it. Most users do know what code they have to enter and in case somebody is not sure, the lov can be used.
    In this forum I came across a problem with AJAX callback, which was answered by Patrick Wolf, saying that in an htmldb_Get ( ... ,0) the last 0 should be replaced by $v('pFlowStepId'), but this did not fix my problem. I have the feeling that the problem is somewhre else, since on first hand, after entering a value in item-1 I see item-2 refreshed with the correct values, but the moment I try to select one item, the list is emptied.....
    I hope I made it clear what my problem is and that somebody can help me, else APEX-3.2 was the latest version for this application....
    Thanks in advance and best regards,
    Jan.
    Edited by: user13110728 on 9-aug-2010 8:44

    Hi Jan,
    the problem is the
    onBlur="javascript:f_P21_select_kostenposten(this,'P21_KOSTENPOST');"on P21_GBREKNR. This is getting attached to the HTML input text field but as well the the anchor link which opens the popup. So when you leave the text field the cursor will be put onto the icon to open the Popup LOV. When you press tab another time or leave the anchor link by clicking somewhere the above JavaScript function is fired again. But the problem is that "this" this time points to the anchor and not the text item anymore, so it will return an invalid value when you access this.value in your f_P21_select_kostenposten function which results in an empty result of your on-demand call.
    I still have to investigate why the above JavaScript code is now added to the anchor link as well. But as a workaround, just change your code to
    onChange="javascript:f_P21_select_kostenposten(this,'P21_KOSTENPOST');"which is better anyway, because it's just firing when the value really got changed. And because the anchor link can't really be changed, the event will never fire when you leave the anchor. BTW you can use the Application Search feature to search for all your onBlur events. onChange is much better than onBlur because it doesn't fire that often unintended.
    But if you want to use some of the new APEX 4.0 features, you could use the cascading LOV feature of APEX 4 and avoid all this JavaScript and on-demand code which you have written.
    I have changed your application to take use of it.
    1) I changed the LOV query for P21_KOSTENPOST from
    select '('||replace(lpad(gbreknr, 3, chr(1)),chr(1),' ')||') '|| omschrijving d, kostenpost r
    from   kostenposten
    where  vervallen is null
      and  bedrijf = :P21_BEDRIJF
    order by gbreknr, kostenpostto
    select '('||replace(lpad(gbreknr, 3, chr(1)),chr(1),' ')||') '|| omschrijving d, kostenpost r
    from   kostenposten
    where  vervallen is null
      and  bedrijf = :P21_BEDRIJF
      and  (:P21_GBREKNR is null or gbreknr = :P21_GBREKNR)
    order by gbreknr, kostenpostas it was in your on-demand process. The query will return all values if P21_GBREKNR is null but will restrict it if the field is filled out.
    2) Set "Cascading LOV Parent Item(s)" to P21_BEDRIJF,P21_GBREKNR Because based on your LOV query I assume "Kostenpost" should be refreshed if one of the two fields gets changed.
    3) Set "Optimize Refresh" to No because one of your parent items (P21_GBREKNR) can contain a null value.
    4) Removed the onBlur/onChange from P21_GBREKNR
    5) Removed the *%null%* from the "Null Return Value" attribute of P21_BEDRIJF, because that will cause a ORA-1722 if someone picks "-- kies: --"
    That's it.
    Have a look at dynamic actions and the "Set Value" action as well, because I think that could remove your other on-demand calls as well without having to write any JavaScript code.
    I will still investigate what's going on with the anchor link in APEX 4.0
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Problems with customizing select lists and popup LOVs

    Hi
    I have 2 problems about select lists and popup LOVs.
    The first one is about a select list in a tabular form.
    It should be created with APEX_ITEM.SELECT_LIST_FROM_LOV or similar and take its values from a named LOV.
    This worked fine but now it should also have the possibility to enter a free value.
    I tried to accomplish that by creating a APEX_ITEM.POPUP_FROM_LOV, but there is a problem with the function that is called by the arrow icon right to the input field (for eg. genList_f11_5()).
    If the row is added by addRow, then it works fine, but if the row is is not empty
    then the function call is like genList_f11_$_row() and the input field gets no value, when a LOV option is selected.
    The other problem is about a select list which should have the possibility to enter a custom value and
    also there should be the possibility to select several values. I tried to implement this by a text area containing the selected values and a multiple select list, with an event handler in each option. The user could click options and they would be copied to the text area. The problem is that I couldn't make the event handler work in IE.
    I would appreciate any ideas about either of these problems.
    Tiina

    Hi,
    If you download application you can see source.
    I have not write any instructions, sorry.
    If you are on Apex 4 you can just load jQuery UI autocomplete library and take ideas from my app.
    If you download my sample in zip there is uncompressed htmldbQuery library.
    You can see that and take only function htmldbAutocomplete.
    Then check jQuery UI document
    http://jqueryui.com/demos/autocomplete/#method-search
    There is method search that you can use open list just by click of input.
    I hope this helps at start.
    Regards,
    Jari

  • LOV with custom popup in af:query

    Hi,
    We have a use case where we need to display an LOV field in Search Panel (af:query). But, the LOV in Search Panel should be displayed with a custom popup.
    Is it possible display a field in Search Panel as input LOV with custom popup ?

    Hi,
    Is it possible display a field in Search Panel as input LOV with custom popup ?
    Yes. You assign a LOV definition to the attribute that then you display in the af:query component. You can also have dependnet LOV implemented this way. However, you cannot have a custom (your own) list of value popup dialog used
    See page 8 and following in http://www.oracle.com/technetwork/developer-tools/adf/learnmore/jan2011-otn-harvest-300940.pdf
    Frank
    Edited by: Frank Nimphius on Jun 29, 2011 11:36 AM

Maybe you are looking for

  • Not able to Retrieve Transaction Data based on the property of master data

    Hi, I am trying to retrieve transaction data based on property of Master Data for ACCOUNT (property  ACCTYPE = 'EXP') in BPC 10 version for netweaver. Transaction data is present at backend, But I am not getting data in Internal table after running R

  • ITunes will not read a newly inserted CD

    Until now no problem reading CDs. Now when I insert a CD after another one, iTunes does not seem to recognize the new CD and does not display its content. The contents of the previous CD remain in display. I have to exit from the program completely a

  • I web wont open

    My iweb has suddenly refused to open. When I try I get "unexpected error". I wonder if anyone can suggest what I should do. I'm on a mac mini using OS 10.6.3 and iweb 3.0.1. I havnt altered any settings or updated anything and all else is working. Th

  • TS3276 how can I make a genius bar appointment

    how can i make a genius bar appointment

  • CSS to ACE Convertion

    Hello all, We will change the CSS's to ACE's plataform's. Do u know any aplication wich can convert the basic CSS configuration into ACE configuration? Plataform's: CSS11501S-C-K9 ACE 4710 The certificates installed in the CSS could be migratted to t