How can I use external CSS, JavaScript and Images in the PeopleSoft Portal?

I develop a website and I need to put my CSS, JavaScript and IMG files in a folder on the server that can be used by the objects of my HTML.

Where should I put the images? How can I get the HTML code of the objects can read these images?

I tried several things like:

< link rel = "stylesheet" href = "" < % = psCtxPath % > < % = psHome % > \MyStyleSheet.css "rel ="stylesheet"type =" text/css">"

"< link rel ="stylesheet"href="\portal\MyStyleSheet.css "rel ="stylesheet"type =" text/css">

"< link rel ="stylesheet"href="\ps\images\portal_pa\MyStyleSheet.css "rel ="stylesheet"type =" text/css">

By "Object HTML" do you mean HTML definitions in App Designer? If so, how you use these HTML definitions? You use the PeopleCode GetHTMLText? You want to store your images and CSS in the database where it won't delete whenever you regenerate PIA (Tools fixes and upgrades)? If the answer to all these is Yes, use %Bind(:1) (or: 2: 3, etc.) for your images, JavaScript and CSS. In your PeopleCode, use % Response.GetImageURL (IMAGE.NAME_OF_YOUR_IMAGE), Response.GetJavaScriptURL (HTML.NAME_OF_YOUR_JS_DEFN), %Response.GetStylesheetURL(STYLESHEET.) YOUR_CSS_NAME) to obtain the URL of the item stored in the cache. Pass this URL to the GetHTMLText function as the value for one of bind variables in the HTML code.

If you put images in the folder root (PORTAL.war) of your web server, and reference to ' / '. If you put them in a folder under PORTAL.war, for example, a folder named ps, use/ps/nameoffile.png. Always use ' / ', not '-' for internet URLS.

Tags: Oracle Applications

