Problem with popup LOV

Hello

I'm having a problem with a popup lov. When I click on the icon 'popup' I can choose a provider and it is stored in the field. But when I leave the form and come back later, it shows the value of return instead of the display value. For example: you select "vendor" in the pop-up list with ID 12. "Provider has" if displayed in the text field, when you save the form, it stores the ID 12 inside. But when you go back to the form, it retrieves the ID 12 and has '12' in the field of text rather than "Provider A".

I tried to set the 'source' from the field popup lov as a SQL query, but that has not worked for me.

No idea why this is happening?

Thank you!

Dennis

(XE 11 g R2, apex 4.1.1.00.23)

Hi Dennis,

I guess that the value is not in the list because where condition, but it appears because of the "Additional display values" setting is set to Yes. See the help for this setting:
"An element can have a value of session state that does not occur in its list of values. Specify if this list of values should display this extra session state value. If you choose not to display this additional session state value and there is no matching values in the list of values, the first value will be the value selected. »

BR,
Marko Goricki
----------------
http://apexbyg.blogspot.com/

Tags: Database

Similar Questions

  • Problem with load LOV value reset

    12.1.3 ADF

    I am facing a problem with load LOV set to reset.

    I have a page in waterfall surrounded by af LOV: PanelFormLayout. Also do some validation on the data entered by the user when clicked on submit. If the validation fails, an alert will appear on the validation failed and user will stay on the same page.

    Values LOV child get back their null or empty when you click on the "submit" button. It works as expected when the validation failed and the user has navigated to the next page. But if validation fails, the user stays on the same page and child LOV connection reset to NULL or emptyvalue. For this reason, NPE error occurs when the user attempts submit again and have to select again the child value LOV.

    Is it possible to keep the child LOV value even after submitting a form?

    Page code:

    < af:panelBox text = "Product Details" id = "pb4" >

    < af:panelFormLayout id = labelWidth "180px" = "pfl4" >

    < af:selectOneChoice value = "#{bindings." ProdType.inputValue}.

    label = "#{bindings." Required to ProdType.label'} = 'true '.

    requiredMessageDetail = "product Type cannot be NULL. Please select a value.

    shortDesc = "Select the Type of product" id = "soc1' autoSubmit = 'true '.

    showRequired = "true" contentStyle = "width: 150.0px".

    Binding = "#{viewScope.provBean.prodType} '"

    valueChangeListener = "#{viewScope.provBean.prodTypeVCL}" >

    < f: selectItems value = "#{bindings." ProdType.items}"id ="si1"/ >

    < f: validator binding = "#{bindings." ProdType.validator} "/ >"

    "< af:target execute="@this "make ="soc2"/ >

    < / af:selectOneChoice >

    < af:selectOneChoice value = "#{bindings." ProdVer.inputValue}.

    label = "#{bindings." Required to ProdVer.label'} = 'true '.

    requiredMessageDetail = 'Product Version cannot be NULL. Please select a value.

    shortDesc = 'Select Product Version' id = 'soc2 '.

    Disabled = ' #{bindings. " ProdVer.inputValue == null} ".

    contentStyle = "width: 150.0px" showRequired = "true".

    Binding = "#{viewScope.provBean.prodVer}" >

    < f: selectItems value = "#{bindings." ProdVer.items}"id ="si2"/ >

    < f: validator binding = "#{bindings." ProdVer.validator} "/ >"

    < / af:selectOneChoice >

    < / af:panelFormLayout >

    < / af:panelBox >

    Timo thanks for your response.

    Child LOV I created is an attribute of transient and resolved the problem by setting the property of passivation to true.

  • Possible bug with popup LOVs

    Hello

    "I've created a Popup LOV (retrieves the first set of lines and filters), at the point where I open the popup and try to pick up anything by pressing the 'enter' key I m getting error" the requested URL /pls/otn/wwv_flow_utilities.gen_popup_list was not found on this server. »

    Also, if I have a certain value in the popup box and click on the little popup icon, I get the same error.

    I created an example page http://apex.oracle.com/pls/otn/f?p=50942:21

    Thank you
    Manish

    Manish,

    The page that you saw, http://apex.oracle.com/pls/otn/f?p=50195:1 is a kind of master/detail/detail report.

    There are two hidden items on the page to follow the customer "perceive" and order. The links in the customer report and order simply redirect to the same page, defining the hidden field on the pk for the selected customer or order.

    Customers and Orders queries are

    select decode(customer_id,
                 :P1_CUST_ID, 'CURRENT',
                 'Select') sel_label,
           customer_id,  cust_last_name||', '||cust_first_name cust_name,
           cust_street_address1||'
    '||Cust_city||', '|| cust_state||' '||cust_postal_code address from demo_customers select decode(order_id, :P1_ORDER_ID, 'CURRENT', 'Select') sel_label, order_timestamp, order_total, order_id from demo_orders where customer_id = :P1_CUST_ID

    You can see in each of them there is a decoding that compares the value hidden in the current KP, if it matches it returns CURRENT, otherwise select, this column is given an alias of SEL_LABEL. It is used as the link text, and it is also used in the model.

    When a new customer is selected I have a process that will solve the first as current order for this customer, it's

     declare
        cursor data_cur is
           select order_id, order_timestamp
             from demo_orders
            where customer_id = :P1_CUST_ID;
     begin
        open  data_cur;
        fetch data_cur
         into :P1_ORDER_ID, :P1_ORDER_DATE;
        close data_cur;
    

    It is subordinate to the

    :P1_CUST_ID is not null and
    :P1_ORDER_ID is null
    

    The model is a copy of the current topics in model alternation of colors. Most of the themes have a similar model. The report model can have up to 4 column templates, with or without conditions. The APEX motor will assess conditions and use the first one that is true (or no condition).

    The difference in most alternative models of color is the class applied to the td, alt of a data tag data, IE. t12data and t12dataalt.

    In my example, the first model of the column is defined as

    #COLUMN_VALUE#
    

    with a PL/SQL according to the expression of

    '#SEL_LABEL#' = 'CURRENT'
    

    You can see that it refers to the SEL_LABEL column and looks for the value of the CURRENT

    The second column model does suffer from any disease and is defined as

    #COLUMN_VALUE#
    

    Hope that helps
    Larry
    Don't forget to mark the answers useful or correct ;)

  • strange behavior with popup lov

    Request Express 3.1.0.00.32

    I have a popup LOV key (displays the description, returns the key value) that is used to allow the user to select all active employees. Because the popup box doesn't have a function of point of clear page, I included the following in the text of message element:

    ! http://i43.Tinypic.com/5bec6e.PNG!

    The question I have is that whenever you click on the link, the value is no longer displayed but every time saving the changes, the value appears again and it is still saved in the folder. I also checked with the session information every time that the page running.

    The source value is set to replace the value that exists in the session state.

    Have you thought of this announcement in the Apex forum?

    Oracle Application Express (APEX)

  • problems with popup file exe

    Original title:

    Hi, alslamu LV

    I have problem with my windows 7 is really annoying me, well there is exe file suddenly appears and quickly hide, I put emphasis on my taskbar by some of origin, I could see the image I get in programs and have to remove it but I have not found any application as it, this doesn't happen in safe mode no administrator account of the exe file, a bit like camera

    Tip:
    is it all the same to what has been covered in specific time

    Hello

    How to troubleshoot a problem by performing a clean boot in Windows Vista or
    Windows 7
    http://support.Microsoft.com/kb/929135

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    Autoruns - free - see what programs are configured so that it starts automatically when your system
    boots and you login. Autoruns shows you the full list of registry and file locations where
    applications can configure Auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    If you can determine the name of the control with its creator.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Problem with popup window and url link graphic Flash

    Hello

    I'm having a problem with the pop-up window and the url link in flash chart and hoping someone can help me with this.

    Here is my select statement for the flash chart and I want to be able to click on any type of device on the table which will appear a window with a report more details of this type of device.

    Select ' javascript:popupURL("f?p=&APP_ID.:18:&APP_SESSION.:::P19_DEVICE_TYPE:") | DEVICE_TYPE "as link label DEVICE_TYPE, value1 COUNT (SEQ_NO)
    of PSWSC_WIRELESS
    where SURPLUS = 'NO' and
    LOCATION_AREA is not null
    DEVICE_TYPE group
    order by DEVICE_TYPE

    When it works, I got an error on page 19 "error: 'DEVICE_TYPE' is not defined." And no data available on page 18.

    I had also looked at the link below, but still does not work.

    http://forums.Oracle.com/forums/thread.jspa?MessageID=3854974 & #3854974

    I would appreciate any help from you all.

    Thank you very much
    MT

    What of it?

    SELECT  'javascript:popupURL("f?p=&APP_ID.:18:&APP_SESSION.::::P19_DEVICE_TYPE:'|| DEVICE_TYPE||'")' as link,
     DEVICE_TYPE label,
     COUNT(SEQ_NO) value1
      FROM PSWSC_WIRELESS
     WHERE SURPLUS = 'NO' AND
           LOCATION_AREA IS NOT NULL
     GROUP BY DEVICE_TYPE
     ORDER BY DEVICE_TYPE
    
  • Annoying problem with popups on Safari (iOS)

    So I guess I have to call in Help: since a few days, I have an annoying popup the problem that prevents me to properly use Safari on my iPhone 5 (9.2.1). It's one of those 'you have won an iPhone 6 press OK to continue' - scams and it just won't go away.

    When I visit the seemingly random sites, it appears. I deleted my web data, even deleted all the data from my iPhone, but nothing done. When I disable Java it stops, but the popup returns as soon as I turn it on again. I have not downloaded new applications in the past that a few weeks am visiting questionable Web site or weird; It seems just to appear randomly on sites like Meteoritic.

    I have no idea what is the cause, but it is extremely annoying and she also scares me a little. Guys do you have an idea what to do?

    Originally it is 'bad guys' flooding the web with pop-up windows. These are led by Java.

    Do you have popups disabled? Settings > Safari > block Popups or is that what you mean when you say disable Java?

    It's a real problem without an effective solution. Java has value.

  • What is the problem with my LOV?

    Hello

    PracticeName is PracticeTb, while the town is located in AddressTb. In the list of selection LOV I need concatenate two PracticeName and City to view on DISPLAY_VALUE, while RETURN_VALUE is PracticeId of PracticeTb.


    Select
    practicename | ', ' ||
    (select a city
    of addresstb one
    where p.addressid = a.addressid) city like display_value, PracticeId as return_value
    of practicetb p
    order by 1

    -------------------
    The error msg is:
    1 error has occurred
    LOV query is not valid, a display and a return value is needed, the column names must be different. If your query contains a query online, the first CLAUSE in the SQL statement must not belong to the query online
    ------------------

    Thanks a lot :)
    Helen

    Helen:
    Delete the alias 'city' as shown below

    Select
    practicename | ', ' ||
    (select a city
    of addresstb one
    where p.addressid = a.addressid) as display_value, PracticeId as return_value
    of practicetb p
    order by 1

    OR use this query

    Select
    practicename | ', ' || city like display_value, PracticeId as return_value
    addresstb a, practicetb p
    where a.addressid = p.addressid
    order by 1

    CITY

  • Can someone tell me what is the problem with this LOV query please?

    This query works very well...

    Select filter_name display_value, FILTER_ID return_value
    from OTMGUI_FILTER where username = 'ADAM '.

    But this one...

    Select filter_name display_value, FILTER_ID return_value
    from OTMGUI_FILTER where username = apex_application.g_user

    Gives the following error.

    1 error has occurred

    * LOV query is not valid, a display and a return value is needed, the column names must be different. If your query contains a query online, the first CLAUSE in the SQL statement must not belong to the query online.

    Thank you very much

    -Adam vonNieda

    Adam:

    Define the LOV query as follows

    declare
    l_val varchar2(100) := nvl(apex_application.g_user,'ADAM');
    begin
    return  'select enAME display_value, empno return_value
    from emp where deptno = '''|| l_val || ''''
    end;
    

    CITY

  • Problem with LOV in form

    Hi friends,
    I have a particular problem with the LOVs in forms.

    I have two blocks A and B. Block A, I have a couple of items I1 and I2 who LOVS and the two elements are required. When we choose I1 I2 is met as well. The value in the I2 is perfectly valid. Both have the property of "Validate elements in the list" No..

    However when I go to the next block B after selecting the value of I2 I1 is removed (I1 is not deleted) and the cursor returns to I2 since it is mandatory. I select the value of I2 again, and then when I get back to block B it works. There are only two values that get populated I1 and I2.

    I'm working on Oracle Forms 10g. Version of the suite ebiz is 12.1.3

    Can someone help how to solve this problem.

    Thank you

    Hello

    First thing, you have two block A and B and four other field.

    In the affirmative.

    Second thing, if it is a parameter dependent for example if you select provider of L1 and L2 Supplier site name is filled...

    Third thing, you need to check how much LOV you created for this four Fields.If, you two created his evil. Create four different LOV and attach to the fields and check if it works now.

    Thank you & best regards
    Srikkanth.M

  • Inactive button of popup lov

    Hello, I have a popup lov.
    I need off this point
    But if a user clicks the button associated with popup lov, the value is changed
    How can I disabled this button?

    Thank you
    Daniel

    Daniel,

    It is actually not a button at all. It is an anchor tag that displays an image. The anchor tag href attribute is the key - it's a call from JavaScript. If you are authorized using jQuery for the solution I would be happy to put one together for you. Set up a sample application on apex.oracle.com. Let me know the username/password work/name space you want me to use...

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen
    http://sourceforge.NET/projects/plrecur

  • problems with customization select lists and popup LOVs

    Hello


    I have 2 problems on selection lists and popup LOVs.

    The first is on a list in tabular form.
    It must be created with APEX_ITEM. SELECT_LIST_FROM_LOV or similar and take its values of a named LOV.
    This worked fine, but now it should also have the possibility to enter a free value.
    I tried to accomplish this by creating an APEX_ITEM. POPUP_FROM_LOV, but there is a problem with the function which is called the icon of the right arrow to the input field (for eg. genList_f11_5()).
    If the line is added by addRow, then it works fine, but if the line is not empty
    Then the function call is as genList_f11_$ _row () and the input field becomes worthless, when an LOV is selected.


    The other problem is on a list of selection that should have the opportunity to enter a custom value and
    It should also be able to select multiple values. I tried to implement this in a text box that contains the selected values, and a multiple select list, with an event handler in each option. The user can click on options and they would be copied into the text box. The problem is that I couldn't make the event handler works in Internet Explorer.

    I would like ideas on one of these problems.



    Tiina

    Hello

    It can be created at APEX_ITEM. TEXT.
    APEX_ITEM also generates the name attribute that I use the jQuery selector in the sample.
    Use jQuery UI autocomplete just similarly as in my example with APEX_ITEM

    Kind regards
    Jari

  • I had a problem with slow, so I used "reset". The popup ran forever so I stopped it. Now I can not remove or add the program.

    I had a problem with slow, so I used "reset". The popup ran forever so I stopped it. Now I can not use, remove or add the program. How should I proceed?

    TIA,
    BWSwede

    Try to create a new profile.

    See "create a profile":

    If the new profile works then you can transfer files from a profile in the new profile, but make sure not to copy corrupted files.

    What problems do you have that you want to reset Firefox?

    Firefox creates a new folder of old data of Firefox on the desktop?

    If reset you Firefox and a new profile is created and some of your data (bookmarks, passwords, cookies, form data) is automatically imported and your current profile will be moved on the desktop (old data of Firefox).

  • I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a

    I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a game on FaceBook called Farm Town at all, and I get a popup of AVG on the cookies that I can't get rid of. These issues are causing me to use Chrome quite often, although I like Fox better. I've searched and searched how to get help and find nothing. How can I get personalized technical help? These problems will not occur in Chrome at all. Thank you.

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • New problems with adobe muse pages (page popup)

    Hello

    I have a problem with adobe muse is written something happens to the code of garbage in the index and in some cases, when you click on a button or link with a popup page opens aliexpress advertising, I wonder if there's a way to delete it in the code or is there a widget that block the emerging pages.

    Thank you if I can help

    Thank you allpagina_emergente.jpg

    It may be contributions for html elements of third party inserted into pages that includes this add which opens on the screen, or if any element of the page is connected to the adds.

    Also try to clear your browser cookies and then check.

    Thank you

    Sanjit

