Save Warning process

I wanted to give the users a warning message if they tried to exit a page without saving. I had implemented the 'WarnSave' procedure I saw in the forum threads. It works great except for date fields. If the user hits the 'Calendar' image that show next to a date, the warning alert pops up. Any suggestions?
<script type="text/javascript">
function WarnSave()
var formChanged=isFormChanged();
if (!g_saving && formChanged) return g_errmsg;
function isFormChanged() {
var rtnVal = false;
var frm = document.wwv_flow;
var ele = frm.elements;
for ( i=0; i < ele.length; i++ ) {
if ( ele.type.length > 0 ) {
if ( isElementChanged( ele, i ) ) {
rtnVal = true;
break;
return rtnVal;
function isElementChanged( ele, i ) {
var isEleChanged = false;
switch ( ele[i].type ) {
case "text" :
if ( ele[i].value != ele[i].defaultValue && ele[i].style.backgroundColor == "yellow" ) return true;
break;
var g_saving = false;
var g_errmsg="There are unsaved changes on this page.";
g_errmsg += "\n- To save your changes, click the Cancel button, and then click on the Submit button.";
g_errmsg += "\n- To disregard your changes, click on the OK button.";
function doSave()
g_saving=true;
doSubmit('SAVE');
function doCreate()
g_saving=true;
doSubmit('CREATE');
function doCancel()
g_saving=false;
doSubmit('CANCEL');
</script>

Bob,
Great, let me know when it's up. Also, I'll need some credentials. As for jQuery, I too have heard that it will be included with a future release. I don't want to speculate, however, as to when. But adding jQuery is such an easy thing to do I wouldn't wait to make this change. In fact, I was planning to look at your example and make a newer version with jQuery code. The reason being that there are many different item types in an ApEx application and I don't know if that code is the best way to go. It should be fun to rewrite in jQuery.
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen

Similar Messages

  • How to save business processes structure and monitoring parameters?

    Hi dears!
    I've got a little question -is it possible to save business processes structure and monitoring parameters as a local file?
    Thanks in advance!

    One way to resolve this problem is use the method commit_and_refresh as shown below.
       data: lv_dest           type rfcdest.
        cl_hrrcf_m_rfc_services=>commit_and_refresh( lv_dest ).

  • Warning: PROCESSES may be too low for current load

    Hello,
    I have 64 bit centOS Server and have oracle 10g installed on it.
    We have 8GB RAM and 64 bit Server but we were able to install oracle on 2GB SGA only.
    From few days I am facing following error:
    Warning: PROCESSES may be too low for current load
    shared servers=114, want 8 more but starting only 1 more
    Warning: PROCESSES may be too low for current load
    shared servers=114, want 8 more but starting only 1 more
    Warning: PROCESSES may be too low for current load
    shared servers=115, want 8 more but starting only 0 more
    I have executed following commands:
    ALTER SYSTEM SET max_shared_servers=200 SCOPE=MEMORY;
    ALTER SYSTEM SET circuits=300 SCOPE=MEMORY;
    But I am still getting the same error,and server average load goes too high and needs a oracle restart.
    Please let me know in case any one has solution for this problem. Its urgent.
    Thanks in Advance.

    Sir ,
    please see the output of the below query .
    this error had found today early morning when rman backup get start .
    SQL> show parameter process
    NAME TYPE VALUE
    aq_tm_processes integer 0
    db_writer_processes integer 1
    gcs_server_processes integer 0
    job_queue_processes integer 10
    log_archive_max_processes integer 2
    processes integer 500
    SQL> select count(*) from v$process;
    COUNT(*)
    93
    SQL> select count(*) from v$session;
    COUNT(*)
    94
    the error msg in the alert log file is
    Warning: PROCESSES may be too low for current load
    shared servers=1, want 1172 more but starting only 405 more
    Edited by: user9353210 on Jan 4, 2011 9:30 PM

  • Odd Save Warning in Keynote

    I clicked to save a Keynote file tonight (v. 5.04) and I received a program warning message I've never seen in a year of working with Keynote '09--basically, "This file was changed by a different program. If you save this file in Keynote, you will not be able to keep those changes." I have no idea what that other program would be. I had been working on the same Keynote presentation just a couple of hours earlier at work, but on the same computer. I nevertheless thought perhaps it might be my iDisk sync causing a disconnect of some sort, because I run my all of my docs right out of my local iDisk folder. But when I tried syncing and re-syncing and reviewing the Keynote file on my iPhone, I still could not replicate the warning message.
    What gives? The Keynote presentation seems fine, but I would like to know why Keynote thinks a different program has accessed and changed it.

    I'm disappointed not to see any response here... I'm getting the same error message you did after migrating to a new Macbook Air 11". NEVER have seen this one since starting with Keynote v1.0.
    These discussion groups are awesome and if one of us is posting, it generally means LOTS of people are having the same issue. If you find an answer please email me at [email protected]

  • I'm new user. I like to acquire, save and process the dynamic signal data

    My signal is from 5-10KHz and I'm using NI4551. I would like to acuire data for 5-10 sec, save it on the file and then perform frequency spectrum analysis. I realy appreciate if somebody refers me a vi, that I can modify to perform this particular task.
    Also I know there are good examples in Labview 6.1 but I don't know which would be appropriate for my application, and how to integrate separate vi's and achive my task.
    Thanks for the help

    In this case, you will not be able to use NIDSA.
    In order to program the 4451, you need to use the NIDAQ functions that are available in LabVIEW.
    I attach an example that shows how to save data acquired on a single channel to disk.
    Things you may want to add are :
    - Gain (input limits) depending on your sensor
    - AC/DC coupling
    I also compute a power spectrum on the whole waveform.
    You probably want to analyze your data in smaller blocks or analyze transients and modifying this example should be very easy.
    Please note I've been using the "waveform data type" to save data to a file in binary format.
    If you want your data to be "readable" by humans (ie save in XLS file format), you will have to use the "Export waveform to
    spreadsheet file" available in the waveforms manipulation palette
    I also would like to point you to the "Sound and Vibration 2.0 toolset" user manual :
    http://digital.ni.com/manuals.nsf/websearch/AC7BC1​9618C720BD86256BB2005AB842?OpenDocument&node=13210​0_US
    You may find useful information about signal processing in this manual.
    Hope this helps !
    Gerald
    Attachments:
    4451_Save_and_Process.vi ‏75 KB

  • Creation of Purchase Order soon after Relase or Save of Process Order

    Hi,
    I have a requirement wherein client wants Purchase Order needs to be created soon after Relase or during Saving of Process Order. How this can be done..Is there any standard way or enhancement options. If enhancement how to go about it?

    It's related direct procurement with By using the special procurement key, you can combine direct procurement with other special procurement types. The material will then be planned differently, depending on whether it is planned as a BOM item or as a finished product.In Customizing, the system creates a special procurement key for direct procurement as standard. The special procurement key contains the procurement type F for external procurement and the Direct procurement field is selected.
    Hope this can help.
    TQ.

  • Psd file save as process

    trying to save a psd file in an esp format, but the only options being given to save the file are: psb, exr, raw, tif, and two others.  Cannot work it out.  Any suggestions please

    The file formats available will be limited by the document you are editing.
    If EXR is available, that means you have a 32 bit/channel document - which might not be what you wanted.
    I'm not sure what ESP format is, did you mean EPS?  It only supports 8 bit/channel data.

  • COR2 User Exit at Save for Process Order Manipulation

    I am trying to find a User Exit where I can manipulate fields at the item level, specifically batch or CHARG.
    PPCO0007 seems to only have the header fields,  batch is an item level field. Other exits seem to already save the order prior to my making the change.
    Any suggestions will help.
           Thank-You.

    Dear,
    User exit ZXVBZU02 assign value to RESB-CHARG first
    BAdI WORKORDER_UPDATE, and put break-points in method AT_SAVE, AT_RELEASE, IN_UPDATE
    Please refer this thread,
    User exit for transaction code COR2
    Regards,
    R.Brahmankar

  • LIBTUX_CAT:216: WARN: Process 222476 died; removing from BB

    Hi all ,
    can any one tell me what is the significance of this error message or why this error message is coming in the ULOG?
    Nadeer

    Nadeer,
    To make sure a core file to be dumped on AIX:
    1. use "syscorepath -g" to see where the core file will be dumped. If the output is empty, the core will be dumped to the current directory of the process.
    2. You may use "ulimit -c" to see and specify core file limitations. Although I think the default value on AIX 5 is enough in most cases, you may set "ulimit -c unlimited" anyway.
    3. Also you may need to make sure the disk quota is big enough.
    4. If the core file still not dumped, as the last resort try "chdev -l sys0 -a fullcore='false'" to disable full core dump, which needs more disk than normal core dump.
    howie

  • Batch processing: save processed file with same name to different location without moving the original

    Hi, I would like to denoise Voice Over files with help of Auditions Batch Process. However, I have to save the files with the same name as the original, so that I can simply relink them in Premiere. Since I do want to keep the originals, I would like to save the processed files to a different location.
    Unfortunately, Batch Processor adds " Copy" to the processed files and moves the originals along with the processed files to the new folder (causing Premiere to loose the original files).
    Can I achieve my goal with Batch Processor, and how would I have to configure it?
    Kind regards,
    Andreas

    Which version of Audition are you using? The latest ones allow you to specify where the batched files are saved and also if any Prefix or Postfix are added to the file name. These are all under Export Settings in the Batch Process pane. However you must have the Export box ticked to give you access to the settings.

  • How to Save Process Chain definition

    Hi all,
    Is it possible (and if so: how?) to save a process chain
    definition as a grafical file (or: preferable as a Visio compatible file)?
    Best regards,
    Jos

    `Visio compatable' file... Bad, very bad English...
    Should be: Visio compatible file...
    Visio (now from Microsoft) is 'basically' a graphics chart program (diagrams in all kind of versions/types).
    I will try the JPEG option and/or the grabber.
    Thanks!
    JJ

  • I can't save Process Component Interaction Model

    Hello together,
    unfortunatly I have a big problem to save a process component interaction model. Sometimes it works and sometimes I get the error message (there is no special behaviour to get that error):
    "Save operation is not possible. Internal error: An item in the database has already been deleted."
    What item is deleted? What does that error message mean?
    Thanks for your ideas.
    Regards,
    Yvonne

    Make sure you're not trying to save to the cloud.  Have a look on here for this error and you'll see it's quite common
    It could be when your Mac is trying to sync with the cloud.  Turn this off and see if it fixes your issue
    Everytime I try to save a document in .pages it tells me: The file “Untitled.pages” couldn’t be opened.  All I want to do is save it.. not open it.. help! Any ideas??

  • Process chain activation error in BI7...

    hi gurus,
    we are creating process chain for master data for
    0PROMOTION_ATTR
    0PROMOTION_TEXT
    0SALESORG_ATTR
    0SALESORG_TEXT
    0CUSTOMER_ATTR
    0CUSTOMER_TEXT
    0VTYPE_TEXT
    0DIVISION_TEXT
    0SALES_GRP_TEXT
    0DISTR_CHAN_TEXT
    0CUST_GROUP_TEXT
    0SALES_OFF_TEXT
    0MATL_GROUP_TEXT.
    we have created 1 start process and then execute info packages and DTP'S and used 'OR' conditions to connect to Attribute change run.
    while i try to save my process chain its giving warning that 'Add at least one process to the chain before saving' and when i try to activate the chain its giving below error
    Chain has no starter. Add a starter.
    Message no. RSPC020
    Diagnosis
    The process chain has no start-process. A process chain always requires exactly one general starter.
    System Response
    The system is unable to activate the process chain.
    Procedure
    Add a general starter to the chain, and schedule it as the first process in the chain.
    please suggest me how to rectify the problem.
    regards

    Hi Harish,
    Will you please goto process chain start varint and give the new varint for that and try to execute it once again..it will work for you...
    If you could check once the check button all will be green and you can able to activate the process chain...I hope you are maintained the infoobjects in attr bute change run...problem might be with the start varint ionly...change the start varint and if you could not able to activate please let me know....
    Regards
    Srini

  • App.Alert for "Save As" Actions

    Hi,
    I am trying to set up an app.Alert for the "Save As" menu action. I do not want the alert to appear when the User "Saves", only on "Save As".
    The app alert will be a warning, with an "OK" button, allowing the User to proceed with the "Save As" process.
    Thanks in advance,
    Niall

    Hi,
    Would anyone have any solutions for this problem?
    I have put in script to objects, but not within the inner workings of Lifecycle Designer.
    I need to get this Warning Message working for Save As event.
    Any help gratefully received.
    Thanks,
    Niall

  • Reg. process chains

    Hi
    Will any one send step by step to do process chain. I am getting stuck in middle.
    Please help.
    Thanks.
    regards
    Sridhar
    [email protected]

    Hi Sridhar,
    What exactly you mean by saying "to do process chain". If you want to know the steps to create a process chain, here are the guidelines:
    In the BW Administrator Workbench:
          1.      Choose the  Process Chain Maintenance icon from the AWB toolbar.
    <i>The Process Chain Selection dialog box appears.</i>
           2.      Choose Create.
           3.      Enter the technical name and a description of the chain, and confirm your entry.
    <i>The Add Start Process dialog box appears.</i> 
         4.      Create a variant for a start process.
                    a.On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
                    b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    <i>The Maintain Start Process screen appears again.</i>
                    c. Save your entries, go back to the previous screen and confirm your entries in the Add Start Process dialog box.
    <i>The  Plan View of the process chain maintenance screen appears.</i>
    In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
    Note: If the process that you used to create a chain is linked to additional processes by default, the respective process variants are generated and inserted into the process chain automatically. These variants are suggestions and can be changed, replaced or removed from the chain as required. Variant maintenance is called when the change run performs automatic insert.
    You can turn this system response off using Settings  Default Chains.
      5.      Use Drag&Drop or a double-click to insert any additional relevant processes into your process chain.
    Choose  Process Types to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate  InfoSources and   Data Targets navigation trees.
      6.    When you add a process, you need to select a process variant or create a new variant. For collection processes, the system uniquely determines the variants
    Various functions for editing the process are available from the context menu:
    7.      Hold down the left mouse button to connect the processes with events.
    Note: Before you do this, select the process underneath the process type row, and position the cursor over the required process. When you select the process type row, the whole process is moved into the plan view.
    From the context menu of a link, you can display the event or remove the link. To do this, select the link and right-click with the mouse.
    8.      If necessary, specify whether you want the event to be triggered after the previous process has been completed successfully or unsuccessfully, or whether you want the event to be triggered independently of the outcome of the process that precedes it. If the process that triggers the event has more than one option, choose the option after which the successor process is to be run
           9.      Assign a display component to the process chain using <i>Attributes -> Display Components.</i>
       10.      Maintain additional process chain attributes if necessary.
       11.      Check your process chain in the  Check View and make any necessary corrections.
    Note:The  Legend explains the meaning of the different colors used to display the processes and links.
    From the context menu for a process, you can display the messages resulting from the check.
    During the check, the system calculates the number of parallel processes according to the structure of the chain (subchains are recursively taken into account here). The result is compared with the number of background processes on the chosen server (or the total of all available servers if no server is specified in the attributes of the process chain). If the number of parallel processes is greater than the number of available background processes, the system highlights every level of the process chain where the number of processes is too high. The system produces a warning for these levels.
    12.      Save your process chain if it does not contain any errors.
    <b>Result:</b>
    You can activate and schedule your process chain. After scheduling, the chain starts in accordance with the start process selections. For example, if you scheduled the start process directly and chose Immediately as the start date value, the chain run starts immediately after scheduling.  In the  Log View, you can display the reports for the chain runs.

Maybe you are looking for

  • Testing for IS NOT NULL with left join tables

    Dear Experts, The query is showing the NULL rows in the query below.... Any ideas, advice please? tx, sandra This is the sql inspector: SELECT O100321.FULL_NAME_LFMI, O100321.ID, O100404.ID, O100321.ID_SOURCE , O100404.NAME, O100321.PERSON_UID, O1004

  • IE Not Working since system restore!

    So today I found a problem on my laptop so I did a system restore (factory setting) on HP G62. Everything went fine, I was able to reset everything including reloading wireless information with password.  The laptop then did an automatic update (whic

  • HP Pavillion Dv2500 randomly shutting off

    I have had this laptop for a few weeks now and it tonight it started randomly turning off.  when i press the power button to turn it back on it doesnt even get past the screen where you choose safe mode or normal start up.  Then after i restart it a

  • Why is quicktime 10 playing my exported widescreen movie as 4.3??

    Basically, i hooked my dads new canon hg10 HD camcorder (1440x1080) and imported some clips to play with in FCP 6. The software very kindly told me that the new sequence would need changing to adapt to the new video which it did very nicely. So every

  • Calling search Help with parameter/

    I have selection-screen as follows PARAMETERS : p_bukrs1 TYPE bukrs ,              p_kostl1 TYPE kostl . PARAMETERS : p_bukrs2 TYPE bukrs ,              p_kostl2 TYPE kostl . Req: When user press F4 on P_KOSTL1, it should display cost centers only fo