js and css downloaded from apex of static files 4.2.4

Hello

1. I need to know in what file are stored files js downloaded from 'components shared - static files?

2. I need to know in what file are stored the css files downloaded from "sharing of components - Cascading Style Sheets?

My version of the apex is 4.2.4.

Thank you

Iulian

Hi, Alban,.

These files are not stored in a folder, they are stored in the database. You can access in your application by specifying

  • #APP_IMAGES #your_file_name.js (if it is a static file that is stored for an application) or
  • #WORKSPACE_IMAGES #your_file_name.js (if it is a static file for your workspace).

The #APP_IMAGES # and #WORKSPACE_IMAGES # substitution variables will be automatically replaced with a URL to retrieve the files of the database.

Concerning

Patrick

Member of the APEX development team

My Blog: http://www.inside-oracle-apex.com

APEX Plug-Ins: http://apex.oracle.com/plugins

Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • Windows 8 apps are waiting and never download from Store

    Please advise I have just upgraded to Windows 8 and there is an option for the contract at the opening of the screen, however, when you go to the market and download applications, it shows that they are waiting for the download, but they never download at all, they keep showing waiting as if there is no internet connection.  What could be the problem? Applications are downloadable on the pc?

    The other thing I want knowledge because Win8 rejected my Kaspersky, it come with a full internet/antivirus software preloaded?

    Hello

    Thanks for posting your query on the Microsoft Community.

    Are you facing the same issue? If Yes

    Try the methods and check them off below if it helps:

    Method 1: Try the steps in the Microsoft Article below and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows/troubleshoot-problems-installing-updates#1TC=Windows-8

    Method 2: Try the steps in the below the Microsoft Article

    The problem with an application

    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

    If the problem persists try Method 3

    Method 3:

    Reset Windows Store cache

    1. press the Windows key + R on the keyboard

    2. type wsreset.exe and press ENTER.

    Hope this information helps and let us know the State of the question, we will be happy to help you.

  • Cannot drag and drop images from the list of files on the page

    I use DW8 for the redesign of a site someone else created in FrontPage and will continue adding content using FrontPage. I'm afraid that another user would not understand CSS formatting and finally break, so I keep a page a table-based layout using the fairly minimal CSS for style.

    Some of these pages, when I try to drag an image from the list on the page file DW, the cursor only becomes a stripe diagonal-circle sign ' ", and it will not drop the image. When I create a blank page, with or without a table, I can drag image files and drop them without problem.

    There is NO FrontPage special tricks in these pages, by the way - no model or anything that uses FrontPage. Just in case I was missing everything I did "clean up html" command and had him remove DW or non - DW comments, and he found nothing to 'clean up '.

    Can someone tell me what it might be on a page that would prevent him drag / drop list file DW8?

    Thank you very much!

    Theophanes

    I still don't know what the problem was, well, just rename the site and its location on the disk, forcing DW to reread everything from the beginning, eliminated the mysterious problem. There is probably an easier way to force DW to do this - I'll look for it if it happens again.

    Thanks for your help!

    Theophanes

  • CS6 install installation failure. Said the fake, but we bought at Adobe and downloaded from Adobe.

    I had a real software verification failure Adobe. I tried several times to install this software on a new laptop computer I'm going to set up for a person, but it will not be installed.

    Legally, we bought this software and I downloaded from the site of Adobe license. Don't know what else to do.

    Thank you

    Warning: "Adobe software real failure of Validation...". » | Windows

  • 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

  • Option 4.2 "includes Standard JavaScript and CSS" deleted?

    Hello

    APEX 4.2, Oracle 11 g r2.

    I've been using the option * 'Include Standard JavaScript and CSS' * starting from page attributes. It has been set on * 'No' * in all the pages that I manage my own JQuery versions.
    We went to 4.2 yesterday, and I see that the option is always there on the 4.2.

    I just tried to put it on 'Yes' to a test, but now the option disappeared! I can't set it to 'no '...
    On each page, if I set to 'Yes' and apply the changes, the option isn't here when I return to the page attributes.

    Bug?
    Or maybe that this option has been removed from the 4.2?

    Hello

    Yes, this has been intentionally removed for applications / pages that do not use the feature. As you said yourself, and what we saw other customers is that someone wants not just to exclude a single page and like rather than control it for the application. That makes a little heavier, because a developer had to define for each new page.

    That's why we created a placeholder to the template page for * #APEX_JAVASCRIPT #* and * #APEX_CSS #* give control you allowing to load libraries of the APEX and if you don't want to load them, simply remove them from the already stressed page as Vikram model.

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

  • corrupt el Capitan download, how to erase it and re - download?

    My copy of el Capitan corrupted, and he tells me to remove the download and re - download from the App Store.  How can I delete the downloaded el Capitan?  I emptied my downloads folder, and it still gives me the error on install

    You should check your Applications folder.  The Setup program for El Capitan should be there.  Move it to the trash, and then start the download again.

  • How space image of reference in static file work?

    I created a .js file and loaded components shared as a static file.

    It works very well... Except that... my images referenced in the code are not displayed.

    My images are found in the #WORKSPACE_IMAGES #. My code for referencing them is:

    document.getElementById("box").style.background = "url('#WORKSPACE_IMAGES#Page_1.jpg')"; "

    When I put the javascript code in the < head > of apex, you can find the images very well using the code above. But, when I try this code in an external .js file, it does not find the images.

    Can someone help me understand this and provide the code that I need to get my pictures is displayed?

    Thank you very much in advance,

    Maggie

    You made the change to remove the reference to the ' #WORKSPACE_IMAGES # in the JS in the external file?

    document.getElementById("box").style.background="url('" + img_dir + ".Page_1.jpg')";
    
  • 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

  • plugin JavaScript and css file does not load in Apex 5.0 in certain circumstances

    Hello

    I have a strange problem. I've migrated a 4.2 application and its plugins to version 5.0.

    On my test server that everything works perfectly, plugins properly load css and javascript libraries.

    On the server to the client, even if the configuration is identical (Oracle 11 g, ADR 3.0, Glassfish), any plugin loading fails and triggers an error like:

    http://W2k3-Theos-t-AP/ords/i3std/r/2105/files/plugin/32865463423023705/v1/Select2.CSS

    Method: GET

    Status: 404 not found

    Currently the Plugin files (javascript and css) are stored in Oracle. Does it mean that I have muss stores as static files?

    Thanks for help

    Frédéric

    Kiran,

    Unlock APEX_LISTENER and APEX_REST_PUBLIC_USER and everything works perfectly.

    Thanks to Peter and Kiran, Apex is an excellent product thanks to its fantastic team

    Best regards

    Frédéric

  • I downloaded a free trial of Adobe Creative cloud and dreamweaver CC. I am not able to download a .psd to see how to extract the HTML and CSS.

    I downloaded a free trial of Adobe Creative cloud and dreamweaver CC. I am not able to download a .psd to see how to extract the HTML and CSS.

    Download button is disabled. What is the case for a free trial?

    Hey girijamg,

    I asked that you try to open a page because snippet Panel will be disabled until there is a html page is open in DW.

    Excerpt from Panel will be ready for the job that after any html page is open in DW.

    Hope it makes sense.

    Lalita

  • 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.

  • Storage of MS-Word and PDF documents in the database that is downloaded through APEX

    I want to enable users to download MS-Word and PDF documents that they created / edited outside of the app to the APEX for storage in the database with other data in the app.

    I know that I should use a queue item browse an area for this purpose.
    I have a few questions:
    1. what type of database data is best for storage of MS-Word and PDF docs? CLOB?
    2. How can the user see that the file has been downloaded? In other words, how can they see the name of the file has been downloaded? I want to show this on the page for later viewing. I downloaded a document, but later, I have no way to see that the document has actually been downloaded. On the page of the APEX, the browse file evidence not whether or not a previously downloaded file.
    3. how the user can download the previously downloaded?
    4. is there a way to give users the ability to edit a document in an APEX application where they can do the editing of type MS-Word (the font size, type of font, bold, italic, etc.)?

    I know I ask myself a lot here and I appreciate your comments.
    -Reid

    In my case, I am downloading screenshots of my application and then display them. You can feel free to use it if you want, the code has been taken for most examples of downloads of files sent by others. Here is a code to help you get started:

    Description Table file

    CREATE TABLE FILE_UPLOAD
       (name           VARCHAR2(4000) PRIMARY KEY,
        subject        VARCHAR2(4000),
        id             NUMBER,
        blob_content   BLOB,
        mime_type      VARCHAR2(4000),
        PAGE_ID        NUMBER);
    

    How to download file

    IF ( :P20_FILE_NAME is not null ) THEN
         INSERT INTO FILE_UPLOAD (id, NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE, PAGE_ID)
          SELECT ID,:P20_FILE_NAME,:P20_SUBJECT, blob_content, mime_type, :P20_PAGE_ID
                FROM APEX_APPLICATION_FILES
                WHERE name = :P20_FILE_NAME;
       DELETE from APEX_APPLICATION_FILES WHERE name = :P20_FILE_NAME;
      END IF;
    

    Download Image definition of the procedure

    CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
            v_mime  VARCHAR2(48);
            v_length  NUMBER;
            v_file_name VARCHAR2(2000);
            Lob_loc  BLOB;
    BEGIN
      SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
             INTO v_mime,lob_loc,v_file_name,v_length
        FROM FILE_UPLOAD
       WHERE id = p_file;
        --
        -- set up HTTP header
        --
        -- use an NVL around the mime type and
        -- if it is a null set it to application/octect
        -- application/octect may launch a download window from windows
      owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
    
        -- set the size so the browser knows how much to download
      htp.p('Content-length: ' || v_length);
        -- the filename will be used by the browser if the users does a save as
      htp.p('Content-Disposition:  attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
        -- close the headers
      owa_util.http_header_close;
        -- download the BLOB
      wpg_docload.download_file( Lob_loc );
    end download_my_file;
    /
    

    don't forget to grant rights of procedure for the use by any person

    GRANT EXECUTE ON download_my_file TO PUBLIC
    

    Display Image definition of the procedure

    create or replace PROCEDURE "DISPLAY_IMAGE"
    (
      inID NUMBER
    )
    AS
      vMIME VARCHAR2(48);
      vLENGTH NUMBER;
      vFILENAME VARCHAR2(2000);
      vBLOB BLOB;
    BEGIN
      SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.GETLENGTH(BLOB_CONTENT)
        INTO vMIME, vBLOB, vFILENAME, vLENGTH
      FROM FILE_UPLOAD
      WHERE ID = inID;
      owa_util.mime_header(nvl(vMIME, 'application/octet'), FALSE);
      htp.p('Content-length: ' || vLENGTH);
      owa_util.http_header_close;
      wpg_docload.download_file(vBLOB);
    END;
    /
    

    Again, ensure that everyone has rights to execute the procedure.

    GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLIC
    

    This does not create an editor in the browser, it simply creates a process simple upload/display. For a WYSIWYG editor that manages the PDF format or doc, you need something much more sophisticated, and I can't propose something here.

  • When I open Thunderbird it shows download 1 of 27 messages, but only downloads one 1 and stops, I then mark as spam and delete it from the junk e-mail folder

    When I open Thunderbird it shows download 1 of 27 messages, but only downloads one 1 and does not download the other 26. I mark as spam and delete it from the junk e-mail folder. I press the button to get the Messages and the same thing happens again with the same message that was deleted before downloads and other 26 messages fail to download. How can I get rid of this email and download the rest of my emails?

    What is a POP account? Please confirm.

Maybe you are looking for