Converting New Code to Old Code

Hi, im running Dreamweaver MX, and im helping my teacher at
school to make a site for our school....i have accuquired some code
from another school site (ours of course) and im trying to get it
to work, and its not.
So how would i convert this new-er code so it can be usable
in the version my teacher has provided me?

Hi,
don't use wildcards when you define a variable (it actually doesn't make much sense). Just use the base class. In your example that would be:
extraData = new HashMap<String, Object>();-Puce

Similar Messages

  • I have just purchased a new iMac and have uninstalled cs6 from my old iMac. Do I just install CS6 as normal or do I need a new code. My licence is for one user

    I have just purchased a new iMac and have uninstalled cs6 from my old iMac. Do I just install CS6 as normal or do I need a new code. My licence is for one user

    Yes, just install as you normally would using the serial number you originally used.
    You did not have to uninstall on the old machine - with your single user license you are allowed to have two activated installations.  So feel free to reinstall it if those are the only two machine you plan to have it on and you'd like to have a backup installation.

  • Moving all records- old  code (G/L/Cust/Vend) to new code (G/L/Cust/Vend)

    Hi Friends,
    I have created a customer code (say for e.g. C001 for  ABC LTD.), and did some SD & FI transactions (data entry) using that code.
    After few days, I realized that this above stated customer code (C001) is not correct. So I blocked this customer code (C001 stated above) from doing further transactions.
    Then, I opened a new code for this same above stated customer (ABC LTD.). The new code is now (say for e.g. C005 for ABC LTD.).
    From now onwards I can do transactions in C005. But I want to transfer (in one shot / in one go) - all the previous old FI & SD transactions / records of C001 into C005.
    SAP provides a standard Transaction Code for doing this in one shot; but I have forgotten that.
    By running that transaction code, I can move all records from old customer code (C001)to the new customer code (C005).
    Can anybody please help.
    Same facility (SAP Standard Transaction Code) exits for Vendor Codes as well as G/L Codes also.
    I mean to say that there are SAP Standard Transaction codes available - one each for G/L / Vendor / Customer
    i.e.
    To move all previous entries / records from old G/L / Vendor / Customer code(s) to New G/L / Vendor / Customer code(s) in one shot / in one go.
    I will definitely reward points to everybody who tell me those TCodes.
    Regards,
    Rajeev.
    Message was edited by:
            Rajeev Sharma

    You can use F-30 to transfer invoices, however you need to consider a few things here.
    If you have billed via SD it may be worth issuing a credit for all of the invoices, and creating a new sales order for the new customer. This will help in the future if you want to analysis the total amount you have sold to this customer, as there may be some rebates due or something similar.
    You could also look at FBR1.
    You can use this to create a copy of the original document and then change the customer or vendor number, you must then also remember to reverse the posting to the first customer.
    Award points if this is useful.

  • Convert as2 code to as3

    Please help me to convert this code..............
    for (i = 1; i <= nextballs; i++)
            nextarray[i] = new Array(0, 0, 0);
            attachMovie("balls", "nextballs" + i, kkk++);
            _loc2.inGame["nextballs" + i]._x = xnext;
            _loc2.inGame["nextballs" + i]._y = ynext + i * 60;
            _loc2.inGame["nextballs" + i]._xscale = 140;
            _loc2.inGame["nextballs" + i]._yscale = 140;

    var nextballs:int = 4;  // <- nextballs needs to be defined, though need not be defined this way.
    for (var i:int = 1; i <= nextballs; i++)
            var nextarray[i]:Array = new Array(0, 0, 0);
    this["nextballs"+i]=new balls();
    addChild(this["ballballs"+i]);
    // xnext and ynext need to be defined and should probably be updated in this for-loop
    // this part of your code makes no sense given your attachMovie() statement.
            _loc2.inGame["nextballs" + i].x = xnext;
            _loc2.inGame["nextballs" + i].y = ynext + i * 60;
            _loc2.inGame["nextballs" + i].scaleX = 1.4;
            _loc2.inGame["nextballs" + i].scaleY = 1.4;

  • Help : To convert Following Code into oracle Stored Procedure

    Hi All
    I m Ajay Patel
    N i m new in Oracle i don't know much abt oracle
    I want to convert following code in to oracle10g ( Procedure )
    This is PHP code n this function abt compound interest.
    $pa,$ri,$sy,$ey :- all are in parameters
    all variable declare with $
    $pa - is principle amount
    $ri - Rate
    $sy - start year - 2009
    $ey - end year - 2060
    function CCI($pa,$ri,$sy,$ey)
              $CCI = array();
              $totalyear = $ey - $sy;
              $ri = $ri/100;
              $ri= 1 + $ri;
              $amt=1;
              for($i=1;$i<=($totalyear+1);$i++)
                   if($i==1)
                        $CCI[$i][0] = $sy;
                        $CCI[$i][1] = $pa;
                   else
                        $powvalue = 1;
                        for($k=1;$k<$i;$k++)
                             $powvalue = $ri * $powvalue;
                        $FinalValue = $pa * $powvalue;
                        $CCI[$i][0] = $sy;
                        $pos = strpos($FinalValue, '.');
                        if ($pos !== false)
                             $FinalValue =     substr($FinalValue, 0, $pos+3 );
                        $CCI[$i][1] = $FinalValue ;
                   $sy++;
              return $CCI;
    Pls Help Me to convert above code in to oracle stored procedure
    Thanks All
    Regards,
    Ajay

    Its time to start reading the Document .

  • Last time i used FFsync it didnt ask me about any key! there was a phrse only which it didnt work now so i generate a new code as ur guide shows me and now i lost all my data! i need them alot, i adopted on your servies :( i need my data so badly plz help

    Last time i used FFsync it didnt ask me about any key! there was a phrse only which it didnt work now so i generate a new code as ur guide shows me and now i lost all my data! i need them alot, i adopted on your servies :( i need my data so badly plz help

    Lord K.  Thank you. Yes I am within the 90 time period, however I travel Intertionally and I can not receive not make a call to Apple. I was just at the Genius Bar in Chicago and they said, don't worry about it.  It just floats out there, however, I can not recover my messages on a flash drive. I need to go back to my old computer which I don't have with me.  My messages were in folders for a lawsuit.  It is going to take an incredible amount of work for me to, you have no Idea.  We are talking thousands of pages!  I the defendent will have them during discovery so I am not so worried.  However, I can not bring them to him on a Flashdrive when I meet with him without an extraordinary amount of presssure on my part.  THis is not just some little email issue. This is suing EXPEDIA and Tripadviosr.com

  • Converting  JAVA  code to JSP

    Hi every one, I am new to JSP I have a code in JAVA which is used to generate an image from a temporary file of size 34.1MB.
    I am unable to convert that JAVA code into JSP,can anyone help me in this regard
    Here is my code
    import java.awt.image.*;
    import java.io.*;
    import java.util.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class ExampleCreate {
        public static void main(String[] args) throws Exception {
            final int H = 2530;
            final int W = 3630;
            int[] pixels = createPixels(W*H);
            BufferedImage image = toImage(pixels, W, H);
            display(image);
            ImageIO.write(image, "jpg", new File("static.jpg"));
      static int[] createPixels(int size) throws Exception{
           int[] pixels = new int[size];
           int[] colors = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,102,104,106,108,110,112,114,116,118,120,122,124,126,0xff0000,0x00ff00,0x0000ff,0x00000f,0xfff000,0xff00ff,0xffffff,0xf00000};
           FileReader fr = new FileReader("SST.tmp");
           BufferedReader br = new BufferedReader(fr);
           String text = br.readLine();
           int c = 0;
           for(int i = 0; i < size; ++ i){
                     text = br.readLine();
                     c = Integer.parseInt(text);
                     if(c < 0)
                          c = 0;
                     pixels[i] = colors[c];
           br.close();
       return pixels;
        static BufferedImage toImage(int[] pixels, int w, int h) {
            DataBuffer db = new DataBufferInt(pixels, w*h);
            WritableRaster raster = Raster.createPackedRaster(db,
                w, h, w, new int[] {0xff0000, 0xff00, 0xff}, null);
            ColorModel cm = new DirectColorModel(24, 0xff0000, 0xff00, 0xff);
            return new BufferedImage(cm, raster, false, null);
        static void display(BufferedImage image) {
            final JFrame f = new JFrame("");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JLabel(new ImageIcon(image)));
            f.pack();
            SwingUtilities.invokeLater(new Runnable(){
                public void run() {
                    f.setLocationRelativeTo(null);
                    f.setVisible(true);
    }thanks&regards
    Mahender

    According to me just convert ths code to servlet and instead of displaying the image with BufferedImage just stream it (the image) to the browser. This will be useful to catch the general idea.

  • My gift card code was unreadable.  Anyone know how I can get a new code/get my money back/call apple to complain about their crappy product now that i've wasted $25?

    I purchased a $25 gift card for iTunes several weeks ago.  Went to use it tonight, and when I scratched off the code it was completely unreadable.  I'm not impressed at having wasted $25.  Nor am I impressed with the lack of helpful information on the Apple/itunes website--there seems to be no way to directly contact them to either complain or ask for assistance. 
    Does anyone know if you can get them to refund the money or provide a new code or card or whatever?  I no longer have the receipt from the store where I purchased the card, so I can't take it to them and beg for a replacement.  Besides, the problem lies with a shoddy product, not the store that sold it. 
    I've gotta say, I'll be thinking really hard before buying an itunes gift card for myself or anyone else from now on. Losing your investment in the card is just not worth the effort.

    I tried this and was asked to provide not only photos of the front and back of the card but a sales receipt.  This is a gift card.  It was a gift!  I don't have a sales receipt.  Very disappointed.

  • I recently bought Photoshop Elements 12 and the system is saying that the Redemption Code is no longer active.  How do I get a new code that will allow access to the software ?

    I recently bought Photoshop Elements 12 and the system is telling me that the Redemption Code is no longer active.
    How do I get a new Code number that will allow met to access the software?

    you need your serial number.  you used your redemption number to redeem your serial number.
    if you don't know your serial number, check the account used to purchase or register your pse 12, Adobe ID

  • Add new code in classification view under material master

    Hi Experts!
    I need to add new code in classification view, MM03 for class ZZLOCAL. Can anyone guide me to the path?
    Please help..
    Thanks.

    this is not customizing, this is standard master data maintenance.
    Easiest way to find the menu path is by entering search_sap_menu into the command field.
    then you are prompted for search text. here you can either enter a transaction code or a name of transaction.
    SAP will give a list with all menues and paths to reach this transaction

  • I cannot remember my access code. how can I find it, or turn it off to put in a new code?

    i cannot remember my access code. how can I find it, or turn it off to put in a new code?

    (click to enlarge)
    Connect it to a computer
    click sync
    then click restore
    than restore with the backup created when you synced

  • Convert HTML codes to RTF

    Hi,
    In a Java Servlet, I need to convert HTML codes into an RTF/word document.
    Any help for some related Java API ?
    Regards,
    Priya Ranjan Sahay
    Message was edited by:
    Priya Ranjan Sahay

    Checkout iText:
    http://www.lowagie.com/iText/
    Example code:
    http://www.java-tips.org/other-api-tips/itext/manipulating-pdf,-rtf,-or-html-documents-with-java.html

  • Convert java code into UML

    hello,
    anybody knows a software convert java code into UML? Classes Diagram.
    for example JBuilder do that.
    // i use Netbeans.

    its not a speed issue although sometimes it can be painfully slow (but now slower that sun one). I constantly found myself getting into infinite error message loops (e.g. "incorrect input"... click ok... "incorrect input"... errr click ok.... "incorrec..." etc etc), and also it (relatively) regularly falls over. I tried to export diagrams as GIFs, and when I imported them into Word they looked ok, but when I printed them they printed negative!! I used about 100g of toner before I realised, and had to go thru all diagrams changing them to JPGs. Plus, I think the interface for 6 is a lot less intuitive than 4.2, and it's trying to be too feature rich. Personally I would never use it as a code editor as it's too big and lumbering. For me, it's a diagramming tool, but it doesn't even put pretty pictures as nodes on deployment diagrams!! I want pictures of workstations, PDAs and databases!! Only kidding...

  • Convert ABAP code to a flowchart

    Is there any tool that can Convert ABAP code to a flowchart? Please give  me the details like download link if there any.
    Please help

    Is there any tool that can Convert ABAP code to a flowchart? Please give  me the details like download link if there any.
    Please help

  • Will WebNS 7.5 auto fallback if new code failed to boot?

    Hi,
    I'm preparing for WebNs upgrade from 7.4 to 7.5 to 8.2
    And change will be done remotely.
    My question is, what will happen if the new code doesn't boot up after we reboot the CSS?
    Will it auto fall back to the previous working code?
    Thank you.

    Hello,
    Good to see your going to 8.20 software.
    I can't say for sure whether or not your CSS will fall back to the original image, although my suspicion is that it will not.  I will assume that your CSS is in a redundant configuration consisting of a pair of CSS.  Please correct me if I'm wrong.  You can alway upgrade the standby CSS, and make sure if boots up OK on the new code.  Then you can fail over to it, while you upgrade the second CSS.  This way, you would always be upgrading the standby CSS, so traffic should not be impacted, even in the event of a boot failure.  Then you can recover the standby that didn't boot properly while the master CSS is safely handling production traffic.
    Also, I would recommend using the upgrade script rather than the manual upgrade process, especially if you have any custom user accounts and/or custom scripted probes.  Another good idea as a backup plan is to temporarily (or permanently) arrange for console access to the two CSS during the upgrade process, just in case it is needed, as you are doing the upgrade remotely.
    Sean

Maybe you are looking for

  • ITunes gives an error message

    i am currently writing from work - because i cannot remember word for word what the error message tell me i'll explain it best way i can. when i double click on iTunes it tells me i'm missing something and it cannot locate it - however, when looking

  • For best performance what's the size of an image to be stored in database?

    Hi all, can any one tell me..for best performance what's the size of an image to be stored in database? is it <256kb  or >256mb? when i google  we can store image as varbinary(max) and its limit upto 2GB.. Can anyone exlain it? is it performance wise

  • How can I insert photos to excel documents from iPad?

    I need to find a way to edit excel docs from my iPad. I have found numerous apps that work great. The thing I'm having trouble with is editing or inserting images or art into the spreadsheets as you can with excel.

  • Getting #3121 error when using 32 bit. ODBC  Drivers

    I am tring to connect to a Oracle 7.3 remote database,using MS Access97.MS Access97 usues ODBC 32Bit data source. I have downloaded the ODBC 32 bit drivers from the Oracle site, but When I try to connect I keep getting the 3121 error. It sais: "No In

  • Savin' and recalling multiple channel Strips ?

    is there a way to save and recall multiple channel strips ? what i'm trying to do is for example : to set up Ultrabeat Multi which would include several Aux's and busses with indivitual bus effect etc and recall it in a New song exactly as i saved it