Can we make Popup LOV (views, return) key point as EDITABLE field

Hello

Can I do Popup LOV key (description of the poster, returns the key value) point as editable... by default, we cannot get anything... Select in the list... it does allow the user to enter the text in the field.

Thank you
Deepak

Hello

It does not work because it is not supposed to work this way = not)
You must write the code to make it work.

How it should work if your display value is not unique?
How do you determine the value of the key that is inserted to the table if you write just something in the text field?

This should make any editable element

$x('Px_YOUR_ITEM').disabled = false;

Of course, there may be exceptions

BR, Jari

Published by: jarola on November 22, 2009 20:41

Tags: Database

Similar Questions

  • How to make POPUP LOV a TEXT free too

    Hello

    I'm having a Deptno element - which is a type - LOV POPUP.

    1 popup LOV is the result of a LOV set to say DEPT table (values - 10,20,30,40)
       select  deptno d, deptno r
         from  dept
    2. my grant is suppose that table EMP.

    3. the user creates a new employee and he chooses a whole NO DEPT (20) of the list and a new employee RECORD is INSERTED into the EMP table...

    4. now my requirement is... Suppose, user when creating a new employee... search this dept not 50 does not exist in the Dept table... so it should be able to enter the field of Deptno 50 and at the same time... 1 form must be created in the table of the 50 DEPT as a new Department and 1 form should be created for the employee in the EMP table.

    I mean... DEPTNO field should be both financial and Popup LOV... so that the user can select the existing values of the Popup and it must also be able to enter the new value (if it does not exist in the list).

    What is the best way to achieve

    Hello

    Q1 Yes), it should be before automatic line (DML) treatment, if you have the foreign key. If not then I think that it does not count

    Q2) I don't know =) I don't have much experience on popup lovs. I need to check.

    BR, Jari

    Published by: jarola November 17, 2009 19:31

    (Q2) If you are using Popup LOV (retrieves the first set of rows) ?

  • 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

  • How can I make the biggest view in XML editor

    I'm trying to use Dreamweaver CS3 to edit some XML for a flash extension that I use to make slideshows. Unfortunately, my eyes are not what they were and I would like to see the text on the page larger. But all the magnification option are greyed out and I can't find a way to see the text bigger to be able to see it better. Is there a way to do it or I'm stuck strabismus?

  • How can I make external hard drive, the restore points for windows 7

    Dear experts,
    My laptop Dell Studio 1558, pieces of 7,64 edition windows Home premium. I want to use external drive hard/Pen drives to achieve and many restore points. I have seagate Free Agent GoFlex 320GB.andTranscend JetFlash Pendrives 16 GB external hard drive. Is it possible to do in both of these external gadgets, restore points? Please specify the procedures in detail.
    Thank you very much.

    We must be clear on what you mean by "Restore Point."

    If by a restore point that you refer to the small key files backup made before a system change, it must be stored in the folder System Volume Information hidden on the hard disk the file is actually required, you can't edit this storage point (usually drive c :)). The only option you have is to set the amount of space to reserve for this purpose. Once you have defined, which then restore points are organized on a FIFO basis where when the space is too full for a new restore point the oldest is deposited.

    The alternative is going to be an image of the system. This will obviously be very wide for each backup, so if you want to do a number then you consider doing incremental backups. This way to make a complete and regular backup then or event based backup only the files that have changed. These backups are also defined as available points in the system restore utility.

  • Can I make custom for new DDA showcase? (Digital edition solution)

    I want to make a showcase for new DPS (Digital Publishing Solution)

    I found the API and tutorial for old DPS.

    Library/store API

    Custom window tutorial (Version 1 API). Adobe Developer Connection

    But I could not find API and tutorial for new DPS.

    I want titles of the collection (instead of Folio) list with an original design.

    Library/store API is available for the new windows custom DPS?

    No, you can't. And it is unclear, if ever you will be able to make a showcase as custom as with the classic DPS.

    There will be various extensibility features of the storefront, which could meet your needs.

    See this discussion:

    Showcase Custom DPS 2015

    Kind regards

    Toni

  • How can I make communities of suport ina apple points?

    How to win points in the community of suport to apple?

    You don't really "win" - if original poster think you helped him or her, they can mark your helpful reply and you get 5 points, if they think it solved their question, you get 10. Only the original poster can assign points.

    Scoring, level and gain new privileges

  • BlackBerry smartphones can not set the homepage on the Bold 9700, non editable field

    When I followed the instructions to reset the home page of the browser to the URL of my choice, I'm stuck.  It says choose Options, Configuration of the browser, and then type a new URL in the Home Page field.  Seems pretty easy.  But this field is not editable.  It is stuck on the first URL I've ever used on the device.

    Any ideas, anyone?

    Well, tweak, I tripped on the fix.  In the right corner is a field indicating the browser that you are cinfiguring.  If If you launched Setup breast to Internet, then it is already set to 'Internet browser' of course. However, change to something else temporarily (for example, MediaNet), then again the browser Internet... Presto!  The URL of the homepage field becomes editable - and also a 'current user' button appears to exist.  Hooray!

  • 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

  • Question of value Popup Lov key (description of the poster, returns the key value) by default

    Hello

    I have a Popup Lov key (description of the poster, returns the key value) and I want a default value. It is based on a list (user name, id).
    I tried to put the id of the user logged on as default, but what I see on the screen in the field is the value of the id, not the username.
    How can I pass the user id and see the user name?

    Thank you.

    Oh! My bad, I thought you are talking about regualt lOVs not popups.

    OK, so that's what you need to do, I tried it and it worked for me:

    your popup LOV > default > type: body of the PLSQL function > and enter a query like:

    declare
    UID number.
    Start
    Select user_id from the uid of the user
    where UPPER (username) = UPPER(:APP_USER);

    This should show username and retune userid.

    Hope this helps,

    Sam
    Please give good answers by marking correct or useful.

  • Popup LOV key greyed out: javascript change to "disabled" to "readonly"?

    With a Popup LOV key field, the description displayed as dimmed due to having a disabled = "disabled" attribute of the input tag. Grayed text is difficult to read and a question of ease of use in my application.

    I have not found a way to change this in Application Express and now read an answer in this forum there is no way to change this. However its replacement by a readonly = "readonly" attribute would change it: the text would be black and readable normally, while remaining unmodifiable.

    Someone can give me advice on how best to incorporate a javascript in my Apex page to remove the disabled attribute and add the readonly attribute to the input text tag? Thank you!

    Hi Mark - Three options come to mind.

    (1) use a block style in the HTML page for the re-style control disabled to more the look you want
    (2) use JavaScript to accomplish the same thing as above. Note that 1 and 2 can be a bit tricky as not all browsers likes to you allows you to change the style of the disabled items. That is to say a habit to ignore your changes of colors on a disabled fields
    (3) use JavaScript to change the disabled read-only control. If you do not want to allow them to click in the field (readonly fields are clickable and selectable, editable), you must add some additional JavaScript such as onFocus = "this.blur (); »

    The basic gist 2 and 3 is to find the element using either getElementByID ('') or by using the "document.

    . "syntax and simply run the following example:"
    var popup_fld = getElementById ('p12_blahblah');
    popup_fld.style. .....

    or

    popup_fld. Disabled = false;
    popup_fld. ReadOnly = true;

    To find the name of the field to the right for the var line, you should look into the source of a page with the pop-up page and see what is ID generated by APEX for the context field. You must also tmake that your javascript is after the shape since it will error if she tries to run before the form field is drawn.

    Hope that's enough for you're going to get. I didn't have the time to set up a complete example. Recognize the readonly fields are also submitted with the form while the disabled fields are not, then you'll want to do that there are no surprises in the functionality of the form when you make this change.

    Rgds/Mark M.

  • 4.0 using I can go to a mut "view full screen", that I can't return to a normal view. ESC does nothing. Any ideas?

    4.0 using I can go to a mut "view full screen", that I can't return to a normal view. ESC does nothing. Any ideas?

    There are two ways to exit full screen mode. Press the F11 key on your keyboard, which must immediately exit fullscreen. The other is to move your mouse to the top of your monitor, which is expected to display navigation bar of Firefox. You can then click the button restore, which should be at the top right.

    Hope that helps.

  • BlackBerry Z10 backspace and return keys make the phone unusable

    Whenever I have try and try to make a correction using the BACKSPACE, the return key back does not stop and erase the entire message. Or if I hit the return key, is not just return to the next line, he returned several times to make an infinite number of new lines.

    Basically this problem which makes the text, email, emails, etc. useless - I can read things, but can not use the key on Board at all.

    I tried every setting I can find on the phone, nothing seems to fix this.

    What is the solution?

    Thanks for the suggestions. Type once is not always just delete a character, but she often starts removing repeatedly with nonstop until the field is empty. Changing the magnification does not seem to help, but by turning on 'off' in the keyboard screen seems to make it happen less often, but not completely. Pressing the button entry still produces endless returns. Hit the button Delete to the right and back also helps to key rather that hit.

    I hope an update will fix it.

  • 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

  • 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

Maybe you are looking for