JavaScript as a static file or file system?

Hello

We use the APEX 3.2 with Oracle 10 g and Oracle HTTP Server.
I know there are two ways to include custom javascript source files in an application:
1) download as a static file to the workspace or the application and refer using the # #WORKSPACE_IMAGES tag # or #APP_IMAGES.
(2) put on the Web server as a file on the file system under the images directory and refer using the #IMAGE_PREFIX tag #.

Are there advantages of performace (caching perhaps?) to use one method over the other?


Thank you
Matthias

Hello

Download in the form of static files has the advantage of being stored in the database (such as retrieval etc.), but is generally slower. In previous versions, it also prevented the caching, but this problem has been fixed now.

However I have noticed significant storage performance benefits in the file system, it is much faster (there no round-trip to the database to retrieve them.). It also means that they can be shared with other non-apex applications, easily. It is also independent, app/workspace

How I organize it is to have a base directory for recording things like the external libraries (ExtJS, jQuery, etc.) you want shared on a global scale. They are saved by the ie version.

/Custom/core/ExtJS/2.3.0
/Custom/core/ExtJS/3.0.0

Then I create a substitution at the level of the application than the cards called /custom/cor/extjs/2.3.0 to & EXTJS. then I can change the full version at the application level and without having to modify the templates whenevr a different version is necessary. It goes the same for levels theme files and work space. If my file structure has these levels.

core/custom /.
space of work/custom /.
/Custom/workspace/.../application
/Custom/workspace/.../theme
/Custom/workspace/.../application/.../theme

Once again, everything that he mapped with chains of substitution to make reference and path of change more easily.

Very fast, very simple.

See you soon

Ben
http://www.munkyben.WordPress.com
Don't forget to mark the answers useful or correct ;)

Tags: Database