Similar Questions

  • Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    What is your version of JDev?

    Actually your question is not clear to me, but as I understand, it is you the table in the page and you have popup inside this popup you have the button you need when you click on the button to read the value of the selected table row. In the listener action button, so if you can get the current row of the table and after that you can get any attribute of the line as:

    DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("TableIteratorName"); // from pageDef.
    Row r = iter.getCurrentRow();
    Object value1 = r.getAttribute("attribute1");
    Object value2 = r.getAttribute("attribute2");
    
  • How can I leave my desktop screen and go to the screen where I can click on the icons to go to the websites I want?

    How can I leave my desktop screen and go to the screen where I can click on the icons to go to the websites I want?

    Hello

    Please, move your cursor to the bottom left. You will see a small photo with the screen full of apps, then click on that and you will be taken to this screen,
    It will be useful.
    Josh.
  • Pl/sql can I use TCL (commit, rollback and savepoint) in the triggers?

    can I use TCL (commit, rollback and savepoint) in the triggers?

    Published by: 794244 on September 11, 2010 08:05

    Welcome to the forum.

    The exact same question was asked here recently:
    TCL in TRIGGER

    Read the Concepts in the Oracle Documentation (and do some research yourself) will help you understand how Oracle.
    See:
    http://www.Oracle.com/pls/db102/homepage
    http://www.Oracle.com/pls/db112/homepage

    Concepts:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14220/TOC.htm
    http://download.Oracle.com/docs/CD/E11882_01/server.112/e16508/TOC.htm

  • How can I fix lines horizontal randomly and glitter for the LCD screens for HP Pavilion dv5 Vista?

    How can I correct random lines horizontal and glitter for the LCD screens for windows vista HP Pavilion dv5? Only, it happens randomly and can get all a few minutes at a time every few hours. The entire screen white and black and horizontal lines will appear during the flickering on the half top of the screen only. Nothing else changes. My sound is immutable, and none of my screens change the size or location. However, they may appear up and down during the flashing. Can someone give me an idea of what is wrong? I looked on Google for possible corrections, but most of them seem to be for refresh rate and I don't have a notch for this and can't change it according to the steps they offer.

    Read my initial response on what it takes to please.

    "See if this helps you:

    These lines indicate corruption graphics driver or lack of graphic material.

    Go to the HP Web site > Search a drivers and download article > search your laptop model number > your operating system > drivers for it: either video / graphic / Chipset (according to the wording it) > download and install the drivers.

    http://WWW8.HP.com/us/en/support-drivers.html

    If that fixed it, it seems to me be a problem of graphic material.

    Because it's a laptop; If under warranty, contact HP.

    If is not under warranty, contact a repair shop, local. »

    See you soon.

  • How can I use external speakers with my MacBook Air?

    How can I use an external speaker with my MacBook Air? I have a Samsung wireless speaker.

    They are Blue Tooth? If Yes, then you need to pair by using the preferences of BT.

  • How can I use a custom tool easy to machine the same LabVIEW is the basis on average DC - RMS VI

    I use a cRio 9024 and read PWM with an analog input card 9205.  It was suggested that I use the basis on average DC - RMS VI to convert the voltage of the PWM signal into an analog signal (effective value) for use in my system.  The problem is that the 9024 can use LabVIEW models (it's VxWorks). I work through the device a custom tool easy and I wonder if someone can guide me in the right direction.

    I am running Veristand 2014, cRio-9024, 6modules, and run the scan engine.  It seems that's the reason why I can't read analog voltage (starting a PWM signal) since the signal is running at 200 Hz and the Scan Engine runs at 500 Hz.   I tried to avoid making a custom device or an FPGA and found a work around using the 9401 in counter mode.  I can get the numbers that I need, that's how I'm heading at the moment.  I would like to custom device approach, but not this sprint.

  • How can I scan a book page and save ONLY the text, less photos, etc.?

    Hp scanjet 5590 scanner. Scanned page of the book, TIF format. How can I remove the images, photos, etc. and leave the text; preferably in the .txt file.

    Hello

    I suggest you to check the user manual that came with the Scanner for all parameters.

    You can try to cut the image using MS Paint and scan it

    Also, if you try to convert the file from one format to another, follow the link below and check if the steps help.

    http://Windows.Microsoft.com/en-us/Windows7/change-a-pictures-file-type-file-format-using-paint

    Also, I suggest you to check if there is any third-party applications that can help in the accomplishment of the task.

    Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    It will be useful.

  • How can I add some radio buttons and textbox on the Web

    Hi friends,

    I have a few critical requirements for my application:

    1. There should be a background image.

    2. I need to have 2 radio buttons and a text box. where the user is allowed to give feedback.

    How can I achieve this requiments.

    What ui component I need to use: form or canvas.

    If form, so how can I set the background.

    How can canvas, I add the boxes to option and TextBox.

    can someone suggest me please.

    Thank you

    Maury.

    Thank you very much for your answer.

  • How can I get my delete video and image files to be saved in the trash?

    original title: how to delete a file?

    I did a lot of videos... pictures with music.

    I would like to remove many of the videos but not sure how to proceed.  I want to keep the pictures that are in the video, but I don't know how to do this.  The last time I deleted the videos I lost the photos and has never been able to recover these photos from the Recycle Bin.  I also thought that maybe I should just remove all the pictures of the video and to remove the video.  I don't know if I should do this... I'm afraid that somehow the images will be deleted, and I will never see them again.

    Does anyone have any suggestions?

    Thank you for your quick response.  What I can do is to make a slide show.  What I do is to put pictures in a slideshow video.  I add photos, and I can add music.  I can only put these pictures with the music on a CD.  I can only play the disc for people to watch that is if I can make them sit down to watch it... ha ha.

    My problem is that since I have the pictures and music on my drive, I don't have the folder that is located on my computer that contains images and music.  I want to remove this folder, but unfortunately when I do not delete the folder, the photos are also deleted and I'm not able to recover from the trash.  (I know that things can be recovered from the Recycle Bin, but I tried this and made a real mess).

    I know it's a little confusing but I hope you understand what I'm trying to say.  Do you have any suggestions?  If this isn't the case, it's ok.  You're very kind for trying to help me and I appreciate it.

    Thanks again.  Carole67

    ===========================================
    Sorry, but it's confusing to me...

    How to create your slideshow video? Movie Maker? DVD Maker?

    I do not understand why you want to delete a folder that contains pictures
    you do not want to delete.

    Here's the thing... If you create a file of the video... that you can display in
    Windows Media Player and share with others... your photos have been
    coded in a different format. It's not the same as a backup of
    your photos and you should keep your original photo files.

    If you just want to make a backup of your photos to archival purposes...
    see the following links:

    The following items may be worth a visit:

    Windows 7 - How to burn files and folders to a disc in Windows Explorer
    http://www.7tutorials.com/how-burn-files-and-folders-disc-Windows-Explorer

    How to copy Photos to a CD or DVD using Windows 7 pictures library
    http://www.Dummies.com/how-to/content/how-to-copy-photos-to-a-CD-or-DVD-using-Windows-7s.Navid-323828.html

  • How can I share documents between XP and 7 on the same computer?

    I installed 2 windows xp and a windows 7 on my computer how can I share their documents

    Use one of these guides:

    http://www.howtogeek.com/HOWTO/Windows-7/share-files-and-printers-between-Windows-7-and-XP/

    http://www.TechRepublic.com/blog/window-on-Windows/how-do-i-make-Windows-7-HomeGroup-content-accessible-to-Vista-and-XP/1910

  • How can I use ODE independently OWD unaided, but showing the record of decision?

    Hi all

    I want to integrate the OPA with my java application without using the OWD.

    But how can I show the record of decision like that of OWD?

    Thank you

    This should be fairly simple. You can obtain a record of decision of the engine API. The decision paper referred is a tree of nodes that are very similar to the decision in OWD HTML report, it should just be a matter of this tree to market and building an html like structure.

    Take a look on example: retrieve a record of decision for an example of how to retrieve a record of decision.

  • How can I use my macbook pro. always charge or the battery always?

    I want to know which will be more convenient for the macbook pro.

    Here's everything you always wanted to know about Mac batteries:

    https://support.Apple.com/en-us/HT204054

    I have two rules of gold on a MBP battery.

    Yopu can use is connected to AC most of the time, drank at least once a month, use it under the power of the battery on the 40% charge level.  Lithium-ion batteries need occasional 'exercise '.

    Avoid the deep battery discharge.  When you see the battery warning, to end the session and connect to the AC.  Deep discharge shorten the life of a lithium-ion battery.

    Ciao.

  • How can I get my vista reset and return to the factory settings?

    How can I get my vista back to factory settings

    Hello

    Here are the different ways to reinstall Vista

    Contact the manufacturer of the laptop computer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it

    they do it for a nominal cost of $

    ____________________________________________________________

    also ask them if you have a recovery partition on your hard drive to get back to the way you bought

    you would normally press F8, F9, F10 or F11 or Alt + F10 or 0 to start to start the recovery process according to the manufacturer

    Ask them of the exact key sequence

    __________________________________________________________

    or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc

    Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer

    they contain all versions of vista

    This is the product key that determines which version of vista is installed

    http://www.theeldergeek.com/Vista/vista_clean_installation.html

    ____________________________________________________________

    How to replace Microsoft software or hardware, order service packs and replace product manuals

    http://support.Microsoft.com/kb/326246

  • How can I restore color of black and white in the solitaire game

    When you open the solitaire game a reason that the display is only in black and white.  How can I return the color?

    Hi Jerry,

    1. Did you the latest changes on the computer?
    2. When was the last time it was working fine?
    3. Are you experiencing a similar problem with another games on the computer?

    I suggest that you uninstall and reinstall the game of solitaire, check if it helps.

    (a) open the Control Panel in the start menu.

    (b) in the Control Panel, open programs and features .

    Note: If the programs and features are not available, change the view to large icons at the top right of the control panel.

    (c) select features on or off Windows activate in the left column of the window programs and features.

    (d) select gamesnow uncheck solitaire and then click OK.

    (e) click on restart now to restart the computer.

    (f) reactivate the solitaire game by following the above method and restart the computer.

    Check if the problem persists.

Maybe you are looking for