Popup LOV selected the value not in session state

I have a pop LOV element on a page in my application.  Once the item has been selected in the list presented, I would like to use as part of a select statement.  Select statement failed.  It turns out that the value I want the popup THAT LOV is not being saved in session state, so of course the select statement fails.  I determine this by clicking on the session menu item in the developer bar - the item itself presents itself, but the value is empty.

What would cause a popup LOV value choice not finish by in session state, and how do I make sure he gets there?

Thank you!

If you need the value in a SQL report, you can just set "Elements of Page to submit" in your report to your LOV element definition. Otherwise, create a dynamic fire action when your LOV is changed with a set of pl/sql null process action; then set Page elements to send to your LOV element.

Alternatively you could do it manually with your own function/Manager javascript using the '$s' Apex API by creating a dynamic action that JavaScript is triggered then the loading of the page:

$("#PXX_YOUR_LOV").on('change',function(){
  var getValue=$(this).val();
  $s('PXX_YOUR_LOV', getValue);
  });

Changing the value in LOV only updates the HTML code, the element must be submitted to the server so that the value that will be put in session state. The gurus can explain more, but the above methods are what I use depending on the situation.

see you soon,

John

Tags: Database

Similar Questions

  • Popup lov (retrieves the filters and the first set of rows) returns the id

    Hello

    I have a problem when using a popup lov (retrieves the filters and the first set of rows). My LOV is a list of people posting their names, and it works very well when the popup opens. But in the "textfield" showing that you have chosen the corresponding id is displayed. This is not what I want. I want the name to be displayed.

    Any help would be greatly appreciated,

    Bram.

    Bram

    The text field is filled in with the return value.

    If you have

    SELECT name, id
    FROM table
    

    ID will be returned to the text field. If you want the name displayed, then it should be...

    SELECT name a, name b
    FROM table
    

    If you want to use the ID later, behind the scenes, then you could calculate it according to the name.

    See you soon

    Ben

  • Impossible to select the value from the search screen (quick select, then) on OFA

    Hello

    We have a problem with a user who are not able to select any value from the LOV on any page of the Oracle.

    1. click the button of LOV

    2. search + go

    3. Select or quick selection nothing happens (error on the Page appears in the left corner of the homepage)

    4. only cancel works.

    Any suggestion would be appreciated.

    I saw a similar question posted Impossible to select the value from the search screen (quick select, then) on OFA

    But unfortunately this is not the answer.

    Thank you

    Sam

    Display of the solution to help others. I tried to connect a SR and suddenly a pop Note ups that helped.

    The problem is related to the profile "Self Service Accessibility Features" customer has defined for the user concerned.

    Follow these steps:

    1 change the value of 'None' profile at the user level.

    2 disconnect / connect to the application and testing.

    See you soon.

  • Return the value of the DB display in a Popup Lov (selected)

    Hello

    I use a Popup Lov to select a value and check in the DB (it works), but I do not know how to return this value as selected in the popup Lov and keep the other options available to select again.

    Any ideas?

    Thank you in advance,
    Alan Martini

    Hi Alan,

    OK - keep in mind that this will affect each using the popup LOV page

    Text on the page popup LOV template, under the body of Page attributes, I removed the onload = "first_field ()" let fair: style = "margin: 0;" "

    Then, as part of Page footer text below that, I added:

    <script type="text/javascript">
    var aa = document.getElementsByTagName("A");
    if (aa)
    {
     aa[0].focus();
    }
    </script>
    

    It's just a collection of tags 'A', and if there is at least one, it shifts the focus to the first. My previous SQL makes the value currently selected one in the list, so this should be the same as that. As the item has focus, the user has just need to press ENTER to select this option.

    Andy

  • 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

  • Retrieve selected the value of LOV

    Hi friends,

    I have a query on the value selected LOV.

    I have two fields in my form called Dimension and indicator. We have the table associated with these two fields, DIMENSION_TABLE and INDICATOR_TABLE.

    The field two Dimension and indicator are filling the table DIMENSION_TABLE and INDICATOR_TABLE lov. Assume that the user has selected 'ABC' as a value

    dimension field LOV and 'XYZ' indicator field lov. Before submitting this user page is by clicking the search button in the page of the form. Then click on the button Search

    a pop up window should open that list down the records of database on the basis of LOV of Dimension selected and indicator which is submitted allread. ex: id-1 indicator of Dimension-ABC-XYZ, id-2 size-ABC indicator-XYZ, id-3 Dimension-ABC indicator-XYZ. Like this.

    Need help on this. Thanks in advance

    Concerning

    You want the whole 9 yards after all.

    Your Page 8 application should look like

    select dimension_table.dimension, dimension_table.indicator
    from dimension_table
    where dimension like nvl(:P8_DIMENSION,'%')
    and indicator like nvl(:P8_INDICATOR,'%')
    

    In the calling Page (say 1) that has the lists to select, on the second lists (supposed P1_INDICATOR) add the following line to the attribute of the element

    onchange="setVal();"
    

    In the call header pages updated HTML code below

    
    

    Now, create an OnDemand application process and insert the following code into it

    declare
      p_x01  varchar2(1000) := apex_application.g_x01;
      p_x02  varchar2(1000) := apex_application.g_x02;
    begin
      :P8_DIMENSION := p_x01;
      :P8_INDICATOR := p_x02;
      htp.prn('');
    end;
    

    You may experience problems of closure of the modal popup. For soolution search this forum.

    Kind regards

  • Passing request to a POPUP LOV from the previous page

    Hi all
    I'm stuck again:(et ses urgent...)
    I have a popup LOV and I want to fill the values in computer science based upon REQUEST from the first page.
    If I click CREATE on the first page POPUP LOV must display some values and if I click on UPDATE on the first page, he must fill out a different set of values.
    When I navigate beyond this page and come back, the LOV should also have values based on the previous selected request.

    To do this, I created a P_REQ component which stores the value of the request from the first page IE: P_REQ wil have to CREATE or update values.
    Now I am able to pass this value to a selection list. However, a CONTEXTUAL list is not able to read this P_REQ value.

    MY request for LOV is as below

    Select d1 d, r r1
    Of
    (select name d1, r1, 'C' up_cr ID
    OF THE customer
    "WHERE statusid in (1,3).
    Union
    Select the d1, r1, 'U' up_cr ClientID name
    OF Client_List)
    where up_cr = decode(:P_REQ,'CREATE','C','U')
    ORDER BY d1


    Kindly help... Its Urgent...

    What are the parameters that you used for the calculation? All you need is to set the value of a page in the session before the popup element is called. With the help of a calculation that is running "Before Header" for this.

    Andy

  • Show only the value not save to the database based on the dynamic action

    Nice day
    I have a select box with products and dynamic action that updates a single display element with the price, based on the selection of products.
    Once the selection is made and the page is submitted, I noticed that the price is not stored in the database. If I change the display
    only the value of a text box, the data is saved. This is expected behavior? If so, can I add something to the text box to make it uneditable?

    Thanks for any help you can provide.

    Version is Application Express 4.1.1.00.23

    Steve

    stmontgo wrote:
    Hello
    Thanks for your advice. I changed the STATE of SESSION SAVE Yes with the other values remains the same, as they met to your recommendations.
    When I change the value, I get the error below. It's maybe because the value is taken from a dynamic action?

    Yes. That would mean there isn't an item "view only". The value is changed by the browser.

    You might change view as textitem and set read-only by adding the ReadOnly attribute to the property attributes of HTML form elements .

  • Can LOV check the value in the table and view so absent?

    Hello.

    If you have 2 simple tables. One called "Table1", and another table used to fill a LOV called "Table2" can LOV display a list of the missing items in table 1? If so how would that be? Let's say that the LOV table consisted of two fields, a field called 'ID' and a field called 'Document '. The 'Document' field would be the display value and the 'ID' field would be the return value. The first table 'Table 1' would be the value returned by the username returned by V ('APP_USER') and 'ID'.

    What would be the SQL to watch 'Table1' and display only the records for V("APP_USER') in the LOV that do not yet exist in 'Table1 '?

    Sorry if it sounds simple, but I can't get out.


    Kind regards

    Steve W

    Hi Steve,.

    Steve Welch wrote:
    Sorry if I wasn't clear. Lets say I have 5 documents numbered 1 to 5. The 1,2,3,4,5 and the user that created would be on a line for each. The picture would not infinite because there should be only 5 folders for that user. I can create a query that checks the same number for a user exists in both tables but not it doesn't.

    Looks like that to me, we need to rethink the design of your database. Correct me if I'm wrong...

    Table 1 lists the documents that a user has created, and then you want a LOV to see a list of the documents that the user is still to create. To do this, you need some sort of logic that determines a precise list of the documents that a user must create. This could be done by a table of the required documents and then the list could be created simply by using a set operation, i.e. with a negative statement

    Select annual, required_docs doc_desc
    less
    Select annual, doc_desc from created_docs where created_by =: APP_USER.

    In a well-designed application, it would be a little more sophisticated than that, but I hope you get the idea. As I said earlier, you may need to take a step back and learn a little more about relational database design.

    Concerning
    André

  • LOV - get the value for the hidden id

    Hi, I thought that this would have been asked some time earlier, but I can't find it. So I hope that some of you know.

    Once I've done Oracle Forms applications, and now I wanted to do something that I thought was simple in apex. However, I do not understand how.

    I have a form, in this form, I have a field with a value of research. When I do an insert or an update, I can query other tables of search I can't find the value using a LOV, and when I choose that it, it shows on my screen so beautiful! But what I really want, is for sure the id value refers to the base table of my form. An id is not something I want on my screen, I use the ID as a technical data absolutely empty of meaning, so my identification fields are hidden to the human eye.

    I can of course, when I secured the record query, who look to the top of table, once again, but that sounds like extremely bad programming. There should be a way to display the name in the LOV, the name in the visible name in the form field and give the field invisible id the value of the ID.

    What is the technique for this in Apex?

    Any help is greatly appreciated.

    Hello

    Apex, you can use select list/multi select or the shuttle, which displays the value that you want to display to the user, but when you save, it will save the id associated with the display value.

    Kind regards
    Shijesh

  • Select the value of list view

    Hi all
    Does anyone know how to make a ReadOnly list select and display the display value not the return value when you change the data? I made the list select a text field, text box, etc... but the return value is displayed and not the display value. I don't want my end users to edit the article, but I don't want to show them the value of display. Ideas and help is appreciated, thanks.

    Hello

    As you do not want your users to change the item, could you not use one of these 'View text (based on LOV)' instead?

    Andy

  • Select the value inside the digital

    For more convenience, I would that the behavior of my digital controls for automatic selection the entire value when I click on the control.  So when it gets the focus, the value should be selected.

    I don't see a way to do this.  Any ideas?  The increment on a digital buttons will select, but these data types that I put to float.  Then increment does not much sense.  In my case, I the user perforation in values with the keyboard.  It would be nice to not have to select the 0.000 already present before data entry.

    Thoughts?

    @gdargaud: with a small modification of your idea can work!

    Just to simulate a House + shift - end event to select text:

    	If (event == EVENT_GOT_FOCUS) {}
    FakeKeystroke (VAL_HOME_VKEY);
    FakeKeystroke (VAL_SHIFT_MODIFIER |) VAL_END_VKEY);
    }

    This is valid for text and digital controls.

  • Remove the table if the value not in APEX_APPLICATION. G_f01?

    Hello again!

    I have an apex_application.g_f01 that contains the values in the boxes, now I want apex to remove rows from the table that contains values that are not present in the G_f01 (what are disabled) on submit.

    I can't understand the sql code to do this, could someone give an example?

    This can be a simple thing, but I'm getting confused a lot with sql, maybe because I just php and java.

    EgaSega wrote:

    I have an apex_application.g_f01 that contains the values in the boxes, now I want apex to remove rows from the table that contains values that are not present in the G_f01 (what are disabled) on submit.

    I can't understand the sql code to do this, could someone give an example?

    This can be a simple thing, but I'm getting confused a lot with sql, maybe because I just php and java.

    One possibility would be to create a collection of APEX containing key checked values and use that as the source of the lines to be kept in the SQL delete. Something like:

    begin
    
      apex_collection.create_or_truncate_collection('CHECKED_VALUES');
    
      for i in 1..apex_application.g_f01.count
      loop
        apex_collection.add_member(
            p_collection_name => 'CHECKED_VALUES'
          , p_c001 => apex_application.g_f01(i));
      end loop;
    
      delete from t
      where not exists (select
                           null
                       from
                            apex_collections c
                       where
                           collection_name = 'CHECKED_VALUES'
                       and c.c001 = t.id);
    
    end;
    
  • Select the value of the xml string property where certain conditions

    Hi, I'm on 11.2.0.2 and just started with XPath. "got the string xml like this: [code]"

    "[code] should output jdbc.schema password - User1, User2 user101 user201 tried: select x.schema_name, obpmdir.test x.password t, xmltable ("for $i in property/configuration/set return {$i/@name}' from xmltype (t.fuego_strvalue) schema_name varchar2 columns (1234) PATH 'value', password varchar2 (1234) PATH 'value') x; " has received the error: ORA-19276: XPST0005 - XPath step specifies an invalid element/attribute name: 19276 (value). 00000 - "XP0005 - XPath step specifies an invalid element/attribute name: (%s) ' * Cause: step the XPath specified is not a valid element or the attribute name that does not match all nodes according to the entry or the structure XML schema. * Action: Correct the name of element or attribute name may be misspelled. Regards Greg

    See my first example here in response to your previous question: update the values of string xml.

    BTW, to format your code, go to the so-called 'Advanced Editor ' and choose the formatting that you want in the menu behind the > icon.

    Note that, as of now, none of the available options are really satisfactory to shape the code because he doesn't use fixed-width fonts.

    Personally, I manually change the font "Courier New" and apply the effect 'Quote' for formatting my code snippets, that mimicks a little previous rendering allows us to get through the {code} tags (before the migration of the forum).

  • How to disable Lov when the value of the attribute is NULL at the level line

    Hi all

    JDev 11.1.1.5.0

    I have a view as a table ADF jsff page object. Value of the attribute in a row may have null values.
    And I want that Lov must be disabled when the value of the attribute in the row is null or not.
    So please suggest me how can I implement this.

    Kind regards
    Marie-Claude

    Set to the disabled for LOV attribute property

    disabled="#{bindings.YourAttribute.inputValue eq null}
    {code}                                                                                                                                                                                                                                        
    