Similar Questions

  • OSH - static files

    APEX 5.0.2/Oracle 11.1

    As Patrick Wolf-Oracle on his blog, two additional parameters must be added to OHS dads.conf allowing the APEX to serve static files. Before adding these parameters, the emitted HTML code has been

    "< script type =" text/javascript"src =" xxx /static-files-non-configured/nnn/files/plugin/3498749565627846710/v1/filename.js "> < / script >"

    After you have added the dads.conf settings and restart OHS, this has changed to

    "< script type =" text/javascript"src ="r /xxx/nnn/files/plugin/3498749565627846710/v1/filename.js "> < / script >"

    "When you go through ADR, it becomes < script type =" text/javascript"src ="xxx/r /nnn/files/plugin/3498749565627846710/v1/filename.js "> < / script >"

    Question: because the same APEX engine in the database generates the HTML code, how does he know to generate different content based on a) if ADR is accessing it or SST and b) in the case of OSH, how does "know" that the dads.conf does not have these 2 new parameters so it can put the useful static-files-non-configured in the emitted output? Seems like magic, I just want to understand how it works.

    Thank you

    Hello

    It is not only a lot of magic involved. It is all detected with the CGI env variables. If you take a look on

    begin
        owa_util.print_cgi_env;
    end;
    

    you will see that APEX_LISTENER_VERSION is defined in the case if we treat of the ADR. If it's mod_plsql or EPG PATH_ALIAS cgi variable is defined, which returns the extra parameter dads. Here's how to detect if the configuration is missing.

    Concerning

    Patrick

  • Recursive loop through the file system.

    Hello!

    I'm trying to figure if Javascript is my answer to my problem.  I have been able to re - write all my AppleScript scripts that manipulate Illustrator with the exception of those that he had to use the file system.  We stayed in PC at work and now I have to figure this out.  Our art files are saved with a number of 7 digits, followed by the name of art in the file.  Ex: 1000049-Bob Garage.  My applescript had a recursive loop that worked its way down through the structure of the files on our server art until it finds the record low where it belonged, then saved in itself.  Here is an example of how the structure of server files (these are the folder names) is extended:

    1000000-1004999

    1005000-1005999

    1010000-1014999

    and so on.

    The script would load all foldernames in the first level of the directory, loop through them and watch the first and last name of each of these folder names, then compare the Illustrator file name to them.  If my file is between the two, then the loop itself, called loaded the files inside of that folder and in doing so, working its way down through the folders through the tree structure until there where records is no longer.  At this point, the file was saved, in the order, where it should be.

    I have no idea on how to start this task with Javascript, if this is possible even with a language developed for browsers.  I'm with other people who are frustrated by such a widely adopted language, if little info is available on its use outside the browser.  If anyone can tell me all resources dealing with Javascript programming of the file system, or even to have the kindness to write this little monster for me, I'd always in your debt!

    Thanks in advance for any time you spend with this problem!

    Open the ESTK, and then on the Help menu, you will find a link to the Javascript Tools Guide. You will find everything that you need in Chapter 3 file system access.

  • Import the Javascript library as a static file not work but working from URL

    Hi, I need to use the oCanvas library: download - oCanvas - oriented drawing canvas object in a page.

    I followed this guide: filing of APEX JavaScript static file

    I've downloaded the library and the updloaded in sharing of components/static files and referenced in the page header:

    < script src = "" #APP_IMAGES #ocanvas.js "type =" text/JavaScript"> < / script >"

    On the page, I created a html subregion and in the body, used the following test code:

    < canvas id = "canvas" width = "200" height = "100" > < / canvas >

    < script >

    output function (label, entry) {}

    var out = document.getElementById ("output"),

    input_string = ' ", i, number;

    If (typeof input = 'object') {}

    input_string += "{\n";

    for {(i input)

    number =! isNaN (parseFloat (input [i]))? true: false;

    input_string += ' < span class =------"tab\" > \t </span > ' + i + ":" + (number? ' ")". " "': ' \ '") + input [i] + (number? "": "\" "") + "\n";

    }

    input_string += '} \n ";

    }

    out.innerHTML += (out.innerHTML = ""?) ("": "\n") + label + input_string;

    }

    var c = document.querySelector ("#canvas"),

    CTX = c.getContext ("2d");

    c.Width = window.innerWidth;

    c.Height = window.innerHeight;

    c.addEventListener ("touchmove", function (e) {e.preventDefault ()}; false);

    var canvas = oCanvas.create ({canvas: "#canvas", the decoration: "#222" "});

    Planet Center

    Var Center = canvas.display.ellipse({)

    x: canvas.width / 2, y: canvas.height / 2,.

    RADIUS: canvas.width / 20,.

    fill: "#fff."

    ({. add()});

    Prototype that will be used to instantiate other objects

    var satelliteProto = canvas.display.ellipse ({fill: "#eee"});

    var pathProto = canvas.display.ellipse ({stroke: "1px #999"});

    Implement data

    satellites of var = [], depth = 3;

    var satelliteColors = ["#107B 99", "#5F92C0", "#c7509f"];

    var pathColors = ["#666", "#107B 99", "#5F92C0"];

    Create seven satellites and access roads. Definition is longer down.

    for (var i = 0, l = 7; i < l; i ++) {}

    createSatellite({)

    parent: focus, depth: 1,.

    distance: (i + 1) * canvas.width / 6,.

    RADIUS: canvas.width / 100,.

    Speed: 1

    });

    }

    Set up a tick function that moves all satellites each image

    canvas.setLoop (function () {}

    for (var i = 0, l = satellites.length; i < l; i ++) {}

    satellites [i] .rotation += satellites [i] .speed;

    }

    });

    Definition of a satellite and its corresponding path

    function createSatellite (options) {}

    Create the path which will follow the satellite

    var path = pathProto.clone({)

    Ray: options.distance,.

    x: options.x | 0, y: options.y | 0,

    strokeColor: pathColors [options.depth - 1]

    });

    options.parent.addChild (path);

    Create a new satellite

    satellite var = satelliteProto.clone({)

    origin: {}

    x: 0,.

    y: options.distance * (Math.round (Math.random ())?-1: 1)

    },

    Speed: Math.Random () * (2 * Math.Random () - 0.5) + 0.5,.

    Ray: options.radius,.

    x: options.x | 0, y: options.y | 0,

    filling: satelliteColors [options.depth - 1].

    rotation: Math.Random () * 360

    });

    options.parent.addChild (satellite);

    satellites.push (satellite);

    Create another satellite which will tour around the hub

    If (options.depth < depth) {}

    createSatellite({)

    parent: satellite, depth: + 1 options.depth,

    distance: options.radius * 7.

    RADIUS: options.radius / 1.5,.

    x: satellite.origin.x *-1, y: satellite.origin.y *-1;

    Speed: 10

    });

    }

    }

    Implement control of play/pause for the demo

    var text = canvas.display.text({)

    x: canvas.width / 2, y: 220,.

    origin: {x: 'Centre', y: 'Center'},

    filling: '#fff', size: 25, weight: 'bold', text: 'Play '.

    ({. add()});

    Canvas.bind ("click tap", function () {})

    Text.Text = canvas.timeline.running? 'Play': 'Pause '; Canvas.Redraw ();

    Canvas.Timeline [Canvas.Timeline.Running? "stop": "start"] ();

    });

    < /script >

    That does not work, but if I change reference from the page to the next header it works:

    <script src="http://cdnjs.cloudflare.com/ajax/libs/ocanvas/2.7.2/ocanvas.min.js"></script>

    What can I do to use the static reference correctly?

    It's a library problem?

    I created a test workspace, there are two pages with the static reference and the other with the URL reference, here's the connection info, if you want to try it:

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

    workspace: ocanvas

    user: user

    Pass: ocanvas

    Thank you for your time.

    The file you have downloaded seems to have some formatting problems (missing CR/LF?).   I downloaded the same file from the remote site and referenced and it works.  Also, you can simply reference the file in the page URL of file header instead of add field tags in the html header scripts.

    -Jeff

  • What is the path of file system for javascript files?

    We want to keep our javascripts under version control using SVN.  SVN has features to do this, but they are all accessible from the file system location where the files are stored.  So where is it?  When the external editor is used, the file is copied to the Temp directory under the logged in user, but as soon as you close the editor, the file is deleted, so this isn't really an appropriate place for SVN connection.

    Thank you!

    You can get this path as well using the same method, by replacing "javascript".

    with "sequences".

  • Store images, css and javascript on a file system or database?

    Hi all

    I use 11g R2 and Apex 4.1.1

    By doing a search around, I found all sorts of ways to access the global files in your environment to the apex. I found 3 scenarios.

    (1) place your files in the workspace (database) and access it via #WORKSPACE_IMAGES #.
    (2) place your files in the directories is (void)
    (3) use a separate http server to access your file system


    For the first solution, this comes with a problem: when you have several css and jquery ui theme ties css to a subdirectory "images". I can't seem to make the subdirectories under #WORKSPACE_IMAGES #. For example: #WORKSPACE_IMAGES #/ images

    The second solution requires dba SYSTEM connect and store files on the system. This is not very practical when you are developing.

    The third solution seems to be the most used one (when I googled around), but our administrators do not want to set up a separate web server for this project. I have to work with what I have which is the APEX server and the database.


    Now, I have a question:

    Is it possible to let another user that the SYSTEM to connect to the East, but only to a subdirectory on is (that is, / i/themes/workspaceName) so the developer can not mess with files from base to apex or the themes themselves?

    Otherwise, I have to download every css and images one by one to the workspace and change all paths relative used in css, which is a pain...

    By using this option, all my files are stored in the database, which is considered safer than when they are on a directory on the server itself.

    Thanks in advance,
    Dennis

    Hi Dennis,

    You DBA should be able to do the following.

    (1) create a new subdirectory in the directory images on XDB (it can use WebDAV or FTP to do)
    (2) create a new database for you user (see http://www.oracle-base.com/articles/9i/xmldb-9i.php) or grant an existing user

    GRANT connect, resource, xdbadmin TO ...;
    

    (3) you can use WebDAV or FTP to transfer files to this new directory of void and do not have to use the SYSTEM

    It would be possible to avoid the xdbadmin role and use the ACLs on directories, but I am not sure XDB. But I don't know that your DBA should be able to understand this.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • I ran CHKDSK, the report tells me I have problems with the file system, usn journal. ___

    I ran CHKDSK, the report tells me that I have problems with the sys file. I ran CHKDSK/F, it is said it fixed the problem but I ran CHKDSK again and it shows that the same listed the issues.

    Describe how you run chkdsk.

    That is what the report said: you have problems with the sys file?

    CHKDSK examines the disk space and use of the disk for the table of allocation of files (FAT) and NTFS file systems. CHKDSK provides information specific to each file system in a situation report. The report shows the errors found in the file system. If you run chkdsk without the /f on an active partition command line option, it can report errors because it cannot lock the drive. You should use chkdsk occasionally on each disk to check for errors.

    If you run chkdsk from a command prompt while Windows is running, it can report errors or it may not report errors - and it may report different
    Errors each time you run.  If this is the case, it could just be the way you run chkdsk.

    Here's how Microsoft explains this observation:

    "... CHKDSK may report that the disc is damaged, even when there is no
    current real corruption. This can happen if NTFS happens to modify
    areas of the disc on behalf of some programme activities that CHKDSK is
    review at the same time. To check a volume correctly, the volume
    must be in a static state, and the only way to ensure that the State is
    to lock the volume. CHKDSK only locks the volume when /F or/r (which
    involves the 'F') is specified. For example, you may need to run CHKDSK more than
    time so that it can complete all the steps in read-only mode. »

    If you run chkdsk from a command prompt, you are not the necessary static state and you can encounter errors "when no real corruption is present. This is how it works when you use this way.  Any changes made to a NTFS file system modifies the USN Journal.  If you are not in a static state, your USN change Journal probably all the time, so what you see (says something like that) can be quite normal.

    Two ways to ensure that you are in a static state is to run chkdsk from the Recovery Console or to schedule a chkdsk to run the next time that the system
    Restart by answering Yes to the question:

    Would you want to check this volume to be the next time the system restarts?

    If chkdsk reports errors when running in a static state, the errors should be investigated, resolved or explained.  This may take several
    chkdsk runs all of the issues and some problems cannot be resolved by chkdsk.

    If chkdsk runs the next time the system is restarted, the activity and the result will be displayed in the application event log.  Look in the Application log for
    Winlogon events and a source have the date and the duration nearby time chkdsk.

    It is in fact a chkdsk additional reading if you want to learn about it and it will explain everything you see and why your expectations exceed reality.

    Please vote my posts as helpful so I can get a lot of points. I'm saving for a pony!

  • Writing a file with the file system

    I'm trying to export a file in javascript and write it in the retentive memory.

    I use 2 WebWorks (BB10.2) and the plugin 'com.blackberry.io '.

    I am able to access the file system

    window.requestFileSystem (window. PERSISTENT, 0, {function (fileSystem)
    fileSystem.root.getFile (sFile, {create: true}, {(fileEntry) function)
    Console.log ("Cordova about to create the writer of the entry in the file");

    Console.log (JSON.stringify (fileEntry));
    fileEntry.createWriter ({function (writer)
    Console.log ("Cordova about to write to the file");

    Writer.onwrite = function (evt) {}
    Console.log ("write successful:" + fileEntry.fullPath);
    Alert (fileEntry.FullPath);
    };

    I'm sorry that my original post has seemed to be cut short.

    The problem is when the call actually:

    Writer.Write (new Blob ([surlabasedesdonneesdufabricantduballast], {type: "text/csv;})) charset = utf - 8 "}));

    I discovered also for what was causing the problem. The debugger on the pc seems to interfere with the process. As soon as I removed the breakpoints it started working.

  • File system error (12)

    Hey guys. I hope that all is well!

    You have a pretty annoying problem on my current project. I use a SQLite database for the storage of telephone numbers, and these data are subsequently used to help the user to make a phone call. In the main application, these phone numbers are saved in the sqlite database. Later, when the user wants to make a phone call (IE a menu item, that I placed in the phone app), they select my menu item, which loads a popup asking what number to call. The numbers are loaded from the SQLite database to populate a list box and from there, the user can select and call this number.

    The problem is when the application is in the background when the user does this. If the application is closed, then the numbers are correctly loaded, but if the application is in the background there are some exceptions thrown, at the opening of the SQLite database, both during the access to the file for my custom log file system.

    Assistance to get to the heart of this problem would be greatly appreciated. I will surround some code below to give you a better idea of what is happening. Personally, I think it's a problem with the files already accessible by the main application, but I don't know a way to stop that without bringing all kneeling, as access still requires the main application.

    Code:

    public MyDatabase(String APP_NAME, String DATABASE_NAME)   {     String root = null;       Enumeration e = FileSystemRegistry.listRoots();       while (e.hasMoreElements())       {         root = (String)e.nextElement();           if (root.equalsIgnoreCase("sdcard/"))         {             MyLog.LogInfo("The Device has an SD Card inserted");          }     }                 // we now know that the SD card exists        path = "file:///SDCard/BlackBerry/" + APP_NAME + "/Database/" + DATABASE_NAME + ".db";        try       {
    
              myURI = URI.create(path);         FileConnection fileConnection =              (FileConnection)Connector.open(path);            if (!fileConnection.exists()) // create the file          {
    
                  d = DatabaseFactory.create(myURI);                createTables(d);//This creates the tables         }// if            else              d = DatabaseFactory.open(myURI); // [1]           staticDB = this; //[2]        }// try       catch (Exception ex)      {             staticDB = null;          MyLog.LogError("Database Creation error: " + ex.getMessage()); // [3]     }// catch }// Database
    

    [1]

    *THIS IS WHERE THE CRASH HAPPENS* we get a file system error (12) here. Is the connection already open?
    

    [2]

    not called - an exception is thrown before we can do this, but this is used to create a static accessor
    

    [3]

    "file system error (12)"
    

    The static accessor:

    public static MyDatabase getCurrentDatabase()
        {
            if (staticDB == null)
            {
                new MyDatabase(appName, databaseName);
            }
            return staticDB;
        }// getCurrentDatabase
    

    It is being used by the app and also surely staticDB must not be null? But nevertheless, it is null, and a new database is 'created '.

    Yet once again, thanks in advance if you are indeed able to help me with this problem!

    Have solved this myself. Locked the solution below in case anyone ever has such a problem themselves:

     public void deactivate()
        {
            MyLog.LogInfo("Deactivated");
            try
            {
                MyDatabase.getCurrentDatabase();
                MyDatabase.closeDB();
            }
            catch (Exception e)
            {
                MyLog.LogError("Could not deactivate");
            }
        }
    

    This goes in the database closed and main Application class when lose us focus (i.e. when the application calls turn off). Here's the closeDB method:

     public static void closeDB()
        {
            try
            {
                staticDB.d.close();
                staticDB = null;
            }
            catch (DatabaseIOException e)
            {
                MyLog.LogError("Error closing DB " + e.toString());
            }
        }
    

    I have spent ages working through this without a solution, then posted here for help and worked the answer myself in an hour. Typical!

    Hope this helps everyone out in the future

  • Optimize the download of static files in APEX developemnt

    Heyo!

    I use apex 4.2.6.

    Scenario:

    I use the js or css custom referenced in my application file. Whenever I need to change something that I have to open my file in my editor (ST3), edit it, save it, remove the old static file in the apex, download the new and then check the results.

    It is extremely tedious. Is there an easier way? Something like from the file system? Just while I am in the process of development.

    Hi Para,

    Para wrote:

    I checked the folder of images on my server and it is not all the files I've downloaded at the apex. It contains only the ordinary images/js/css... files needs to this Summit.

    Yes. It contains the files of images/js/css for the constructor of the APEX. But you can create a new folder at the location of the East and store your images/js/css application files and send them using the #IMAGE_PREFIX #yourfolder/yourfile.js, instead of upload to SEO and the shared components using #APP_IMAGES # #WORKSPACE_IMAGES or #.

    Kind regards

    Kiran

  • How to set up * application and the workspace of static files after upgrade from 4.2 to 5.0?

    Hello.

    I just upgraded from 4.6 to 5.0 on Windows 7 64 bit.  ADR 2 and Tomcat running.  The APEX and my app runs.  Images of the APEX are OK.

    Problem: Application and do not display images of working space.

    Here are the different paths:

    • C:\apache-Tomcat-7.0.59\webapps\i
    • C:\APEX\images

    I copied the content of the APEX webapps\i images directory to the tomcat directory.

    I ran the two flavors of the loading image script, and each completed without error.

    • SQL > @apxldimg.sql c:
    • SQL > @apex_epg_config.sql c:

    I am able to log in administrator mode or developer APEX, and everything looks very good and works well.

    I can't connect to my request and it works, but the images, for example, the logo is not displayed.  The application CSS file is not currently in use.

    The source of the page shows that in the head of <>, where "pva" is the name of workspace:

    "" < link rel= "shortcut icon" href= "pva/static-files-not-configured/files/static/v4Y/eprentise_favicon-32x.png" type= "image/x-icon" / > "
    < link rel =" style sheet " href =" PVA/static-files-not-configured/Files/static/v4Y/epr_4_6.CSS " type of =" text/css " />

    This is the logo of the hgroup > < body > <

    "" "< a href="f? p = 520:1:1212525121720" id="uLogo"> < img src="pva/static-files-not-configured/files/static/v4Y/eprentise_default-logo.png" alt="eprentise demo" title= 'eprentise demo" height= "50" / > < /a > "

    #WORKSPACE_IMAGES # = pva/static-files-non-configured/files/static/v4Y /, which is considered in the places above.


    #APP_IMAGES # = pva/static-files-non-configured/520/files/static/v2Y /, where the application_id is 520.  These images are not either


    My understanding is that the images of the workspace and the app are not stored in the file system in the results directory.


    Advice or a pointer to the documentation on how to configure static files for application and space images of work and for the application CSS file?


    Thank you

    Skip

    Hi Skip,

    If you are using ADR the next chapter in the ADR of the installation guide part is important to you. https://docs.Oracle.com/CD/E59726_01/install.50/e39144/listener.htm#HTMIG29472

    In particular, the following note in "on the configuration of the RESTful Services.

    RESTful services ask Oracle 2.0 or subsequent REST Data Services. RESTful Services configuration is necessary when upgrading to Oracle Application Express version 5.0 and RESTful Services were not configured in a previous version.

    Concerning

    Patrick

    Member of the APEX development team

  • JavaScript to embed the file as an attachment

    I found a Javascript script on the forum that allows me to have a user of the form to join a file a PDF form in Adobe Reader.  The script is below and works very well... until I consult the document saved on a computer.  I discovered that Adobe Reader Mobile doesn't recognize attachments added as annotations (only the embedded files).  Can someone help me to modify this script so that the file is truly integrated and not added as an annotation?  My follow-up question is the javascript to detach the file with a button.  I use Adobe Acrobat DC to set the shape.  Thank you very much for your help!

    The way in which it is programmed, it's that the button itself with an action of mouse upward, the following Javascript code is executed:

    If (app.viewerVersion < 11) {}

    import_pre_11();

    } else {}

    import_11();

    }

    Then, there's a document level javascript to attach the file that is scheduled as follows:

    Initialize the attachment number

    attachment_num = 1;

    Original location of file attachment icon

    The value of x is incremented below

    FOPI var = {x_init:-72, 72 - x:, y: - 72};  In the lower left corner of the page

    function import_pre_11() {}

    If (app.viewerType = 'Reader') {}

    App.Alert ({}

    CMSG: "you must user Reader version 11 or later to attach files to this form."

    CTitre: "attach file error"

    nIcon: 3,.

    nType: 0

    });

    return;

    }

    Invite the user to import a file

    App.Alert ({}

    CMSG: "click the OK button to select a file on your system.',

    CTitre: "attach a file",

    nIcon: 3,.

    nType: 0

    });

    try {}

    var rc = this.importDataObject ("Attachment" + attachment_num);

    If {(rc)

    attachment_num += 1;

    App.Alert ({}

    CMSG: "attachment successful.\r\rOpen Panel attachments to access attached files.",

    CTitre: "attachment Successful."

    nIcon: 3,.

    nType: 0

    });

    } else {}

    App.Alert ({}

    CMSG: "attachment canceled.",

    CTitre: 'attachment cancelled. "

    nIcon: 3,.

    nType: 0

    });

    }

    } catch (e) {}

    App.Alert ({}

    CMSG: 'could not attach file.',

    CTitre: 'could not attach the file.

    nIcon: 3,.

    nType: 0

    });

    }

    }

    function import_11() {}

    try {}

    var annot = addAnnot({)

    page: event.target.page;

    type: "FileAttachment,"

    Author: the form "user."

    name: "attachment".

    point: [oFAP.x, oFAP.y].

    content: "the folder entry on:" + util.printd ("yyyy/mm/dd hh: mm:", Date()) new, "."

    attachIcon: "Trombone".

    });

    annot.cAttachmentPath; Prompt the user to select a file to attach

    oFAP.x += 18;  Increment the x for the icon location

    } catch (e) {}

    App.Alert ({}

    CMSG: "could not reach file.\r\rPlease report this error."

    CTitre: 'file attachment error. "

    nIcon: 3,.

    nType: 0

    });

    }

    }

    I know, I wrote it. Player cannot add the embedded files, even manually, unless the file player compatible with the use of the right embedded file attachment.

  • Static files download problems

    Is there any specific reason why I have to download the same javascript FILE STATIC 3 or 4 times before the changes are implemented in the application?

    It's almost like the old file is put in cache or when the file is deleted there are enforcement once or twice so he can notice/implement the new file.

    APEX: 4.0.2

    THEME: SAND

    SERVER: Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server

    Steven

    I think I understand the problem, but don't know why it happened.

    When I questioned the $ WWV_FLOW_FILE_OBJECTS and searched my file, there were 5 instances of it.

    When I deleted all but 1 instance, everything worked again.

    No idea why the file has not been entirely deleted when I clicked to remove static files?

    Steven

  • Difference between downloading a file JS under "Static files" and "Images".

    I got to know of 2 ways in which the "JS" files can be downloaded in application APEX "Shared Files" and "Images".

    I would like to know the difference and how it should be used once its downloaded through "Static Files".

    I don't think it makes a difference when you download your JS files, but you would link/load them in your pages in the same way it is using WORKSPACE_IMAGES and APP_IMAGES, prefix depending on how your downloaded.

    Not just one of these methods, the images in the comic book extractions/stores and therefore a DB connection is open when the resource is requested. A better option is to load it into the file system HTTP (prefix of image or less/i) directory server so that a direct URL can be used.

  • Write and read data from the user's local file system

    Hello

    I write my first extension for dreamweaver. My extension should backup the data on the local file system of the user. I know that I can use DWfile.read () and DWfile.write () as described in Chapter 2 of the Dreamweaver API reference. I store the data using the XML format. What is the best way to read and parse the XML data in the file? What is the best way to write the XML data in the file?

    If you recommend one format other than XML, I'm open to suggestions. The data are only a few configuration information for the extension which should be persisted.

    Thank you

    mitzy_kitty

    How will the data be used? If it is used by JavaScript, use JSON format which includes js. If you use XML, then you will need to find an XML parser to read the data.

    Randy

Maybe you are looking for

  • the sign "more" to open a new tab disappeared. That's happened?

    the sign "more" to open a new tab disappeared. That's happened? How can this be repaired?

  • HP Officejet Pro 8600 N911a: Default community names

    Hello could someody help me know if its possible to change the default community for all the printers? This is because it is considered as a vulnerability by CVE HP Color LaserJet CPImpresor. 3525 HP Officejet Pro 8600 N911a Thank you very much

  • Satellite U400-177 - low connection using Intel Wifi Link 5100

    Hello Recently, I have problems with my wifi connection. I don't know why, but now the connection is erratic, when my connection was in the recent past 30Mbps is now 1, 10 or 20 I'm talking about 1 feet near the router. I have the latest version of t

  • PC shuts off without reason

    I need a hand.  My computer was working fine and then all of a sudden started to turn off.  I noticed that if I left it for a long time, he stayed longer.  If I tried to turn it on as soon as he died, he left just as fast.  , I have a problem with my

  • Versions of the current process

    In the Task Manager, when I look at the processes running, I noticed that even if I'm running Windows 7, 64-bit, most of the process including MS Office is labeled as 32-bit and sometimes both 32 and 64-bit processes are present for the same applicat