Question about the events of list management

I searched in the circles of a response to this problem for a while now.

Background information:

I have an application that uses a number of listservs. However, some end users have complained about this particular control since you not only have select from the popup LOV, but you then have to click on the 'Add' button until the selected value will be submitted to the page. They would like me to display some callback types click on 'Add' when a value is selected, but not yet added.

I found the names of the different elements of the list manager and created a simple javascript function to change the background color of the text box where the selected value is displayed and attached that work to the onchange event.

My problem is that if something enter the text box fire the onchange event, by clicking on the 'Add' button does not work. In other words, I can put a red background (or whatever I end up doing) if they have not yet added value, but I can't put it right back when the user clicks on 'Add '. The best work around I came uses the list manager onmouseover event, but is not as clean as I like it.

The 'Add' button has an onclick (obviously) the events that first calls a function "appendToList" and then deletes the text box.

{color: #0000ff} & lt; "input type ="button"name =" "value ="Add"onclick =" appendToList (return [0].p_v99.value.toUpperCase (), return [0] .p_v04); return [0].p_v99.value = "" / & gt;

{color} {color: #000000} The appendToList function is defined in the body of the page, just forward to the & lt; fieldset & gt; tag that creates the list manager, leading me to believe that there is a template somewhere.

Question:

Is it possible to edit the template for the list manager so that I can call my function when the user clicks on the button "add"?

or

Is it possible to redefine the function appendToList somewhere on this page, so I can place a call to function within this function?

or

Is there another way to restore the appearance of the text box when the user clicks on the button 'Add' that I thought not again?


Thanks for any help you can provide. This is bugging me. {color}

Hello

I think that what follows may work for you.

Suppose you have a component called P4_LIST_MANAGER list manager. Add the following code in the Footer area of the region setting:

<script type="text/javascript">
var lm = document.getElementById("P4_LIST_MANAGER_ADD");
lm.onchange = function()
{
 if (lm.value.length > 0)
 {
  lm.style.backgroundColor = 'red';
 }
}
var lmfs = document.getElementById("P4_LIST_MANAGER");
lmfs.onclick = function()
{
 if (lm.value.length == 0)
 {
  lm.style.backgroundColor = 'white';
 }
}
</script>

The main problem you see is that for an input element onchange event is not raised when its value is changed via javascript on the page. The above assumes that the user has clicked in the area of field set to use either the Add or Remove buttons, and then resets the background color.

Andy

Published by: ATD 15 January 2009 19:02

Tags: Database

Similar Questions

  • Question about the Oracle database resource management

    Good evening
    I have a question about Oracle database Resource Management (DRM) for Oracle Database 10 g. I had an incident which, in a development/UAT environment (different instances, same box, don't ask), a developer wrote a wrong SQL statement that consumed 99% of the CPU. Currently, there is no limit of resources on two cases of db, and the developers don't want limits. However, my manager wants a method to prevent something like this does not happen. If I use the Oracle database resources management, create a consumer group (called "DevEnv") at 40% CPU usage, what will happen if a user of DevEnv runs a bad SQL statement that normally consumes 90% CPU again? Anyone would take a different approach? Thank you.

    Sincerely,
    Sho Fukamachi

    782718 wrote:
    If users in the case of "db_uat" use 60% CPU would be users who belongs to DevEnv pending 'db_test' cannot be used more than 40% CPU, so their queries become slower at their end? I would like to know if this behavior works the same in an environment of multiple instances. Thank you.

    Yes, because the available processor would be 40%, they use more, while.

  • Question about the event thread

    Hello world

    I need to perform a lot of Http 'Get' and 'Post' requests If I'm not directly interacting with the UI (event thread), then I need to put the class managing http requests in its own thread?

    Any advice would be appreciated, thanks!

    You should not run any operation (such as an HTTP GET or POST request) blocking or no matter how long processing thread in the case. If you do, you run the risk of allowing the event queue overflow while you have this thread do something else, which will cause your app ending with the system.

    You must always start a worker for any HTTP operation thread.

  • Questions about the management of specific nodes in different hierarchies

    Hi all

    I have a question about the specific management of some particular set nodes, which are located in different hierarchies within a same version.

    I want to know if there is any editing made to certain properties of these specific nodes or if the nodes are deleted/moved/edited approval to be triggered for the data manager.

    or should not allow users to edit (adding/moving/deleting/changing property values) or those specific members.


    According to my understanding of the nodes of domain prevents the removal of nodes, but I don't want my Member prefix/suffix, domain is the only way to prevent the change.




    Thanks and greetings

    Madhu

    We have an obligation to not allow a node to remove or deleted without the approval of the admin, so I created a Boolean property AllowDelete is false, which is substitutable, default and is available only in a category of property Admin, for which most of the users do not have access.  Then, I created a validation of PropRemove with an error message that tells the user to contact a user admin to remove or delete the node.  The admin can change the AllowDelete to true, then can either remove himself or to allow the user to do.

  • I have a question about the functionality of Oracle Identity Manager...?

    Hi friends
    I have a question about the features of Oracle Identity Manager.
    Here's my question:
    Self-management is possible network passwords (reset / unlock) with Oracle Identity Manager 9.1.0.2

    Very grateful.

    What Kevin suggested this means that you are managing accounts and their password by IOM. If your condition is the same then follow:

    Re: error during password reset using the self-service portal

  • Questions about the stores in iProcurement

    All,

    I have a few questions about the implementation of iProcurement stores-

    1 oracle comes seeded with 2 stores "Backend" and "Exchange.Oracle.com. We do not have the use of these stores. I don't see an option to turn them off. Is it advisable to delete them? They occupy unnecessary space and are seen first. I read this on Metalink Note ID 429470.1 - "NOTE: while the value can be changed, it is highly recommended to not under any circumstances ever remove"Main store"page stores to manage content in iProcurement catalog administrator responsibility.» Do not know why.

    2. we have a Punchout for Dell U.S. catalog store and a catalog of information for Dell International. Buyers of Dell are iProcurement to each punchout to place their orders from Dell for the USA (shopping cart returns to iProcurement) - or - just use the store Dell International to go to an external URL and place their orders here (who do not return to iProcurement). What we see is - when the user clicks on the icon Dell us, it is taken directly to the URL of the PunchOut of Dell, but when he clicks on the Dell International icon, he was first taken to the list of catalogs available to the store (only 1 available catalog) and the user must then click again on the link Dell International. Is there a way to configure the Dell International icon to behave the way behaves in the Punchout icon - i.e. directly take the user to the Dell page without a need to show the list of catalogs.

    Hey,.
    To answer your Questions
    1. you can always delete those either if you want to... The reason why the link Meta Notes say not only not to delete the main store is
    i. because main store has all of the Local content in iProcurement (i.e. If you have any installation of items in the inventory you and them Module iProcurement Enabled (IE can be purchased at iProcurement) and any other article of local catalogues/categories Loaded using the BULK LOADING in iProcurement is also removed.)
    II. you can always delete the information Exchange Oracle store if you do not use.
    I would advise so do not remove the main store. Instead, you can change the sequence of the display of the stores you iProcurement Page.
    Browsing ==> Internet shopping Catalog Admin (RESP) ==> eContent crib ==> content management ==> stores ==> press the update sequence and make sure that the sequence number for main is superior to any other store so that the hand store falls last in the House of iProcurement Page

    2.i don't think that there is no option to do this. but you can always open an SR with Oracle about it and ask this question\

    hope that answers your Question.

    Thank you
    SANTU

  • A few questions about the difference between the Satellite P70, L70, S70

    Hello, I have a lot of questions about the P70, L70, S70 series that come with a 1920 x 1080 panel.

    (1) what are the differences between the L70 and S70 series? With the exception of the RAM and HARD drive capacity, books seem pretty identical.

    (2) P70, L70, S70 doesn't support a 2nd HARD drive or it's just the P70 series that support?

    (3) all the three (P70, L70, S70 series) come with the same TFT panels?

    (4) of the above series, which supports mSata?

    (5) all the model of each series are delivered with support from mSata? For example, it could be that L70 - a - 13 m supports mSata is not the case of the L70-a-146?

    (6) all the foregoing, are delivered with a S - ATA II or III S - ATA interface?

    (7) who is the best of these series listed? I'm trying to understand what makes the big difference of S70 to P70 except for the envelope for example.

    Thank you in advance.

    > (1) what are the differences between the series L70 and S70? With the exception of the RAM and HARD drive capacity, books seem pretty identical.

    What models Sat L70 and S70 do you mean exactly? There are different L70-xxx-xxx and S70 models on the market that supports different hardware specifications.

    (> S70 2) P70, L70, support a 2nd drive HARD or is - it just the series P70 that support?
    As you can see in this [Sam P70 HDD replacement document, | http://aps2.toshiba-tro.de/kb0/CRU3903II0000R01.htm] the P70 series supports the 2nd drive Bay HARD, BUT even if there is a 2nd HARD drive Bay, this does not mean that you can use the 2nd HARD drive. In the case where the 2nd HARD drive Bay are equipped with HARD drive connector, you can use the 2nd HARD drive

    I also found the [Sam L70/S70 HDD replacement | http://aps2.toshiba-tro.de/kb0/CRU3703HG0000R01.htm] the document on the Toshiba page and there I see this 2nd HARD drive Bay is not available

    (> 3) all three (P70, L70, S70 series) come with the same TFT panels?
    See point 1). Different P70, L70, S70 models were equipped with different material parts.

    (> 4) of the series above, which takes in charge mSata?
    As far as I know that some P70 models are equipped with an mSATA SSD of 256 GB.

    (> 5) do all the model of each series are delivered with support mSata? For example, it could be that L70 - a - 13 m supports mSata is not the case of the L70-a-146?
    See point 4) not all models supports the same hardware specifications

    (> 6) all of the above, come with a S - ATA II or III S - ATA interface?
    I don t think that SATA III is supported. I guess it would be SATA II

    (> 7) which is the best of these series listed? I'm trying to understand what makes the big difference of S70 to P70 except for the envelope for example.
    Not easy to answer because there are too many models released in Europea.
    And not all models are available in each country. So I guess you will have to look for the models that have been released in your country.

  • Re: Several questions about the recovery of the Satellite L750 features

    I have several questions about the recovery of Satellite L750 features available to it. Any help and answers would be useful.

    (1) when I started the laptop first, he asked me to create a recovery CD incase I need to reinstall the operating system. But he also said that he built in the recovery partition, so therefore, I have to make a recovery cd or not?

    (2) will be the recovery CD is exactly the same as the recovery on the system partition?

    (3) is the partion of CD or recovery includes all the integrated software pre-installed with the laptop?

    (4) also in the device manage management it shows watch partion recovery but it is empty, is it true?

    (5) in the second partition (drive D) system, he has a record with what looks like the recovery of files and folders. Is it safe to move/remove it?

    Hello

    I'll try to provide answers:
    1 - to ensure that everything works perfectly you don t need these discs, but if something goes wrong with the HARD drive you will not be able to do anything. When you have the recovery DVDs, you will still be able to install the recovery image and once again the factory settings. So my advice to you is: create these discs as soon as possible. Use only on DVD-R media and buy products of high quality (TDK or Verbatim).
    2 - Yes.
    3 - Yes.
    4 - No. Don t be confused with this.
    5. in a first time create restore DVD, and later you can do what you want. I put t know which files mean you but don t touch anything before that of the recovery disks to be created.

    In the past, many people have been experimenting with the structure of HARD drive and partitions and later was surprised when installing disk recovery HARD has been damaged. Don t make the same mistake.

    If you have any other questions you are welcome.

  • HTML (Web), I have a question about the models.

    Hello CC animate developers.

    New features are really good.

    HTML (Web), I have a question about the models.

    <! DOCTYPE html >

    < html >

    < head >

    < meta charset = "UTF-8" >

    < title > $TITLE < /title >

    < meta name = "ad.size" content ="width = $WT, height = $HT" > "

    $CREATEJS_SCRIPTS

    $SCRIPT_START

    var canvas, stage, exportRoot;

    function init() {}

    $CJS_INIT

    }

    $PLAYSOUND

    $SCRIPT_END

    < script type = "text/javascript" >

    "clickTAG" var = "";

    < /script >

    < / head >

    < onload = "init (); the body"style =" background-color: #D4D4D4; " margin: 0px; ">

    < a href = "javascript:window.open (window.clickTag)" >

    < div style = "position: absolute;" cursor: pointer; box-sizing: border-box; border: 1px solid #000000; overflow: hidden; height: $HTpx; Width: $WTpx; Background: rgb (255, 255, 255.0); "> < / div >

    < canvas id = "$CANVAS_ID" width = "$WT" height = "$HT" style = "background-color: $BG" > < / canvas >

    < /a >

    < / body >

    < / html >

    In the example above, the model;

    < Meta name = "ad.siz of" content = "width = $ WTI height = $ HT" > "

    and

    < Div style = "position: absolute;" cursor: pointer; box-sizing: border-box; border: 1px solid # 000000; overflow: hidden; height: $HTpx; Width: $WTpx; Background: rgb (255, 255, 255.0); "> < / div >"

    I use labels. But these tags in the template and import, it gives an error does not occur.

    I think it was a mistake. I want to help in this regard.

    $ HT or Properties $WT , I get an error when I use elsewhere.

    I think I should be able to use anywhere I want.

    The same problem here - I worked around by some DRM models with different values of ad.size, but it's a solution quite short-seight

    Also - you are not able to create the model with transparent background by removing style = "" background-color: $BG ' as it also throws errors - is the only solution that I managed to get updates style = "background-color: $BG; background: none; ", but it's a really bad way of coding things.

    It would be really great to have freedom in changing patterns.

  • Questions about the implementation of clusters of storage and DTS on active cluster

    I have a few questions about the implementation of clusters of data store and SRS storage in VSphere 5.1.

    We have a data center with about 15 HP blades and a few servers non-lame.  The hosts are all either VSphere 5.0 or 5.1.  Our back-end storage is an EMC VNX 5700 with about 20 stores of data.  All the VMWare is managed by VCenter 5.1 running on a dedicated physical machine.

    Currently, each data store is used individually; No piles of data store are put in place.  When a new virtual machine is created, the administrator usually chooses the data with the most space store.  Periodically, we will go back and manually storage vMotion machines to balance the load.

    Recently, we have expanded the VNX storage, so we now have LUNS in different pools, with different levels of performance.

    What I would do is set up for the data store clusters, so that us when a virtual machine is created, the administrator must not know what data store is in which pool.  Also take advantage of the DRS storage so that the burden of storage will be "refine" himself a little.

    I know the setting up of a cluster of storage in a 'clean' environment is quite simple, but my concern is creation/conversion data warehouses existing in active production in the cluster, while they are used.

    If I access the screen "data warehouses and store data from clusters ', right-click on the data center and create a cluster, and then move the various data stores in the new cluster, will there be an interruption in the production running systems?

    I also wonder about activation of storage i/o control.  It is not currently enabled on data warehouses.  I know it's useful for the StorageDRS, but will be allowing any negative impact on the system?  If I turn on the warehouses of data, is there anything else I should do or set in addition to all that allows him?

    Finally, we are in the process of Site Recovery Manager configuration.  SRS has an impact on the configuration of the data clusters and DTS store?

    Thanks in advance for your comments.

    Mike O.

    Gregg Robertson wrote:

    Hello

    Clusters of data and using DTS store doesn't impact RS even if you create a cluster of data store for storage of replicated data and another for everyone else, this way you machines virtual you want to replicate are not moved on warehouses of data that are not replicated , but will still have the ability to move if there is a conflict.

    Gregg

    With all due respect but SRM and DTS don't go together. SRM does not at all support the use of DTS. So if you are configuring SRM forget DTS for now.

    Reason for this is that SRM knows no DTS and VMs can be in flight when a failover should occur, and bad things can happen. Also, the protection breaks when a virtual computer is moved between data warehouses in a cluster data store.

    In short: don't go there.

  • a few questions about the migration of content/web content

    Hi all


    I have a few questions about the migration of the website and content (from development to test) which are not specified after reading the oracle documentation.

    -> When we make the site replication will be migrated content (data files).

    -> when we move will contained all the ED and RD etc (any object type web site migrated).

    --> are the two the necessary step for migration when we migrate web site.


    Thank you

    -Yves

    --> When we make the site replication of the content will be migrated (data files).

    It depends on how you do it. The tool 'Site Studio Replicator' won't move any content, only the structure of the site. The 'Manage replication Site' page can be used to migrate content with the structure of the site but I do not recommend for large sites, I use separate tasks to archive to move the content. "Backup and restore" page stores the entire site in a ZIP file, not advisable for large sites.

    --> When migrate us content will be all ED and RD etc (any object type web site migrated).

    Yes. It uses the metadata xWebsites field to identify the elements that belong to the site.

    --> are the two the necessary step for migration when we migrate web site.

    Depends on how you do it, but yes, all bits are needed.

  • Question about the database to use with ESX and Labmanager

    Hello

    Finally my company is buying a permit for Labmanager and ESX server using Labmanager to our tests.

    We had a question about the database that we use for the actual installation.

    Could we use MY - SQL? Or that we have the olbigation to install a SQL or Oracle DB for the whole system to work?

    We prefer to use MY_SQL because it is open-source and will cost less to use for us.

    Thanks in advance for the answer and please excuse my bad English, I'm french spoke first.

    Lafa91

    Montreal.

    Lab Manager installs SQL Express as part of the installation and use. If you install also Virtual Center as part of your deployment of Lab Manager (do not use an existing VC server), you can use the database SQL Express is included for small installations of ESX, but MY SQL is not an option. You can search the databases supported in the installation guide for what version you deploy.

  • Question about the tools Panel...

    I have a question about the Panel edge tools animate:

    In the future, edge animate will have a rich set of drawing tools? At the moment, so wanted to have a symbol, lets say a 'dog', I would have to draw everything first in Illustrator or Photoshop, and then import it into Edge animate (because EA basically allows me to draw rectangles and circles only). In future versions, will there be tools like 'Pen tool' or 'Gum' and other drawing tools know Flash Professional to create symbols?

    Thank you

    JH

    Hi JH,.

    Sorry, but we can't comment specifically about whether or when any functionality in the future versions of edge animate. What we can do, is listen to feedback from our users, and to add feature requests for the EA team who can be considered for future versions of edge animate.

    When new releases are published, there is also a list of the new features added... so stay tuned!

    Thank you

    Joe

  • Question about the sizing of the portalControlTreeCache

    I have a question about the sizing of the WLP caches that are based on the number of users of the portal in general and the portalControlTreeCache in particular. Are the caches replicated on servers managed in a cluster, or specific to each server? So if I have 4 servers in the cluster, and the maximum number of users at the same time for my application I expect 10000, I can set the size of the cache to 2500 + -, or should I size to 10000 + -?

    Thank you!

    Cache is not replicated on the nodes in the cluster. The number of entries in cache per cluster node will vary with load balancing algorithm and your stiffness of the session. You should also take into account what might happen if a cluster node is taken offline and users of this node now failover to the secondary server. But as a general rule, your thought process is accurate about 100,000 concurrent users / 4 knots = 2500 users per server. Note that only users who have personalized their desktop will get a controlTreeCache entry. No custom desktop computers share a single controlTree cached.

  • Question about the purchase of policies in China for commercial purposes

    I have several questions about the purchase of policies. Our company is in CHINA

    1. we have our own product which has LCD display to display certain information with different languages (Chinese, English, German, French, Italian, Spanish, Portuguese and Russian). We need to use Adobe Heiti Std fonts for the Chinese language by commercial purposes. I tried this font in Adobe? Do Folio police 11.1, but is not in this library, your partner gold in China told me this font is part of Adobe Production Premium CS5.5, which we have already purchased from Adobe, it is used freely by the user.

    It is true that we can use the fonts Adobe Heiti Std freely and even for commercial purposes in many products?

    If this font is not free, how can I buy it for commercial purposes in many products? Could be he you pls tell me the person/company contact email or phone number.

    2. we need to use Eurostile LT font for the English language by commercial purposes as well. Is it Eurostile LT available for German, French, Italian, Spanish, Portuguese and Russian as well? and I can not find do Folio 11.1 as well. But some Eurostile Std * fonts appear in the list.

    Use font Eurostile LT? freely for user

    The police in the Adobe product package, but it is not in the Adobe typotheque (Adobe? Do Folio 11.1), then it can be used freely even for commercial purposes in many products?

    Thank you in advance.

    Unfortunately, none of these fonts is available for the user interface of the product. Although Adobe has two of them, we have not the right to sell OEM licenses or the other.

Maybe you are looking for

  • Satellite Pro 4600 dark screen

    Hello I use an old satellite pro 4600. If I try to use them in the operation of the line, the screen is always black. Even if I press the sleep button, it becomes only completely briefly (1-2 seconds) sound, then immediately again darkly. If I use th

  • Partition SD card problems

    I have a laptop Hp Envy (product number: E1P05AV). Recently, I partitioned a sd card, I had so that I could start a recovery of the disk. It turned out that the start menu has not even listed. I know that I did something with it, but this isn't the p

  • How to activate bluetooth on Satellite P200 Manager - 1C7

    I installed a bluetooth dongle on my Toshiba Satellite P200 - 7 1 so I downloaded the bluetooth Manager and battery bluetooth.Or when I tried to use the bluetooth Manager, he says there's 25-day trial. So I wanted to know how to activate the bluetoot

  • How can I remove a single file from a folder of bookmarks

    How can I remove a single file from a folder of bookmarks

  • Printer repeated problem

    Whenever I try to print on my Laserjet F2400 3-in-one, I have Windows 7, I get a message of "on paper" and the little flashing lights on the front of the printer.  I cancel the print queue, remove paper, and reinsert and try again, but the same messa