Enkitec LOV on fire twice for entrable value change?

Hi all

Request Express 4.2.4.00.08
I created an example where I have a LOV Enkitec which maps to 2 different elements when a value is selected.
I also have a change event on which adds a line in a tabular form and insert the 2 points in columns (for this example: Ename and Sal).  If you pop open the LOV and select one of the answers, everything fills as it should.   For example, if you select Johnson, a new row is added and Ename Sal get supplemented by item1 and item2.  Now, if you press enter in the item Enkitec LOV type Paul, it seems to work as expected.  However, if you click anywhere on the page, it looks new and adds another line with the same values.
Can someone explain what happens when you enter a value in the LOV and press on different input as selecting the value after the opening of the LOV?  If no data is necessary, please let me know.
Workspace: BRENTDEMO
User name: demo
Password: demo
Thank you for the help,
Brett

Instead of

OnChange = setValues ();

I went to a DA who is running on the LOV onchange event.  It is a specific event in the LOV that triggers when the values really changes and not only when the text field does.

I also added an if to setValues while only if P1_ITEM1 has to run values.

If ($v ('P1_ITEM1')) {}

I think that it does what you want.  But let me know if it doesn't.

Thank you

-Jorge

Tags: Database

Similar Questions

  • How to disable the page for a value change event processing

    I am trying to find a solution to a requirement and is currently working on use cases using the HR schema.

    I have a text entry box in the page that accepts a new Department name.

    The value change listener method on it called a bean of support to verify the uniqueness of the name of the Department. (I'm an iteration through the lines of the Departments table to check if the value is unique)

    Now, I need to disable the page and display an hourglass, so what this control and display a message at the end of the treatment.

    I have this job except that I don't know how I can disable the entire page and see an hourglass.

    I have to use Javascript for this?

    Hello

    I've had this work now after the use of clientListener as below.

    Binding = "#{backingBeanScope.backingBean.IT1} '"

    ID = "it1.

    valueChangeListener = "#{backingBeanScope.backingBean.checkUnique} '"

    autoSubmit = 'true '.

    Validator = "#{backingBeanScope.backingBean.validateDeptName}" > "

    Type = "valueChange" / >

    Thanks for your help.

    References: http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf

  • Modal Enkitec LOV refreshment value on screen during the update programmatically

    Version of the apex 4.2.0.00.27

    Firefox version 20.0.1

    I use the modal Enkitec LOV. I have a region that, key pressed, calls a PLSQL procedure to copy values (including the LOV Modal element) of the background in the current. The modal LOV element does not show the new value on the screen - it's empty. Looking at the Info session, the value is copied to the item, if anyone knows how I can do the Modal LOV refresh itself to show the new value on the screen?

    Thank you

    Nick.

    Hi Nick,

    Copy a previous to the current record values? Could set you up an example on apex.oracle.com?

    Hello J,

    The problem that you run has to do with the fact that there are two values involved: display and return. When you use $s as you are, it only defines the return value and the display value is set to null. Try this:

    $s('PX_ITEM_NAME', 'returnvalue', 'displayvalue');
    

    Another thing you could do is to take advantage of the setValuesByReturn method. The idea is to move the return value and the method will search, and if it finds a match it will set the display and return values. Because I had to include a customized version of jQuery by calling the method is a bit strange:

    enkitec.modal_lov.jQuery('#PX_ITEM_NAME').enkitec_modal_lov('setValuesByReturn', 'returnvalue');
    
  • Enkitec LOV display problems.

    Hi all

    Using newer version of Enkitec LOV.

    https://Apex.Oracle.com/pls/Apex/f?p=4550:1

    Workspace: hanamike

    User name: test

    Password: test

    Application: Test LOV

    LOV 1.PNG

    LOV 2.PNG

    Problems encountered:

    1 Select the item (P1_EMPNO) still a Virgin after selecting the folder even if the session state has been defined using the da

    2 cannot search, example if I just type BL LOV, always search field empty and open return all records of data.

    3. also unable to see the application EK_ML_SEARCH in the State of Session preceding the point.

    Came across the thread below:

    Modal Enkitec LOV refreshment value on screen during the update programmatically

    where Dan mentioned using the:

    1. $s ('PX_ITEM_NAME' 'returnvalue' 'displayvalue',); 
    2. enkitec.modal_lov.jQuery ('#PX_ITEM_NAME') .enkitec_modal_lov ("setValuesByReturn" "returnvalue");


    but do not know how to apply the above.

    Tried $s ('P1_EMPNO', $v ('P1_EMPNO') in vain.


    The other columns column mapping works very well.


    Thanks in advance.

    Zack

    Hi Zack, looks like you want to see EMPNO designating the LOV, correct?

    According to me, which caused "trouble" is the 'Display, return, & Default sort Columns(Value Required)' field and you want to settle for other columns assignments.

    By default, the field "Display, return, & default sort columns (high-grade)" allows you to specify the column in which you want to display on the screen after selecting (in your case 1 for EMPNO) and allows you to specify which column to save on the DB (in your case also 1 for EMPNO).  So, I spent it to 1.1

    Once this is done, it is not supposed yo have EMPNO mapped the area of the 'column Element '. & Mapping (s)  This field is for OTHER items that are not your LOV point.

    I hope this makes sense now.

    I also put the DA never run.  It is not at all necessary.

    Let me know if I did not understand what you want to accomplish.

    Thank you

    -Jorge

  • Skillbuilders Super LOV, refresh the list of SLOV values dynamically

    Hi, another question.

    I have 2 SLOVs. 1 is a relative of the 2nd.

    The first has its value dynamically for a reason any.
    I can not then dynamically change the value of the 2nd until the cascading effect is triggered by the opening of the 2nd SLOV via the button.

    If the page has LOV1 with value 'A' with LOV2 have child values "A1", "A2", "A3" available and I then proceed as follows

    $('#P1_LOV1).apex_super_lov ('setValuesByReturn', 'B'); (where B is a valid value)

    followed by
    $('#P1_LOV2').apex_super_lov ('setValuesByReturn', 'B1'); (assuming that B1, B2 and B3 are values of child for B)

    Then, it does not work.

    In fact
    $('#P1_LOV2').apex_super_lov ('setValuesByReturn', 'A1');
    $('#P1_LOV2').apex_super_lov ('setValuesByReturn', 'A2');
    $('#P1_LOV2').apex_super_lov ('setValuesByReturn', 'A3'); Still work, even if the parent is now wrong.

    So, basically, it seems that dynamically change the SLOV parent value is not triggering of the ripple effect that manually the SLOV itself chosen.

    Is it possible to force the list of values for updated after change dynamically children parent cascading?

    Concerning
    Mark

    Hi Mark,

    Some problems with the State of session here! Your lov EMP is limited to documents that match the DEPT value in session state. Initially this will be null and no value. Suppose you select a Department and send the page, so that the values are stored in session state. When you open the lov, employees would be only those for the Department which the value is stored in session state. Understand the State of Session, Oracle docs

    You were on the right track with cascading lists, but it breaks your choice by default features. So I've ignored this output, I don't want the default functionality. We need to do our own for this. Don't worry, not too!

    Off, when dept in the default settings or dept lovs changes because of a choice, the selected Department must first go to session state. This is necessary for the lov emp can find the correct records. So I added a dynamic action to fire on the change of P14_CHOOSE_DEFAULTS and P14_DEPT. The real action is a PLSQL code execution. PLSQL is always on the server side, and we can provide items to submit to the session state. The executed code is simply

    NULL;
    

    because we don't need to run anything, but P14_DEPT has the value that will be submitted to the session state when the call is made.

    With these changes, everything works. But EMP must be blanked when DEPT changes. Otherwise, you could spend DEPT autour but are not yet in a bad EMP.
    So I added another dynamic action that fires on the evolution of the DEPT and blanks in the EMP. No worries about default values, picking, because that won't change due to values only being edited
    javascript change events that are not performed.

    PS: don't forget to assign the answer useful/correct labels to messages that are :-)

  • How default of a multiple selection for all values setting?

    I have a setting that allows the user to select multiple values.  I want the default to use all values (which means basically just ignore this parameter in the generated SQL code).  However, I can't create named on this calculation since it accepts multiple values, and the calculation supports only the first value.  Is there a way to do what I need, without selecting all the values in the list (the LOV contains hundreds and hundreds of values so it's not a viable option).  I'm not very experienced with the discoverer and don't know all the tips/solutions workaround, if you are looking for expert advice.

    Thank you

    Hello

    You must code the parameter and the condition that he accepts the word ALL.

    For example, suppose you are working with ITEM_NUMBER and you have thousands of articles. You want the user to be able to one or more key or access all THE items.

    You must create a Boolean condition like this:

    ITEM_NUMBER IN: ITEM_PARAMETER

    OR

    UPPER(:ITEM_PARAMETER) = "ALL".

    So if the user key word ALL all all or or any variation of the word to be determined as true by the condition and all items will be selected. If the user does no key ALL, and then the other half of the condition will be applied and the element must be a valid element as contained in the list of all the elements. You can even create your parameter with a default value of all THE

    Best wishes

    Michael

  • Need to take stats twice for partitions and subpartitions?

    Hello world

    I'm taking a new approach for making statistics.

    First my system:

    Oracle 10.2.0.1
    3 instance RAC running on Linux RH AS 3, 64-bit

    I'm currently my stats using dbms_stats.gather_schema_stats with the option "rally car", it's good because only the data tables with stale and empty tables are being analyzed, but the process takes 3 to 4 days...

    Now I want to spread the statistical processes on nodes in the cluster using gather_table_stats (stale tables and empty tables only), while I was doing my procedure, I discovered the following, and here's where I need your help.

    If I run the following command:

    exec dbms_stats.gather_table_stats (ownname = > 'CACOSTA', tabname = > 'subpart_date', granularity = > 'SUBPARTITION', partname = > 'P200901')

    I can see the stats from my server BUT no stats have been taken for the partition.

    If I change the granularity on the "PARTITION": gather_table_stats

    exec dbms_stats.gather_table_stats (ownname = > 'CACOSTA', tabname = > 'subpart_date', granularity = > 'PARTITION', partname = > 'P200901')

    It will take the stats ONLY for the partition, but not for subparts.

    If I take the stats twice for 'PARTITION' and 'SUBPARTITION', I'll get all stats but it will take twice as long to complete.

    Is someone can you please tell me if I'm on the wrong approach? is it possible to understand that when I use the granularity of the "PARTITION", it can take the opportunity to use this same information it is collecting and provide statistics for subparts too to the RDBMS?

    Thank you and sorry for the long post.

    Carlos Acosta

    Carlos Acosta wrote:
    I'm taking a new approach for making statistics.

    First my system:

    Oracle 10.2.0.1
    3 instance RAC running on Linux RH AS 3, 64-bit

    exec dbms_stats.gather_table_stats(ownname=>'CACOSTA',tabname=>'subpart_date',granularity=>'SUBPARTITION',partname=>'P200901')

    I can see the stats from my server BUT no stats have been taken for the partition.

    If I change the granularity on the "PARTITION": gather_table_stats

    exec dbms_stats.gather_table_stats(ownname=>'CACOSTA',tabname=>'subpart_date',granularity=>'PARTITION',partname=>'P200901')

    It will take the stats ONLY for the partition, but not for subparts.

    If I take the stats twice for 'PARTITION' and 'SUBPARTITION', I'll get all stats but it will take twice as long to complete.

    Is someone can you please tell me if I'm on the wrong approach? is it possible to understand that when I use the granularity of the "PARTITION", it can take the opportunity to use this same information it is collecting and provide statistics for subparts too to the RDBMS?

    Carlos,

    This composite partitioning (range-list, range-hash) do you use?

    First of all I think it's important to understand that statistical subpartition will actually not to be used by the cost based optimizer in previous versions 10.2.0.4 (but in 10.2.0.4 only with bugs without patch installed, see the link to the message below) and 11.1.0.6:

    http://Oracle-Randolf.blogspot.com/2007/03/subpartitions-and-optimizer-statistics.html

    http://Oracle-Randolf.blogspot.com/2008/04/revisiting-subpartition-pruning-and.html

    http://Oracle-Randolf.blogspot.com/2009/03/partition-oddities-part-1-severe-bug-in.html

    So, I'd be interested to see a case in the database pre - 10.2.0.4 where the optimizer actually using subpartition level statistics; I have not yet found one.

    Second, he must be aware of what Oracle offers several ways how to maintain the different level of statistics:

    -Less consumption of resources, but less quality: collection of statistics on the lowest level (e.g. subpartition) only. I hope all subparts of the partition have statistics, the higher levels (partition / global) will be inspired by the aggregation. This way, you get the low quality statistics on levels higher (e.g. no histograms will be generated by aggregation, number of distinct values potentially quite inaccurate), but you do not need to collect statistics on these levels. Note that if once you have collected statistics on the higher levels (indicated by the "GLOBAL_STATS = YES" column in the DBA_\ * views STATISTICS) will not perform this statistical aggregation. You must first remove the statistics of higher level using DELETE\ * _STATS have enabled new aggregation (next time gather you statistics on low levels and all partitions (sub-) have statistics)

    For more information about this approach, see for example here: http://oracle-randolf.blogspot.com/2008/04/exchange-partition-and-aggregated.html

    -Consumption of resources, but of better quality most: separate statistics on all levels

    - And the new modes supported by 10.2.0.4 and especially 11.1.0.6: APPROX_GLOBAL AND PARTITION (10.2.0.4), true incremental global statistics in 11.1.0.6 and the new algorithm for estimating AUTO_SAMPLE_SIZE introduced in 11g:

    http://structureddata.org/2008/07/16/Oracle-11g-incremental-global-statistics-on-partitioned-tables/

    http://structureddata.org/2007/09/17/Oracle-11g-enhancements-to-DBMS_STATS/

    http://optimizermagic.blogspot.com/2009/02/maintaining-statistics-on-large.html

    Another very good synthesis about the management of statistics has recently been published by Karen Morton: http://karenmorton.blogspot.com/2009/02/new-paper-and-cj-date-advert.html

    So in your case a database pre - 10.2.0.4 you should not bother with subpartition statistics at all (or you can show me otherwise I would be interested), and you can then try to find out if you could live with the above statistical approach of "sum" by simply collecting statistics on the level of partition, or if you need to collect statistics on the partition and the global level separately (you did not mention your current strategy to the global level statistics).

    If you install the 10.2.0.4 patch game you have several options and statistics subpartition can be used by the optimizer (but only in the case of beach-list composite partitioning, as far as I know), for example by using the option of PARTITION AND APPROX_GLOBAL introduced in this version. Note that you must install the unique patches to get this working properly as described by my post and the optimizer of blog post for the development group.

    Kind regards
    Randolf

    Oracle related blog stuff:
    http://Oracle-Randolf.blogspot.com/

    SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676 /.
    http://sourceforge.NET/projects/SQLT-pp/

  • I bought Garageband and want to use it on my laptop and desktop. What do I have to pay twice for Garageband?

    I bought Garageband and want to use it on my laptop and desktop. What do I have to pay twice for Garageband?

    If you get it from the Mac App Store, no, so that you use the same Apple ID on both computers.

    If you use one iLife DVD other than a bunch of family, Yes.

    (139567)

  • Love at first sight for usb cable will work for migration?

    Love at first sight for usb cable will work for migration?

    Migration from what to what?

  • Camileo H10 - jerky video / flash still fires twice / blurry photos

    Hi please can someone help or advise. I recently bought a Toshiba Camileo H10 digital camcorder and have had some problems with it, I hope someone can help me solve them. First of all, let me start by saying I already updated to the latest firmware from a link someone posted on this firmware, it makes no difference to my questions.

    1. the video is very choppy (stuttery?) and it is most obvious when panoramic autour or zoom in and out. It's worse when you run at higher resolution (HD) and even worse when I turn on the image stabilizer. DV to my laptop from my 10 year Sony digital-8 camcorder video that I captured via a cable are much smoother than the video files I get card memory of the Camileo, with not a lot of difference in the quality. I can do to make it smoother?

    2. when I take a picture in normal flash mode (NO red flash mode) the flash fires twice, and he takes the photo on the 2nd flash... as if it was always flash red-eye mode. There is a delay of about 2 seconds between the flashes, i.e. at the point where the 2nd flash occurs, the subject has already taken the photo was taken and leaves. It seems that he is stuck in mode double-flash red-eye. Yes I certainly change it to red-eye flash in "normal" mode. It does automatic flash mode too. How can I make the camera only trigger the flash once, normal flash mode?

    3. I find it almost impossible to take a photo that does not suffer from blur, regardless of the lighting conditions. Trying to get a clear picture inside (flash enabled or disabled) is almost impossible, and most images outdoors in broad daylight are too blurry. It is impossible to try to get a picture of someone ' one/something thing that moves. It is obviously something to do with the length of exposure, I fixed it to automatic and have tried to change, does not have much difference (and I do not accept the duty to play with the settings, whenever I wanted to take a picture anyway...) It should handle and automatically adjust properly). Anyone know how I can get sharp pictures?

    Thank you very much

    Milo

    Hi guys

    I found this thread on Camileo H10 and the new firmware update:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=40630&TSTART=0

    Please check because the new firmware update brings new features and improve the quality of the picture, too.

    These are improvements that are provided with the new firmware update:

    1 give input MIC (improve the volume of MIC)
    2. set the focus window (improve the AF)
    3 tune AE to avoid exposure
    4 tune matrix color and saturation (performance of color)
    5. set the noise filter (improve the noise level)
    6. grant WB (improve the AWB)
    7 change the string from the user interface in CZ

    Good bye

  • When you use a left and right axis, how to choose what issed axis for the value of y GetGraphCursor?

    I use a graph with a left and right axis (2 data sets).  I try to use a slider to select a point in time (x) and the values of y in the two sets of data.  I can't understand how the control, the value that is returned for the value is when you use the GetGraphCursor call.

    GetGraphCursor (panelHandle, PANEL_GRAPH, yourCursorNumber, & x & y)

    Using SetCursorAttribute with the attribute ATTR_CURSOR_YAXIS must be what you are looking for. The online help for this attribute explains wery well:

    Description: Used to change the y-axis which is associated with the bar graph.
    When a graphics cursor is created, the Y axis with which it is associated is determined by the value of ATTR_ACTIVE_YAXIS.  Subsequently, the association can be changed using ATTR_CURSOR_YAXIS.
    The y-axis associate serves as reference for the coordinates of the cursor position in calls to SetGraphCursor and GetGraphCursor.

  • Pay twice for a purchase

    I bought 1 month access on an Xbox for my son on a game for $ 19.95. We do not have a message saying that the purchase was successful, or whatever it is, so we again it and now I was paying twice for the same purchase! I looked everywhere for an e-mail address or phone number to call and request a refund of one of the purchases but I can't find anything!

    can someone offer a phone number or email to contact me?

    Hello

    Your Question is beyond the scope of this community...

    I suggest that repost you in the Xbox Forums.

    "Xbox a Preview program FAQ.

    http://support.Xbox.com/en-us/Xbox-one/system/Xbox-update-preview-FAQ

    'Home'

    http://forums.Xbox.com/

    "Xbox forums.

    http://forums.Xbox.com/xbox_forums/general_discussion/f/3817.aspx

    _________________________________________________

    "Xbox Forums directory.

    http://www.Xbox.com/en-us/forums

    General

    Material & Discussion Services

    Xbox support
    Agent hours: M - F 09:00-17:00 PT

    Law enforcement forums

    Technical support of Xbox Live rewards
    Xbox Live rewards Squad hours: M - F 09:00-17: 00 PST

    See you soon.

  • I was charged twice for my purchase


    Dear Sir/Madam
    I was charged twice for my purchase from dell for $ 1174 euros once on the day of my purchase on 24/02/2015 and once on 06/03/2015 with
    My customer number [Note from the Admin: deleted personal information]
    I'm a student and this amount is all my money that is wrong I want to repay as soon as possible.

    Khamir

    Sorry to hear about your billing problems, but the forum is mainly a user to and not user of Dell.

    You will need to contact Dell Customer Service, which is located in the country where you reside.

    Bev.

  • need computer to start twice for opening windows

    Currently, I have install windows 8 pro on my dell inspiron n5050 when I turn on the computer it boots ok then the screen turns white and windows not loading. then I hit the power button turn power off power. Then, I hit the power buttom turn the computer and windows is already loaded.my question is why do I have to start the computer twice for the loading of windows.

    Hello jonsal.

    I got exactly the same problem with my Inspiron 7720.

    After extensive research, I managed to fix it.

    Here's what I did...

    -Turn on the computer.

    -After the Dell logo, when the screen goes black, Power OFF.

    -Then, turn again and press F2 to enter the BIOS.

    -When you are in the Bios, go to the menu 'BOOT.

    -Then go to 'SECURE BOOT' and select 'OFF '.

    -Then go to "STARTUP OPTION add" and press "Enter."

    -In the new window that opens, go to 'The BOOT OPTION NAME' and type ' CD/DVD/CD-RW Drive' without the quotes.

    -Tab down to "YES" and press Enter

    -Now, you should see ' CD/DVD/CD-RW Drive' in the list under "ORDER of PRECEDENCE to BOOT and BOOT UEFI.

    -Press the button "+" to move ' CD/DVD/CD-RW Drive' to the top of the boot list.

    -Press F10 to save changes and exit.

    Your computer should now boot normally from now on.

    It worked for me.

    Good luck.

  • Impossible to trigger value change listener for a checkbox custom AF: table

    Hi all

    IAM using Jdev 12 c.

    I have a created a table and a list bound to the table. The values are perfectly filling. I added a checkbox as another column. All select/deselect the box, no event is triggered... Please find below the the code I used.

    JSPX code binding the table and column checkbox

    < af:table var = "row" rowBandingInterval = "0" id = "t1" binding = "#{EmployeeTableList.empTable} '"

    contentDelevery value = "#{EmployeeTableList.empList}" = "immediate" > "

    < af:column sortable = "false" headerText = "EMPID" id = "c1" >

    < af:outputText value = "#{row.empid}" id = "ot1" / > "

    < / af:column >

    < af:column sortable = "false" headerText = "EMPNAME" id = "c2" >

    < af:outputText value = "#{row.empname}" id = "ot2" / > "

    < / af:column >

    < af:column id = "c8" headerText = "Select" >

    < af:selectBooleanCheckbox label = 'Label 2' id = 'sbc2' autoSubmit = "true" value = "false".

    valueChangeListener = "#{EmployeeTableList.newlyCreatedMethod}" / >

    < / af:column >

    < / af:table >

    I tried the javascript also, but not luck at all... If you use IAM table datacontrol and adding a column of the box... value change listener is triggering perfectly.

    Please help me. Thanks in advance.

    Concerning

    Leprince

    Hi Ram,

    Thanks for the reply... I can trigger other events in the table.

    Finally, finally, I got solution... I use the scope of the request for the bean managed in my application. I changed the scope of the request to see... then is triggering events to change value perfectly.

    Thanks everyone for the help and support!

    Concerning

    Augustin Leprince

Maybe you are looking for

  • My iPhone was stuck

    My Iphone was blocked by someone else (not me) with its ICloud. Application for iPhone to "Activate the Iphone", but I don't know his Apple ID. This person claims the money to unlock my Iphone. What should I do? Help!

  • Draw a curve on a graph with an equation xy

    I need to plot several curves on a xy chart. I know how to plot multiple curves, I do not know how with an equation. example y = 2.039 + 1.116 * exp(.01468*x) I did this with a point to manually, but will be a lot of these with positive and negative

  • node property outputs false values

    I'm having a problem with output occasionally erroneous values for a control.  I move the mouse cursor around the screen, between 4 controls programmatically.  Most of the time it works fine.  Every now and then, the cursor will move to the wrong par

  • Activation key in Windows 98SE ME NT4.0 2000 95?

    Dear Microsoft Community (http://answers.microsoft.com/) I recently installed in my Windows PC operating system. If I damage the motherboard, and I buy a new motherboard. Which windows, I can install on my new PC? And who remain associated with my ol

  • (Ink Cli 8) Where can I find a list of EVERY single printer that uses Cli 8 ink cartridges?

    I bought a set of Cli-8 cartridges when I owned a MP510 printer, but the printer is dead. I am now looking to buy an all-in-one printer that uses cartridges Cli 8 if the don't to lose. Or should I just buy a newer model of the printer? I looked on Am