Maybe you are looking for

  • Import address book csv file, in the pop-up window, it is only left list of columns displayed.

    See the attached pictures.windoew work is 'left & associarions columns.-of - columns are displayed to match items I met the 'left only column.-only - items are displayed, the left column is empty exercise. continuation of the process, there was a mes

  • How can I reinstall Windows without FDisk on Satellite A200

    I have Toshiba A200 I need to know how I could install a new window without losing my datathe dvd begins not as regular windows, but as an image or an image for windows and drivers and norton antivirus, GhostThere are two options: 1. to format the ha

  • How can I get a username for my account with my phone number?

    Sign in to Skype by using my cell phone number In fact, I signed up with my cell phone number People want to find me forced to search using my full name which may be similar to others, it's something not unique How can I get a unique username, so loo

  • Why the photos are added to the library when they shouldn't

    My main photo is a folder that is accessible by Lightroom.  Photos taken by my iPhone are added to my library iCloud.  Every few weeks, I have export, re-import with Lightroom and then delete Photos.  After deciding what to keep, etc., I import them

  • How to delete saved messages

    I have iPhone 5 s running east of 9.1 with 16 G memory.  I am trying to free up memory, and one of the biggest pigs is Messages. I deleted all my messages and displays always 1 G is used. I used ibackupbot to remove attachments SMS but still no luck.