How to add, JS and image files in portalapp.xml

Hi All,
I was trying to implement multiple level hover detailed navigation in iview for which I got couple of css scripts from web which include javascripts.
I placed these files in respective folders and their reference in header.jsp but when the iview is rendered in browser the reference is changing to .htm
So please help me out how to place these script / image files in PAR file and their reference in portalapp.xml & header.jsp.
Thanks in advance,
Sai Krishna.

1) The CSS file you have , save as "jsp" file and please place in the jsp folder.
suppose your jsp is header.jsp and your css file is header_style.jsp
include the css jsp - header_style.jsp in header.jsp like
<%-- an include clause for css file --%>
<%@ include file="header_style.jsp" %>
2) All your images , please place in the "images" folder.
3) To access the images use like below: in CSS file (jsp)
in header_style.jsp
yourimage: url(<%=mimeUrl%>/images/Border.gif);
in header.jsp
<%
String mimeUrl = componentRequest.getWebResourcePath();
%>
4) more info for creating the hover menu read this blog
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4913
Hope this will help you.

Similar Messages

  • How to Add .m2v and .ac3 files in encore?

    I am doing my HD post in FCP and creating .m2v and .ac3 files using compressor. I would like to burn my DVDs in encore to try out blu-ray DVDs. How do I add separate .ac3 and .m2v files in encore?
    Thanks

    They get created as separate files originally. Just Import both and add each to the timeline.

  • How to add "Comments" and attach files onto a form?

    My server is LiveCycle ES 2.5, trial version, Turnkey install / Express mode  with  Reader Extensions.
    Client side has IE8 and Reader X 10.1.2.
    User interface is the standard out-of-the-box WorkSpace ES.
    I have an application that routes a PDF form through a Workflow,
    the input/output of the User Tasks is a Document variable that points to the PDF form.
    I know that in the WorkSpace, ther's a built-in Attachment "tab" where the user can attach files and get them routed along with the form.
    But how about Reader's "attach file" (the paper clip) and annotations (the yellow sticker)?  how to allow users to use those features?
    I tried it in the WorkSpace, and when the form is loaded in the IE window, those features were disabled.
    How to enable them?
    Do I need to modify the standard Render service? and add 'Apply Usgae Rights' or something?
    is there an easier way that I missed?
    thanks

    Attachments are lost if your form submits as XDP. If you change the submit type to PDF then server that same PDF back to the next user, the attachments will be there. If you decide for other reasons, you still want to submit as an XDP, take a look at this: http://forums.adobe.com/message/4316578#4316578

  • How to add link and image in oaf iprocurement stores page?

    Hi Every1,
    I have requirement to in iprocurement stores page. Already there are certain links ( a meaning full image+link ), by click on image or link it will take you to the
    required page.
    I need to add one more like that.
    How can i do this ?
    I know thru personalizations we can add links to the page, but how can i add image to that link. so that click of anyone will take to the req page.
    Thanks,
    Arun Peddi

    Hi,
    Here is one way of putting an image in the header:
    <fo:layout-master-set>
        <fo:simple-page-master master-name="my-page">     
          <fo:region-body margin="1in"/>
          <fo:region-before extent="1in" background-color="silver" />
        </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="my-page">
         <fo:static-content flow-name="xsl-region-before">
             <fo:block height="150px" width="1024px" background-color="white" >
                 <fo:external-graphic src="http://localhost:9000/web-determinations9000/images/Header.jpg">
                 </fo:external-graphic>
            </fo:block>
        </fo:static-content>
        <fo:flow flow-name="xsl-region-body">
        </fo:flow>
      </fo:page-sequence>One good XSL:FO refernce: http://www.learn-xsl-fo-tutorial.com
    Hope this helps.
    Thanks,
    Aakarsh
    Edited by: aakarsh on Apr 6, 2011 6:40 AM

  • How to add icons and images for my forms ?

    Hi everyone:
    My forms were upgraded from 6i to 11g. Then all customized images and icons can not display.
    Icon filename in property palette of forms and menus are the filename without path.
    Following http://docs.oracle.com/cd/B14099_19/web.1012/b14032/configure009.htm
    I set default.icons.iconpath to be a absolute path to all icons folder in Registry.dat, and make imageBase= documentbase in formsweb.cfg, doesn't work.
    What is the DocumentBase folder ? Is it $ORACLE_HOME/forms ??
    I also tried imageBase= codebase, package all images( gif files.) in a jar, store it into the forms/java directory. append icons.jar to archive parameter in formsweb.cfg. still doesn't work.
    What's the solution steps to do this please ?

    Frank,
    The preferred method of using Icons is to deploy them in a signed .jar file. The Oracle document you references is a little vague in this respect (paragraph 4.9.2.1). If you are going to use a jar file for your icons, you need to do the following:
    1) You must digitally sign the jar file (preferably with a Trusted Certificate - such as Verisign). You can use your own keystore, but you will get a Trusted Certificate warning in your application.
    2) Upload your <YOUR_ICON_FILE_NAME>.jar file to the %FORMS_HOME%/forms/java directory. If you use the default installation, the %FORMS_HOME% directory is typically "/Oracle_FRHome1".
    3) Update the default.env to include the full path to the jar file in the CLASSPATH variable.
    4) Then you need to update the following variables in the formsweb.cfg :
    4.1) archive=frmall.jar, <YOUR_ICON_FILE_NAME>.jar
    4.2) imageBase=codebase
    After making these changes I recommend restarting your WLS_FORMS instance to ensure the changes takes affect.
    Hope this helps.
    Craig...

  • How do I  "Add MP3s and ACC Files?"

    I can't find the "add MP3s and ACC files" function on this new Itunes. It's stupid, but what can I say? Can you help?

    Thanks, but this version doesn't have "import files from folders". I've checked it all. Any idea what I'm doing wrong?
    Thanks!!

  • How to add other 2 control files at ASM in linux RAC

    Hi Experts,
    I am new for RAC .
    the vendor build a RAC for us. I found there are only one control file in system.
    we use oracle 10.2.0.4 at ASM with RAC in redhat linux 5.
    how to add 2 additional control file to ASM for RAC ?
    Please provide a procedur in detail.
    Thanks
    Jim

    Hi damorgan & Friends,
    I could not find some infomration to add control into ASM . I can do this job( see below procedure) in no ASM .
    My question, our database locates at ASM and control file with a system auto-number ( fully qualified filename ) as
    +DATA1/SALE/controlfile/current.256.690290159
    How do I physical copy and rename other 2 contril file in directory and modify location in pfile?
    I saw some paper to use request as an alias (such as +dgroup2/control/ctl.f). i can not image to copy/rename control.
    Please help me!!
    Thanks
    Jim
    ========added control file for no ASM database and works=====================
    1)
    SQL> create pfile from spfile;
    File created.
    2)
    SQL> show parameter control_file
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    control_files string C:\ORADATA\ORCL\CONTROL01.CTL
    3)
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    4) modify pfile add additional control file2/3 as
    control_files='C:\Oradata\ORCL\control01.ctl','C:\Oradata\ORCL\control02.ctl','C:\Oradata\ORCL\control03.ctl'
    and physical copy control01.ctl and raname as control02.ctl,control03.ctl
    5)
    SQL> startup pfile='C:\oracle\product\10.2.0\db_2\database\initORCL.ora';
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1247900 bytes
    Variable Size 62915940 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 2945024 bytes
    Database mounted.
    Database opened.er database mount;
    6)
    SQL> Create spfile from pfile='C:\oracle\product\10.2.0\db_2\database\initORCL.ora';
    File created.
    7) check control file info under pfile environment
    SQL> show parameter control_file
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    control_files string C:\ORADATA\ORCL\CONTROL01.CTL,
    C:\ORADATA\ORCL\CONTROL02.CTL
    , C:\ORADATA\ORCL\CONTROL03.CT
    L
    8)SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    9) startup as spfile environment.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1247900 bytes
    Variable Size 62915940 bytes
    Database Buffers 100663296 bytes
    Redo Buffers 2945024 bytes
    Database mounted.
    Database opened.
    10) check control info for spfile environment
    SQL> show parameter spfile
    NAME TYPE VALUE
    spfile string C:\ORACLE\PRODUCT\10.2.0\DB_2\
    DATABASE\SPFILEORCL.ORA
    SQL> show parameter control_file
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    control_files string C:\ORADATA\ORCL\CONTROL01.CTL,
    C:\ORADATA\ORCL\CONTROL02.CTL
    , C:\ORADATA\ORCL\CONTROL03.CT
    L

  • How to add ParallelElement and  SerialElement in strobe Player

    hey frnd,
    i'm showing rtmp video from loud api to user and want to add some ads with list of mp3s.
    I'm using strobe player but not getting idea to do this .
    How can we send more parameters to strobe like xmllist or How to add ParallelElement and  SerialElement in strobe Player.
    thx in advanced,

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • How to add zooming and printing in e-magazine created by indesign?

    Could you please give ma an advise me how to add zooming and printing in e-magazine created by indesign? Many thanks

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • How to convert FLV and F4V files to other media formats

    How to convert FLV and F4V files to other media formats
    Nowadays, every one can download their favorite videos from video sharing websites like YouTube, Hulu, MySpace, Google Video, metacafe, Yahoo! Video, Reuters.com and so on at will. However, these video files we got are usually in the format of FLV, or F4V, which are not workable by most portable devices, or some video players and video editors on our PC. With the intention of solving these problems, this guide will show you how to convert FLV and F4V files to other video and audio formats in detail.
    1. Download, install and run Pavtube FLV Converter
    As soon as you run this program, the following wine red interface will show up:
    2. Add files, set output format and destination folder
    Input FLV and F4V files to this program by clicking on “Add” button, and select a format as the output format in the drop-down list of “Format”, meanwhile, you can press the output folder to specify the destination folder or just use the path set by default. Moreover, “merge into one file” enables you to combine multiple FLV and F4V files to be as a single file, if you have this needs, just tick it.
    3. Set advanced settings
    Click “Settings” button, the following interface will pop up. You can change the parameters like screen size, bit rate, frame rate, sample rate, etc. on it to optimize the output quality or compress file size.
    4. Convert
    After all settings are done, you can press “Convert” button to start transferring, and then the following window will show you the conversion info in detail. According to the info you can manage your time and disk space properly.
    Pavtube FLV Converter can definitely complete the conversion at a swift speed with excellent quality; also it adopts an advanced audio-video sync technology, so that audio and video match very well in the resulted files. Therefore you need not worry about these issues.
    Useful tips:
    Free online FLV downloader:
    www.convertdirect.com
    http://vixy.net/
    http://www.videoconverterdownload.com/online-free-flv-converter.html
    http://www.flv2mp3.com/
    http://www.mediaconverter.org/
    http://2conv.com/
    http://online.movavi.com/
    http://www.youconvertit.com/
    http://www.playtube.com/
    http://www.convert.net/

    Flip4Mac

  • How can i upload a image file to server by using jsp or servlet.

    Hi,
    I m gurumoorthy. how can i upload a image file to server by using jsp or servlet without using third party API. pls anyone send me atleast outline of the source code.
    Pls send me anyone.
    Regards,
    Gurumoorthy.

    I'm not an applet programmer so I can't give you much advice there.
    If you want to stream the file from the server before it's entirely uploaded, then I don't believe you can treat it like a normal file. If you're just wanting to throw it up there and then listen to it, then you can treat it like a normal file.
    But again, I'm not entirely certain. You might be able to stream the start of the file from the server while you're still uploading the end of it, but it probably depends on what method you're using to do the transfer.

  • How to add the mail.jar file to my CLASSPATH ?

    Hi;
    I wish to Instal JavaMail 1.2
    To use the JavaMail 1.2 API, i unbundle the javamail-1_3_1-upd.zip file.....and now, i would like to add the mail.jar file to your CLASSPATH.
    My question is: how do you do this ?
    - ok i did that for CATALINA_HOME & JAVA_HOME but how to add the mail.jar file to my CLASSPATH ??
    1000 thanks.

    I think you're looking for "developer support", not packaged application support. different server, different batch of groups. . .
    Since I have very little contact with devopers, I don't truly know.

  • The value should be set for Base image URL and Image file directory

    Hi experts
    Now customer has the following issue.
    XML Publisher concurrent request, using RTF layout template with LOGO, does not generate the LOGO for Excel output.
    but in output formats PDF, it is shown normally.
    from the debug log, we can found the following error message
    ======
    [051812_054716051][][ERROR] Could not create an image. Set html-image-dir and html-image-base-uri correctly.
    ======
    so I tell the customer to do the following action plan.
    1. in XML Publisher Administrator resp > Administration expand the HTML Output section.
    2a. enter a value for 'Base image URI'
    2b. enter a value for 'Image file directory'
    Customer set the value as following and retest this issue,but he found the issue is not solved.
    Base image URI: /u01/r12/ebssnd/apps/apps_st/comn/java/classes/oracle/apps/media/XXSLI_SONY_LIFE_LOGO.gif
    Image file directory: /u01/r12/ebssnd/apps/apps_st/comn/java/classes/oracle/apps/media
    I verified 'Base image URI' and 'Image file directory' settings:
    1) Change output type to HTML.
    2) Click the Preview.
    but the image is correctly displayed on HTML, so I think the issue is caused by user's uncorrectly setting of the base image URL and/or image file directory
    but could anyone give me some advice on which value should be set for Base image URL and Image file directory
    Regards
    shuangfei

    First thing to do is to edit the post and use some tags to format the code as it is unreadable and too much!
    Read the FAQ (https://forums.oracle.com/forums/help.jspa) to find out how to do this.
    Next we need to know the jdev version you are using!
    As the code is generated I would first try to generate it again after the db change.
    Timo

  • I moved my podcasts and image files to a subfolder - now images won't display in iTunes

    I moved my podcasts and image files into a subfolder. The podcasts are working OK, but the image file does not display in iTunes anymore.
    The feed is directed through feed burner at http://feeds.feedburner.com/VineyardChurchOfMilan.
    The source xml is at https://www.dropbox.com/sh/rl89sk4lkrn9930/Zm0Jb6C1Hj/Podcast (MilanVineyardChurch.xml)
    The iTunes link is at https://itunes.apple.com/us/podcast/vineyard-church-of-milan/id562567379
    I added "/Podcast/" to the image path url in the <itunes:image> tag in the xml file and updated the path to the xml file in feedburner, but I did not add the <itunes:new-feed-url> again. Do I need to do this to force the iTunes scripts to reread the whole file again? I thought that if the iTunes scripts are reading the feedburner file that they would pick up path changes to the image when they read the feedburner file. The location of the feedburner file has not changed. Only the location of the source xml and the image have changed. Feedburner is working right, and shows the image.

    You have changed the image URL in the 'image' tag but you have not changed it in the 'itunes:image' tag, and that is what is applicable here.
    iTunes is looking for an image at
    http://dl.dropbox.com/u/89406141/MilanVineyardChurch.png
    and not finding one there. When you have amended the tag with the new URL it will probably take some days before the image appears in the Store.
    The new image is apparently at http://dl.dropbox.com/u/89406141/Podcast/MilanVineyardChurch_144.png - this is 144x144 which is inadvisably small for iTunes.
    Although your episodes, which have Feedproxy URLs, are appearing OK, iTunes does not get on at all well with Dropbox and you might be advised to consider hosting your image on an ordinary web server. However, it's possible that it will work once you've amended things.

  • How do I collect and organize files into a new folder without breaking the links to my media?

    I'm new to premiere pro, and learned that I probably should have figured out where to organize all of my files from the beginning, but in the post production phase, I have a bunch of audio and image files sitting all over my desktop, and I'm afraid that if I move them, I'll break the links to all of my media. Files I edited in CS6 Photoshop and Audition are of special concern (considering they get automatically routed to my desktop).
    Does anyone know how I can collect all of the files and media that were imported into my project, and and archive them into a folder without breaking the project's links to the original media? Perhaps there's a way to copy all of the files and move them into that folder, so that when I move the originals, I'll still maintain all of the links in the copied version?
    I tried using the project manager tool, but received an "unknown error message" each time I ran it. 
    Any organizational insight would be much appreciated!     

    Read Bill Hunt on ONE project setup idea http://forums.adobe.com/thread/919388?tstart=0
    Also read Metadata contained in folder http://forums.adobe.com/thread/1015001?tstart=0
    -and http://helpx.adobe.com/premiere-pro/using/transferring-importing-files.html

Maybe you are looking for