Maybe you are looking for

  • Can't buy credit program to the itunes account

    Earlier today I was helping a friend buy an iTunes gift certificate and then buy a (mindcraft) game on the app store.  The card appears in the lower left corner of the screen of the ipad to account so that we know the money is on the account. When sh

  • The messages Option does not work!

    I use the iphone 5, version 9.3.2,and memory 32 GB capacity 27.1. All of a sudden, I can't use my Messages Option. Another option works well but when click The Option Messages just like hanging. Even I can't remove/read all messages. I already turn o

  • Limited Y510p of upgrade options?

    What is the problem with the options of upgrade for the Y510p? I want to update a few things after I get mine and yet I was seeing some people say that there is an inhibitor that allows only the Lenovo brand upgrades? Is this true? Can someone give m

  • HP 7610: lines to scan hp 7610

    I get a line when I scan using the ADF for my HP 7610. I checked where it appears and it does not appear until a roll it seems there is something in there, causing somewhere this line. I've included a picture where the line is displayed. Any help in

  • Error opening Microsoft word blue screen

    Original title: blue screen Everytime I open my laptop MS Word stops and displays a blue screen. When you restart the laptop, it gives the following error message: Signature of the problem: Problem event name: BlueScreen OS version: 6.1.7600.2.0.0.76