URGENT:Accidently copied over code and saved-how do i get the original back

Hi,
I accidentily copied over the code of one program, with the code of another & saved.
Now i can't get the original back!!! What do i do?
Please help!

Open the prog in SE38 (in change mode).
From menu bar- Utilities > Versions
Select the previous version of code and press RETRIEVE.
Follow the prompts.
This ASSUMES that a previous version has been saved/transported.
If not, you are out-of-luck.

Similar Messages

  • ADF and JQuery: How can I get the data back to server listener.

    Jdeveloper 11g Version 11.1.1.2.0
    I use Jquery to draw the signature. How can I get the svgOutput back to my server listener.???
    e.getSource give me the error e.getSource is not function.
    Both of function saveSignatureCapture(which calling from ADF button) and $('#save-output').click(function (event) can not send the the data back to my server listener.
    Thanks.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="dSignature" title="Signature Capture">
          <af:resource type="javascript" source="../resources/lib/jquery/jquery-1.4.2.min.js"/>
          <af:resource type="javascript" source="../resources/js/jquery.drawbox.js"/>
          <af:resource type="javascript">
            var svgOutput = '';
            function saveSignatureCapture(e) {
                var signatureText = $('#drawbox-data').val();
                var source = e.getSource();
                var type = 'saveSignatureCapture_ServerListener';
                var immediate = true;
                var params = {
                    signatureText : signatureText
                AdfCustomEvent.queue(source, type, params, immediate);
            function beginSignatureCapture(e) {
                $('#drawbox').drawbox( {
                    caption : 'This is a caption', lineWidth : 3, lineCap : 'round', lineJoin : 'round', colorSelector : true
                $('#view-output').click(function () {
                    svgOutput = window.open('data:image/svg+xml,' + $('#drawbox-data').val());
                    svgOutput.document.close();
                    return false;
                $('#save-output').click(function (event) {
                    var signatureText = $('#drawbox-data').val();
                    var source = $(document);
                    var type = "saveSignatureCapture_ServerListener";
                    var immediate = true;
                    var params = {
                        signatureText : signatureText
                    AdfCustomEvent.queue(source, type, params, immediate);
                    return false;
            $(document).ready(beginSignatureCapture);
          </af:resource>
          <af:panelStretchLayout id="psSignature">
            <f:facet name="bottom"/>
            <f:facet name="center">
              <af:panelGroupLayout id="pgSignature" layout="vertical">
                <f:verbatim>
                  <div id="divSignature">
                    <canvas id="drawbox" width="600" height="200">
                      <p>Your browser does not support &lt;canvas&gt;</p>
                    </canvas>
                  </div>
                  <br/>
                  <br/>
                  <a href="#" id="view-output">View Rendered SVG Output</a>
                  <br/>
                  <br/>
                  <a href="#" id="save-output">Save Signature</a>
                </f:verbatim>
                <af:spacer width="10" height="10" id="s10"/>
                <af:panelGroupLayout id="pghl14" layout="horizontal" halign="center">
                  <af:commandButton text="Save Signature" id="cbSaveSignatureButtonId" partialSubmit="true">
                    <af:clientListener method="saveSignatureCapture" type="click"/>
                    <af:serverListener type="saveSignatureCapture_ServerListener"
                                       method="#{backingBeanScope.mainBackingBean.saveSignatureCapture_ServerListener}"/>
                  </af:commandButton>
                </af:panelGroupLayout>
              </af:panelGroupLayout>
            </f:facet>
            <f:facet name="start"/>
            <f:facet name="end"/>
            <f:facet name="top"/>
          </af:panelStretchLayout>
        </af:document>
      </f:view>
    </jsp:root>Edited by: user553450 on Sep 17, 2010 4:02 PM
    Edited by: user553450 on Sep 17, 2010 4:13 PM

    Hi Frank,
    Thank you so much for your advice, I got lot of knowledge from your book and articles since I am in transition from forms to JDeveloper.
    By surrounding <af:panelStretchLayout id="psSignature"> with <af:form id="f1">
    Now the following code is work on Firefox, everything fine, I can get the data back and call my server listener as I expected.
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" title="Signature Capture">
          <af:resource type="javaScript" source="../resources/js/excanvas.js"/>
          <af:resource type="javascript" source="../resources/lib/jquery/jquery-1.4.2.min.js"/>
          <af:resource type="javascript" source="../resources/js/jquery.drawbox.js"/>
          <af:resource type="javascript">
            function saveSignatureCapture(e) {
                var signatureText = $('#drawbox-data').val();
                alert(signatureText);
                var source = e.getSource();
                var type = 'saveSignatureCapture_ServerListener';
                var immediate = true;
                var params = {
                    signatureText : signatureText
                AdfCustomEvent.queue(source, type, params, immediate);
            function beginSignatureCapture(e) {
                var cmd = "$('#drawbox').drawbox({lineWidth:3,lineCap:'round',lineJoin:'round',colorSelector:true});";
                if (navigator.userAgent.indexOf('MSIE') !=  - 1) {
                    setTimeout(cmd, 1000);
                else {
                    $('#drawbox').drawbox( {
                        caption : 'This is a caption', lineWidth : 3, lineCap : 'round', lineJoin : 'round', colorSelector : true
          </af:resource>
          <af:form id="f1">
            <af:panelStretchLayout id="psSignature">
              <f:facet name="bottom"/>
              <f:facet name="center">
                <af:panelGroupLayout id="pgSignature" layout="vertical">
                  <f:verbatim>
                    <canvas id="drawbox" width="600" height="200">
                      <p>Your browser does not support &lt;canvas&gt;</p>
                    </canvas>
                  </f:verbatim>
                  <af:spacer width="10" height="10" id="s10"/>
                  <af:panelGroupLayout id="pghl14" layout="horizontal" halign="center">
                    <af:commandButton text="Save Signature" id="cbSaveSignatureButtonId" partialSubmit="true">
                      <af:clientListener method="saveSignatureCapture" type="click"/>
                      <af:serverListener type="saveSignatureCapture_ServerListener"
                                         method="#{backingBeanScope.mainBackingBean.saveSignatureCapture_ServerListener}"/>
                    </af:commandButton>
                  </af:panelGroupLayout>
                </af:panelGroupLayout>
              </f:facet>
              <f:facet name="start"/>
              <f:facet name="end"/>
              <f:facet name="top"/>
            </af:panelStretchLayout>
          </af:form>
          <af:clientListener method="beginSignatureCapture" type="load"/>
        </af:document>
      </f:view>
    </jsp:root> However, I got the error following error when I run the page from IE8.
    Assertion failed: Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent.AdfRichCommandButton[oracle.adf.RichCommandButton] id=cbSaveSignatureButtonId StackTrace:function(x217)[AdfRichCommandButton[oracle.adf.RichCommandButtonId]..........
    FYI, the following simple testing code has the similar error in IE8 too (not for Firefox).
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:resource type="javaScript" source="../resources/js/excanvas.js"/>
          <af:form id="f1">
            <f:verbatim>
              <canvas id="drawbox" width="600" height="200">
                <p>Your browser does not support &lt;canvas&gt;</p>
              </canvas>
            </f:verbatim>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>The error is: Assertion failed: Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent.AdfRichDialog[oracle.adf.RichDialog] id:::msgDlg StackTrace function(x217).......
    Your advice is very much appreciated.

  • Exporting 7 min. video from Aperture and received error.  How can I get the original back?

    I uploaded a video from my iphone 5 into Aperture and then I tried to export it to my desktop.  After I clicked on Export, it attempted to export for a while but then gave me an error message saying that 0 of 1 videos was exported and it couldn't export.  Now it shows the video in the album in Aperture, but it won't play and I can't do anything with it.  I have tried to recall the original but it says there is no original and it says there are no referenced files when I try to reference the files.  The clip also shows an arrow pointing to the right with a yellow triangle by it.  This is located in the bottom right of the image, right next to the video icon.  My concern is that I tried to export the original.  Any ideas on how I can fix this and get the video back?

    The clip also shows an arrow pointing to the right with a yellow triangle by it.  This is located in the bottom right of the image, right next to the video icon.
    Is that the badge you are seeing? Then Aperture has lost the connection to the original video file.
    Now it shows the video in the album in Aperture, but it won't play and I can't do anything with it.  I have tried to recall the original but it says there is no original and it says there are no referenced files when I try to reference the files. 
    You tried to reconenct and locate the referenced file? Then you probably imported the video as "Managed" and then the commands for referenced files do not work.
    Look directly into your Aperture library package, if the video is still there:
    Select the Aperture Library in the Finder and ctrl-click(or right click) it.
    Then select "Show Package Contents" from the pop-up.
    In the Finder window that opens scroll down to the "Masters" folder and open its subfolder "2013" and then go to the month and day, when you imported your video. Do you see your video there, or any imports at all?
    If you see the video in your library package, copy it to the Desktop, ad check, if you camn play it.
    What do you see?
    Regards
    Léonie

  • Why has my icon changed to an A on my Mac dashboard and how do I get the original back?

    The Firefox icon (fox /earth) which has been on my Mac's Dashboard forever has changed to a stylized "A" made up of a ruler pencil and brush. I know not why. I would like to revert to the original. Why has this happened and how can I go back. I'm using version 9.0.1 on a Mac with OSX 10.6.8.

    Hi bitoruf,
    I've seen this happen periodically, but it's pretty easy to fix. Just delete the icon from your dock. Then recreate it by dragging the Firefox icon into the doc from the applications folder.
    Hopefully this helps!

  • IPad 1 - Deleted app, tried to reinstall, but later version is only available which does not work on iOS5.  How do I get the original back?

    Deleted App on my iPad 1.  Tried to reinstall - but app has been updated and only works on iOS6 now. 
    Have gone to app store and looked under "purchased", again only the updated app is available which doesn't work on my device. 
    How do I get back the original version which worked on the earlier version of iOS?
    I do not have a copy of the app in iCloud.
    Thanks

    The only possible way that you could get it back is if the app is still in your iTunes library. If you don't sync with iTunes and it is not in your iTunes library, unfortunately, your version of the app is gone now.

  • Mail 6 DID NOT save my rules and signatures: how do I get the RULES back?

    When I had the UNFORTUNATE idea to switch (that is to DOWNGRADE imho) from 10.6.8, the new Mail, among the MANY PROBLEMS IT CREATED TO ME (see my other posts about blocked plug-in messages, etc.), DID NOT care at all about saving my signatures and rules.
    I found the signatures as webarchives in user/library/mail/v2/mail data/signatures, and just clicked on each one and did LOTS of TIME CONSUMING copy-paste to CREATE new signatures from within mail preferences.
    I wasn't able to do the same for the MANY rules I had.
    Also, in the previous Mail, it was possible to simply do a command-f inside the To or Bcc fields to check if I had forgotten someone. Now it is NOT POSSIBLE any longer. Anyone knows ho to re-establish that possibility?
    Any help would be appreciated.

    I went back to the MUCH BETTER Snow Leopard and I have NONE of the problems I encountered with the windoz-like "lions", I have my fast and perfectly functioning computer and system with 10.6.8

  • I accidently deleted "recently added" how do I get the section back?

    I accidently deleted "recently added" in itunes how do I get the section back?

    See this: https://discussions.apple.com/docs/DOC-2782#RecentlyAdded
    You should add in a rule to only use items from the Music playlist.
    tt2

  • My icons on my desktop are white with an @ sign in them. How do I get the originals back?

    I have 2 questions:
    1.     How do I find out how much usable memory I have Left on my computer?
    2.     The icon on my desktop have a @ in them how do I get the original back?

    1. Open a Finder window and it will tell you how much free space you have on your hard drive - which I presume is what are referring to, memory is RAM.
    2. Try repairing permissions, then restarting.

  • Hi, i accidently erase my notes and settimg , how can i get them back?

    Hi, i accidently erase my notes and settimg , how can i get them back?

    If you had a back-up created you can simply restore from your back-up.
    This article may help, http://support.apple.com/kb/HT1414
    If you don't have a back-up you will unfortunately need to input all of your settings again.

  • I changed the passlock screen somehow and now it's grey and boring when I type my code in how do I get the colours back?

    I changed the passlock screen somehow and now it's grey and boring when I type my code in how do I get the colours back?

    You're welcome.
    Be aware, eye candy ***** more battery.

  • HT1349 my PC crashed, so i reinstalled windows and itunes. how do i get my music back?

    my PC crashed, so i reinstalled windows and itunes. how do i get my music back?

    If the music was purchased from iTunes you can redownload it for free (http://support.apple.com/kb/HT2519).  If not you will either have to re-import all your music to rebuild your library, or purchase 3rd party software that can transfer it from your phone to iTunes such as Touch Copy.

  • I've purchased 9 songs from iTunes and a week later I decided to factory reset my iMac. How do I get the songs back?

    I've purchased 9 songs from iTunes and a week later I decided to factory reset my iMac. How do I get the songs back?

    If for some reason you have failed to maintain a backup copy, not good, then you can redownload some itunes purchases in some countries:
    Downloading past purchases from the App Store ... - Support - Apple

  • I backed up my iphone and lost my contacts on the phone.  Any ideas of how I can get the contacts back?

    I backed up and sync'd my phone and lost my contacts on the phone, how do I get the contacts back onto the phone?

    If you restore then you will lose everything on the phone including pictures etc
    Have you backed up the phone previously to where your documents, pictures and contacts are saved?

  • I just noticed that some of the movies I had in iTunes did not get transferred to the iPhone. The missing movies are shown as generic movie icons in the iTunes panel. How do I get the original movies to show up again and transfer to the iPhone?

    I just noticed that some of the movies I had in iTunes did not get transferred to the iPhone 5. The missing movies are shown as generic movie icons in the iTunes panel and are checked to select them. But they do not show up in iPhone Videos. How do I get the original movies to show up again and transfer to the iPhone? I recently upgraded Mac OS to 10.6.8

    1. iTunes won't offer cloud downloads for songs that it "thinks" are in your library, even if it "knows" the files are missing. If you've exhaustively searched for the missing files and there is no prospect of repair by restoring to them to their original locations, or connecting to new ones, then delete that tracks that display both the missing exclamation mark and are of media kind Purchased/Protected AAC audio file. Don't hide from iTunes in the cloud when asked, close iTunes, then reopen. You can download from the cloud links or iTunes Store > Quicklinks > Purchased > Music > Not on this computer > All songs > Download all.
    2. Why? Not sure, perhaps 3rd party tools or accidental key presses combined with previously hidden warning messages when trying to organize the library. There is a hint that using the feature to downsample media as it is synced to a device may also be involved, though I've not replicated it. Whatever the reason a backup would protect your media.
    tt2

  • I am having difficulty: we are running a windows server 2003 - mail and outlook support 2007 and upwards, how do I get the brand new apple machines to work with the 2003 version of server

    I am having difficulty: we are running a windows server 2003 - mail and outlook support 2007 and upwards, how do I get the brand new apple machines to work with the 2003 version of server

    I may be way out, but do you know about this product, would it help integrate the Macs for you.
    https://www.thursby.com/sites/default/files/images/ADmitMacv8_SPD.pdf

Maybe you are looking for

  • Is it possible to upgrade my graphics card on my macbook pro retina?

    I have a macbook pro retina 15" (mid 2012). Specs given below: I recently checked the apple site and noticed that the new macbooks have a Nvidia 750M graphics card. Is it possible to replace my 650M with the 750M?

  • Trying to copy and paste from word

    Hi.  I've copied fifteen pages from a Word document, and I'd like to paste the whole thing into an InDesign Document with the text automatically flowing all the way to the end - just looking for simple full page rectangular text areas - nothing fancy

  • Material Posting Date & Usage

    Hi Gurus, My requirement is to desing a new sales and usage of Materials for a Paticular plant. In this report i need to show Posting Date in selection screen, And please let me know how we will find out the usage of the Materials. Thankyou in advanc

  • 2lis_02_item

    All,     My customer runs  trasaction s_alr_87012620 in R3 and looks at how much they have spent. I have source data 2lis_02_itm which I report on in BW. The figures are not even closed. My question is what is a relationship/s if any between the R3 t

  • Cannot install Flash player 11 on Mac using 10.6.8

    I have IOS 10.6.8.  I had Flash player 10 installed but when trying to install FP 11 it asked me to uninstall the previous version.  I did it.  I have downloaded FP 11 but it does nothing!  I cannot what you tube videos nor any other that plays using