PDF/GIF previw

hi
my "preview" don't show gif animated!!! it show that frame by frame!!!
i want to add a gif animation to a pdf file!! but the preview don't show it!!!...
but i have another question too!!!
how can i add a gif animation to a pdf file????
can i add a gif animation in indesign and export to pdf????

disc burning device not found wrote:
how can i add a gif animation to a pdf file????
can i add a gif animation in indesign and export to pdf????
An animated GIF can be dragged to a TextEdit file or a browser window. You can't put an animated gif into a pdf file, or even ID.
-mj

Similar Messages

  • Iframe is not working for pdf files in iPad safari

    Hi,
    Pdf file is not displaying properly in iPad safari. I have faced below issue while using iframe
    Not displaying in full width and height
    Not able scroll other pages in pdf
    Thanks,
    Arun

    Hi Viraj,
    You need to upload an image "pdf.gif" in \etc\public\mimes\images folder.
    Also, you need to define the MIME Type for PDF documents in portal.
    Navigate to System Administration -> System Configuration -> Knowledge Management -> Content Management -> Utilities -> MIME Types.
    Check whether you already have a MIME Type for PDF or not. Else you can create a new Type "pdf" with MIME Type "application/pdf".
    Regards,
    Sudip

  • Thumbnail preview is not working for pdf file in KM

    Hi Experts,
    I have upload one pdf file. I have changed profile of one KM content folder from System Default to Thumbnails(For that Click on context menu of folder-> settings-> presentation->click on Select Profile ->check on Thumbnails-> Click on OK) but it is not changed. Rest of other file format's(gif etc) icon is changing.
    Regards,
    Viraj Vashi

    Hi Viraj,
    You need to upload an image "pdf.gif" in \etc\public\mimes\images folder.
    Also, you need to define the MIME Type for PDF documents in portal.
    Navigate to System Administration -> System Configuration -> Knowledge Management -> Content Management -> Utilities -> MIME Types.
    Check whether you already have a MIME Type for PDF or not. Else you can create a new Type "pdf" with MIME Type "application/pdf".
    Regards,
    Sudip

  • PDF Thumbnail

    Hi All,
    I have a folder with images and other type of documents (ex. PDFs,PPTs...)
    I used a modified Thumbnail Layout Set to have a Images preview...
    I know to have a Pdf preview I need a Thumbnail PlugIn, but I'm looking only to have a bigger PDF ICON!!!
    That means, I have a 100x100 image preview, but a very small PDF icon... ;(
    a problem is also if I change the PDF.gif in /etc/public/mimes/images
    I change the pdf default icon size... not really so interesting...
    Is there any way to set a default image for PDF 100x100 Thumbnail ????
    I was looking also for something like having a two Collection List Renderer Settings,
    one for images, one for other documents... but I think it's not possible...
    Regards!!!

    Are you asking a question? Making a request? What OS?
              - Dov

  • Can't open gifs?!  I'm getting permissions errors even though I'm the admin.  Help!

    I assume this is new since upgrading to Mavericks.  I'm having all kinds of permissions errors where if I open a file (pdf, gif, jpg, etc) even though I'm logged in as myself, and I'm the admin.  I've repaired permissions, but no errors were found.  When I click Get Info on a file, it shows that I have permission to read & write.  What?!  I'm baffled!!!

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    I've tested these instructions only with the Safari web browser. If you use another browser, they may not work as described.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box markedAllow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click anywhere in the following line on this page to select it:
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). I've tested these instructions only with the Safari web browser. If you use  another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take a few minutes to run, or perhaps longer if you have literally millions of files in your home folder. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Design View and a CSS Div layout page

    There are a few pages l
    ike this. I am assuming it is because everything is layed out w
    ith div tags, but there mush be a way to correct the desging view. Everything shows up great o
    nline. Here is a screenshot:
    Here is the code:
    <body onload="initHomePage(); addReferToLinks();">
    <!-- ################# TOOLBAR ############## -->
    <script type="text/javascript" src="/shared_assets/toolbar_v2/toolbar.js"></script>
    <!--  end TOOLBAR -->
    <img src="/profile/image/logo_linknet.gif" />
    <!-- Main div for entire page layout -->
    <form name="frmSearch" action="" method="get" title="Resources" class="scopedSearch">
           <input class="textInput" name="qt" value="THIS SECTION ONLY" id="searchField" size="20" />
           <input class="button" type="submit" value="Search" name="submit" />
           <input type=hidden name="col" value="mpr dno dnos1" />
    </form>
        <div id="main">
    <!-- ###################### LEFT NEWS ################################## --> 
      <div id="newsBox" class="box">
       <div class="boxHeader">
        <div class="headerLeft"><h2>MP News</h2></div>
        <div class="headerRight"><a href="/news/news/index.htm" class="more">more &#0187;</a></div>
       </div>
       <div class="boxContent">
        <h3>
         <script type="text/javascript">var x=new Date(); document.write(x.toLocaleDateString());</script>
        </h3>
        <div id="newsContent">
         <div class="loading">
          Loading...
         </div>
        </div>
        <!-- -->
        <h3>My Subscriptions</h3>
         <ul style="list-style-type:none;">
          <li><a href="http://rss/">Setup Subscriptions - Get Help</a></li>
          <li><a href="http://">View Subscriptions</a></li>
         </ul>
        <!-- MEDIA CENTER -->
        <div class="imgFrame"><a href=""><img src="image/mc_logo2.jpg" alt="Media Center" hspace="0" vspace="0" border="0" /></a></div>
        <!-- COLUMNS -->
        <div class="imgFrame"><a href="http/"><img src="image/columns.gif" hspace="0" vspace="0" border="0" alt="The Northwestern Columns" /></a></div>
       </div>
      </div>
    <!-- #### end LEFT NEWS ########### -->
    <!-- ###################### CENTER CONTENT ################################## -->
      <div id="content">
       <!-- MAIN CONTENT WELL -->
       <!-- optional notice (visible only when critical news exists) -->
       <div id="alert" class="box highlightBox">
        <div class="boxHeader">
         <div class="headerLeft"><h2>Important Notice</h2></div>
         <div class="headerRight"> </div>
        </div>
        <div id="alertContent" class="boxContent">
         <div class="article">
          <a href="" class="headline">Avoid lock out - Install LINK 22.2 now</a>
          Users who do not install LINK 22.2 before the version enforcement date of July 31 will be
          unable to access their PCs.
         </div>
        </div>
       </div>
                <div id="home_page_id">) Home Page</div>
       <!-- Activities -->
       <div id="activities" class="box highlightBox">
        <div class="boxHeader">
         <div class="headerLeft">Welcome<span id="username"></span><h2>What would you like to do?</h2></div>
         <div class="headerRight"> </div>
        </div>
        <div class="boxContent">
         <div style="width:100%;">
          <ul>
           <li><a title="Find information and tools for recruiting new representatives" onmouseover="showTooltip(this);" onmouseout="hideTooltip(this);">Recruiting:  <select style="font:message-box; width:19em;" onchange="if(this.value){window.navigate(appendReferer(this.value))};">
             <option name="selectRecruit" selected="selected">*** make selection ***</option>
             <option value="http.htm">Sourcing & Prospecting</option>
             <option value="http://.htm">Selecting & Assessing Candidates</option>
             <option value="http://_process.htm">Post Acceptance Process</option>
             <option value="http">Developing an Internship Program</option>
             <option value="http.htm">Tracking Activity, Results & Accountability</option>
             <option value="http://.htm">Recruiter Development</option>
            </select></a></li>
           <li><a href="/objective/mpr_secure/mp_ldorgdev.htm" title="Find information and tools for developing leaders in your office" onmouseover="showTooltip(this);" onmouseout="hideTooltip(this);">Leadership &amp; Organizational Development </a></li>
           <li><a href="/objective/mpr_secure/mp_supvsn.htm" title="Find information and tools for effective supervision" onmouseover="showTooltip(this);" onmouseout="hideTooltip(this);">Supervision</a></li>
           <li><a href="/objective/mpr_secure/mp_stfop.htm" title="Find information and tools for   managing your office" onmouseover="showTooltip(this);" onmouseout="hideTooltip(this);">Staffing &amp; Operations</a></li>
           <li><a href="/objective/mpr_secure/mp_plnperform.htm" title="Find information and tools for business planning and performance monitoring" onmouseover="showTooltip(this);" onmouseout="hideTooltip(this);">Planning &amp; Performance</a></li>
              <li><a href="/objective/mpr_secure/mp_mngmntcompben.htm" title="Find information regarding income, fees, expenses, allowances and benefits" onmouseover="showTooltip(this);" onmouseout="hideTooltip(this);">Management Compensation &amp; Benefits</a></li>
              <li><a href="/objective/mpr_secure/mp_repdev.htm" title="Find information and tools regarding mentoring and professional growth" onmouseover="showTooltip(this);" onmouseout="hideTooltip(this);">Representative &amp; Specialist Development</a>  </li>
          </ul>
          <div id="slideshow1" class="activitySlideshow" style="height:212px;">
           <img src="image/slideshow_photos/photo06.jpg" />
           <img src="image/slideshow_photos/photo07.jpg" />
           <img src="image/slideshow_photos/photo08.jpg" />
           <img src="image/slideshow_photos/photo09.jpg" />
           <img src="image/slideshow_photos/photo10.jpg" />     
          </div>
         </div>
        </div>
       </div>
       <!-- Lower div under activities (2 columns) -->
       <div class="leftColumn">
       <!-- Events Calendar -->
        <div class="box">
         <div class="boxHeader">
          <div class="headerLeft"><h2>Events Calendar</h2></div>
         </div>
          <div class="boxContent"><ul>                      
          <li>April 25-30<br />
         <a href="http_020110.htm" target="_blank"></a></li>
         <li>May 12-14<br />
         <a href="http://030510.htm" target="_blank"></a></li>               
           <li>June 16<br />
         <a href="http://.htm" target="_blank">Series conversation</a></li>                                  
                          </ul>
          </div>
        </div>
         <!-- Spotlight -->
         <div class="box">
          <div class="boxHeader">
           <div class="headerLeft"><h2>Spotlight</h2></div>
           <div class="headerRight"> </div>
          </div>
          <div class="boxContent">
                  <div class="article">
          <!-- Leave "Market volatility resources available" at the top -->
       <div class="headline"><a href="http.htm?tern Mutual Association dues decline form available</a> </div>
         The $25 association membership fee will be charged to June 30 home
         office supply bills. Representatives who wish to decline membership
         may submit a <a href="http://.htm" target="_blank">decline
         form</a>.
    <div class="headline"><a href="http://.htm">Surplus notes information available</a> </div>
         Find answers to common questions and hear insights from about the company’s recent surplus notes offering.
                              <div class="headline"><a href="http://.htm">Stay up to date on 2010 estate tax repeal </a> </div>
         Consider the new Estate Tax Repeal page on LINKnet “home base” for information on the 2010 repeal and resources to use when talking to clients about this topic.
                  <div class="headline"><a href="http/index.htm">Withstanding Market Challenges</a> </div>
         Access resources to highlight the company’s strength and stability, find sales strategies and share marketing and market-related materials to help address client concerns.
                  <div class="headline"><a href="http:///year.htm">Dividend resources available</a> </div>
         The Current Year Scale page on LINKnet provides the latest information
         and sales support materials based on the 2010 dividend announcement.
    <!-- Leave "Market volatility resources available" at the top -->
                   </div>
          </div>
         </div>
       </div>
       <div class="rightColumn">
       <!-- Approaching Deadlines -->
        <div class="box">
         <div class="boxHeader">
          <div class="headerLeft"><h2>Approaching Deadlines</h2></div>
         </div>
         <div class="boxContent">
           <ul>
    <li>April 30: <a href="http.htm">Submit 2010 Commitment to Excellence Award nbominee</a></li>
           <li>May 25: <a href="http.htm">Submit applications for Intern Community Service Award</a></li>
                          <li>June 30: <a href="http://pdf">Submit 2010 Managers Membership Award Application to NAIFA</a> <img src="/shared_assets/image/doc_icons/pdf.gif" alt="PDF File" /></li>
                          </ul>
          </div>
        </div>
        <!-- Tech Alerts -->
        <div id="techalerts" class="box">
         <div class="boxHeader">
          <div class="headerLeft"><h2>Priority Tech Alerts</h2></div>
          <div class="headerRight"><a href="http://.htm" class="more">more &#0187;</a></div>
         </div>
         <div class="boxContent">
          <div class="loading">
           Loading...
          </div>
         </div>
         <iframe name="techalerts" src="/statusdisplay/001_summary.htm" onreadystatechange="if(this.readyState=='complete'){this.previousSibling.innerHTML = formatTechAlert(frames['techalerts'].document.body.innerHTML);}"></iframe>
        </div>
       </div>
      </div>

    Dreamweaver is pretty good these days at showing the page in Design View how it will be viewed when online. HOWEVER having said that it does largely depend on the way you write the css.
    I guess for Dreamweaver it's impossible for it to show every concievable way you can write css correctly. Unfortuantely if your css is not compatible with what Dreamweaver likes it won't make a great job of rendering the site correctly in Design View, that's always been the case.
    The css is not wrong but I've seen many display issues in Dreameaver Design View caused as a direct result of the css being overly complex to crack simple presentation. I guess it's in the lap of the gods if you are fortunate enough to have found the way to write css that Dreamweaver likes.

  • How can I view my Creative Cloud Files on my iOS device?

    Hi All, I recently turned on file sync in my Creative Cloud app, and like the WEB UI overall.  I'm considering permanently switching to CC from Dropbox.  The one thing I can't seem to find is a CC iOS application.  Are we seriously expected to browse our files via mobile device on a browser? There is no app?
    Excerpt from Adobe Site:
    "Your Adobe Creative Cloud account comes with online storage so that your files are available to you anywhere and on any device or computer. You can preview many creative file types directly in a web browser on your computer, tablet, or smartphone. These file types include: PSD, AI, INDD, JPG, PDF, GIF, PNG, Photoshop Touch, Ideas, and others."
    Edit: I just tried using the file explorer via Safari and Chrome on my iPhone 5s and the scrolling is completely broken, I can only see the first few folders, and am unable to scroll down for the rest.

    1. I'll make sure to do that
    2. The Touch Apps do not help me with the functionality I am looking for.
    3. I contacted Adobe Support and received no help, transcript below:
    General Info
    Chat start time
    Jun 9, 2014 1:25:10 PM EST
    Chat end time
    Jun 9, 2014 2:01:47 PM EST
    Duration (actual chatting time)
    00:36:37
    Operator
    Nalini
    Chat Transcript
    info: Hi, we are currently helping other customers in line ahead of you. We'll be with you as soon as possible.
    While you wait, you can try our community forums where experts are online 24/7.
    info: You are now chatting with 'Nalini'
    Bart: hello?
    Nalini: Hello! Welcome to Adobe Customer Service.
    Nalini: how can i help you
    Bart: Hi, I am trying to access my Creative Cloud files as outlined in http://helpx.adobe.com/creative-cloud/help/sync-files.html via my Apple iPhone but the feature is broken.
    Bart: I cannot scroll through my files
    Bart: Is there, or will there be a mobile application in order to access these files correctly?
    Nalini: okkk
    Nalini: give a min
    Nalini: which application are you trying to access through your mobile
    Bart: Creative Cloud Files
    Nalini: hi you wont be able to use this feature on your i phone
    Nalini: 'for this you have to use a desktop or laptop
    Bart: But you website clearly states that this is available on any mobile device:
    Bart: http://helpx.adobe.com/creative-cloud/help/sync-files.html
    Nalini: ok let me double check this
    Nalini: what is the extension of the file you are trying to view
    Bart: I'm not trying to view any files in particular, I am just trying to browse through the files via my device and I cannot even scroll down.
    Bart: Navigating through this site via mobile device seems to be broken, I have tried both Safari and Chrome on my iPhone.
    Nalini: ok ,,,.
    Nalini: do you see a scrol bar or you dont even see a scroll bar
    Bart: I can see a scroll bar but the site will only allow me to scroll down 3 or 4 folders, the rest of the folders are cut off and not accessible.
    Nalini: ok ...
    Nalini: could you please try to scroll with two fingers as it s not the problem with the abobe product 
    Bart: I have tried with two fingers, it's still not functioning. It a problem with the way the web page was designed to function on a mobile device.
    Nalini: its not the problem with adobe product
    Bart: Is this the extent of your support?
    Nalini: this is not in our support boundry
    Bart: So you are telling me that you can access Creative Cloud Files with 5+ folders via iPhone 5s and you are able to scroll and view all folders?
    Nalini: adobe product are html 5 supported product
    Nalini: so this is not an isue from our end
    Nalini: you can once seek help from apple store
    Bart: But you have not actually tested it? So you don't know if there is a bug correct?
    Nalini: yes but all the adobe product are as i said html 5 suppoted
    Nalini: so it will not give you an error in scrolling
    Bart: But you have not tested it, so you don't know if there is a bug right?
    Bart: There could be a bug in the html but you don't know that do you?
    Nalini: taht can be
    Nalini: that*
    Bart: Ok, well this is the issue I'm reporting
    Nalini: okkk..
    Nalini: will report this to my managment
    Nalini: is there any thing else i may help you with
    Bart: I guess not
    Nalini: Thank you for contacting Adobe.  We are available 7 days a week, 24 hours a day. Goodbye!

  • Which program for basic business presentations?

    Forgive me but I need to ask for advice on what program to use for video editing for basic business presentations. I think Premiere Pro is way beyond my needs, mainly in terms of learning curve (as well as the cost).
    For what it's worth, I'm an avid Adobe user, and have been for years, for other programs: I currently use InDesign, Photoshop Elements, Dreamweaver, Audition, and Acrobat Standard (and also subscribe to the Acrobat Connect service). So, I don't feel too bad asking this forum to recommend "different" software for video editing. (Maybe Premiere Elements is best for me, but maybe not.)
    I do not have any experience in video editing, and I do not have any time for a significant learning curve. I also don't need to do anything fancy.
    I bought a MiniDV camcorder (Panasonic PV-GS300). I'm using a PC (3.6G, 1G RAM, half the 160G HD available, though I'll have to add a Firewire PCI card shortly) and Windows XP Pro. I'll get tripod lights and a good headworn mic. I use Nero Burning ROM 6 to burn DVDs (I've used its simple wizard to convert files and burn DVDs).
    My purpose is to create about a dozen or so 6- to 12-minute clips consisting mainly just of me standing and giving a verbal speech and with some still images created from the computer (PDF, GIF, or whatever) stuck in between the video (I'll probably want some of the speech from the video taping, or else some speech I create in Audition, to play through the showing of the still images).
    I'm not concerned with fancy video effects! I don't need it and I can't justify the learning curve (or cost) for it! Fades in and out are probably as advanced as I will get, though I really don't even need that.
    I'll want to create the videos in file formats for Windows and for Mac, and to put them on our web site for streaming video as well as burn DVDs.
    I'm sure I'll want to be able to adjust the image sizes and file sizes by choosing the tradeoff level with quality, though I hope there will be a set of standard defaults. I also really need good user forum support (I have no idea if Premiere Elements is enough for me but I sure have come to rely on the users on the Adobe forums).
    I need to ask whether I should get Premiere Elements or... yes, I know it's blasphemy but I swear I'm a loyal member of the clan in all other ways... whether there is another video editing program that's light-weight enough to be pretty quick in getting through the learning curve for the basics I want, and that's relatively inexpensive. (I've been told on one forum... blasphemy again, I know... that I should look into Vegas 7, but the price and sophistication seem way beyond my needs based on an initial glance on the web -- but maybe I should just spring for it and go. It also seems Vegas 7 is more practical for my needs than Premiere Pro -- but I'm really hoping I'll be pointed at much lower-end programs.)
    I really appreciate any advice I can get. I run a small business with big growth ahead (I have a tiger by the tail) and need to jump on this and to do it myself for now, and I just do not have a lot of time for learning.
    Thanks so much!
    Jay

    OK, fair questions.
    In my opinion, the learning curve for the most commonly used 95% of the programs is exactly the same between Premiere Pro and Premiere Elements. It really is. Capture video, figure out what you want on the timeline, put it on the timeline, add transitions, add music, export to something a DVD program can use, all of that. It is darn near identical.
    However... then you decide you want to do something interesting. You come online and we tell you that is it very simple. Just use Premiere Pro to do... oh, wait, you don't have Pro? Just Elements? Too bad.
    OK. Then you say "How do they make those great motion titles?". We say "It's easy, just use one of the text animation presets in After Effects". What? No After Effects? Too bad.
    So let's say you like using After Effects for titles and you decide you want to expand your knowledge. Simple. Get some projects from Dean Velez and modify them to suit you. Do you need to learn it all at one time? No. Just what you need when you need it.
    This is one reason that if you buy the Production Premium, one of the choices for extra goodies is a one month subscription to Lynda.com to watch their tutorials.
    Spend the time watching the tutorials. If something catches you eye, write down where you saw it so you can go back and really learn it.
    Just because you own a hammer and a saw and other hand tools doesn't mean you need to learn to be a carpenter. It just means that when your wife asks you to do something, you will have the required tools so you can go on the web and learn how to do that task, without having to run to Home Depot - which may be closed at the time you need it.
    I originally bought Premiere 6.0 and when I went to an Adobe demo at DVExpo in NYC back in 2002 I saw an After Effects demo. I called from the Adobe booth to order After Effects. Why? When I saw that the learning curve was only hard if you tried to tackle the whole thing, and I realized I could just use the part I needed, my whole opinion changed.
    If you only used After Effects for text in motion and for Stills in motion (Ken Burns and much more), you would get your money out of it. And that stuff can be learned in 15 minutes. Add in the real need for you, the chroma key, and the time savings is HUGE. You really need to know less to use Keylight than you do to use Premiere Pro to attempt the same thing.
    Having the full version of Photoshop is nothing more than you have now. Until you need more. Then you have it.
    The ability to use all of the Adobe products together outweighs any Vegas or Avid (consumer) advantages.
    Besides, we are much more helpful on this forum than those other guys! ;)

  • SUBMIT button and VALUE clause

    I have a jsp screen like below.It shows in a tabular form all the employee data.
    EMPLOYEE DETAILS
    EmpId_______ProcessEmpSalary_____ProcessEmpLeave
    1
    2
    3
    4
    5
    6
    7
    8
    NEXT______PREV____LAST____FIRST
    Under ProcessEmpSalary ,ProcessEmpLeave of each employee I have a submit button and clicking on it the particular employee id has to be processed (for salary or leave).Now I want the employee id to be passed when the submit button of that particular employee is pressed.
    So what I am doing is I put the emp id in the value clause and achieve my purpose.But this results in the display of the emp id over each submit button.It looks ugly and so
    I dont want to use the VALUE clause of the SUBMIT button.........
    So friends please tell me how to achieve it.Someone suggested me to use IMAGE but it doesn't work.Some suggested I use hidden varaible ,but I just don;t understand how is that possible.Some suggested me use javascript to pass the value and throw the form...this make sense but problem is I don't have time to learn javascript now.So please help with some code example how to achieve this result.

    Here is my jsp as it is .Employee id was used for example.In my application it is Submission_Id
    which is used as the key.
    Note:
    The method is given below after the end of this JSP code.
    SubmissionList.jsp
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <%@page import = "oracle.portal.provider.v1.*, oracle.portal.provider.v1.http.*, oracle.portal.utils.v1.*, java.sql.*, ccrspackage.*" %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    </TITLE>
    </HEAD>
    <BODY BGCOLOR = #FFCC00 FONT SIZE = "+2" >
    <FORM ACTION = 'SubmissionList.jsp' method='post'>
    <%
    //retrieve the existing session
    HttpSession Session= request.getSession(true);
    CCRS OCCRS = null;
    Connect OConnect = null;
    try
    if (request.getMethod().equals("POST"))
    if ( request.getParameter("Exit") != null)
    response.sendRedirect("Default.jsp");
    else
    OCCRS = (CCRS)Session.getValue("OCCRS");
    if (request.getParameter("Search") != null)
    OCCRS.InitialSettingForSubmissionList();
    else
    OCCRS.CreatePageOfSubmissionList(request);
    else
    OConnect = (Connect)Session.getValue("OConnect");
    OCCRS = new CCRS(OConnect);
    OCCRS.InitialSettingForSubmissionList();
    Session.putValue("OCCRS",OCCRS);
    catch (Exception e)
    OCCRS.ProcessError(e);
    //MESSAGE (IF ANY)
    out.println("<TABLE ALIGN=CENTER>");
    out.println("<TR>");
    out.println("<TD>");
    out.println("<FONT COLOR = RED>");
    out.println("<B>");
    out.println(OCCRS.GetDisplayMessage());
    out.println("</B>");
    out.println("</FONT>");
    out.println("</TD>");
    out.println("</TR>");
    out.println("</TABLE>");
    if (OCCRS.GetShowRecord() == false)
    String TempValue = "";
    String TempSelected = "";
    String TempText = "";
    out.println("<TABLE ALIGN=CENTER>");
    //Show all the drop down list
    out.println("<TR>");
    out.println("<TD>");
    out.println("<FONT COLOR = BLACK>");
    out.println("<B>");
    out.println("Fiscal Year");
    out.println("</B>");
    out.println("</FONT>");
    out.println("</TD>");
    out.println("<TD>");
    out.println("<SELECT name = 'Fiscal_Year' >");
    while (OCCRS.NextItrScrFiscal_Year())
    TempValue = OCCRS.GetItrScrFiscal_Year();
    TempSelected = OCCRS.GetItrSelectedScrFiscal_Year();
    out.println("<OPTION value = '" + TempValue + "' " + TempSelected + " >" + TempValue + "</OPTION>");
    out.println("</SELECT>");
    out.println("</TD>");
    out.println("</TR>");
    out.println("<TR>");
    out.println("<TD>");
    out.println("<FONT COLOR = BLACK>");
    out.println("<B>");
    out.println("Fiscal Period");
    out.println("</B>");
    out.println("</FONT>");
    out.println("</TD>");
    out.println("<TD>");
    out.println("<SELECT name = 'Fiscal_Period' >");
    while (OCCRS.NextItrScrFiscal_Period())
    TempValue = OCCRS.GetItrScrFiscal_Period();
    TempSelected = OCCRS.GetItrSelectedScrFiscal_Period();
    out.println("<OPTION value = '" + TempValue + "' " + TempSelected + " >" + TempValue + "</OPTION>");
    out.println("</SELECT>");
    out.println("</TD>");
    out.println("</TR>");
    out.println("<TR>");
    out.println("<TD>");
    out.println("<FONT COLOR = BLACK>");
    out.println("<B>");
    out.println("Province");
    out.println("</B>");
    out.println("</FONT>");
    out.println("</TD>");
    out.println("<TD>");
    out.println("<SELECT name = 'Province_Code' >");
    while (OCCRS.NextItrScrProvince_Code())
    TempValue = OCCRS.GetItrScrProvince_Code();
    TempSelected = OCCRS.GetItrSelectedScrProvince_Code();
    TempText = OCCRS.GetItrScrProvince_Desc();
    out.println("<OPTION value = '" + TempValue + "' " + TempSelected + " >" + TempText + "</OPTION>");
    out.println("</SELECT>");
    out.println("</TD>");
    out.println("</TR>");
    out.println("<TR>");
    out.println("<TD>");
    out.println("<FONT COLOR = BLACK>");
    out.println("<B>");
    out.println("Facility");
    out.println("</B>");
    out.println("</FONT>");
    out.println("</TD>");
    out.println("<TD>");
    out.println("<SELECT name = 'Facility_Code' >");
    while (OCCRS.NextItrScrFacility_Code())
    TempValue = OCCRS.GetItrScrFacility_Code();
    TempSelected = OCCRS.GetItrSelectedScrFacility_Code();
    TempText = OCCRS.GetItrScrFacility_Name();
    out.println("<OPTION value = '" + TempValue + "' " + TempSelected + " >" + TempText + " " + TempValue + "</OPTION>");
    out.println("</SELECT>");
    out.println("</TD>");
    out.println("</TR>");
    out.println("<TR>");
    out.println("<TD>");
    out.println("<FONT COLOR = BLACK>");
    out.println("<B>");
    out.println("Status Code");
    out.println("</B>");
    out.println("</FONT>");
    out.println("</TD>");
    out.println("<TD>");
    out.println("<SELECT name = 'Status_Code' >");
    while (OCCRS.NextItrScrStatus_Code())
    TempValue = OCCRS.GetItrScrStatus_Code();
    TempSelected = OCCRS.GetItrSelectedScrStatus_Code();
    TempText = OCCRS.GetItrScrStatusDesc();
    out.println("<OPTION value = '" + TempValue + "' " + TempSelected + " >" + TempText + "</OPTION>");
    out.println("</SELECT>");
    out.println("</TD>");
    out.println("</TR>");
    out.println("</TABLE>");
    // SHOW 2 SUBMIT BUTTONS ,"Next" and "Close"
    out.println("<TABLE ALIGN = 'CENTER'>");
    out.println("<TR>");
    out.println("<TD ALIGN=CENTER>");
    out.println("<INPUT TYPE = 'SUBMIT' NAME = 'ShowRecord' value ='ShowRecord'>");
    out.println("</INPUT>");
    out.println("</TD>");
    out.println("<TD>");
    out.println("<INPUT TYPE = 'Submit' NAME = 'Exit' value ='Exit'>");
    out.println("</INPUT>");
    out.println("</TD>");
    out.println("</TR>");
    out.println("</TABLE>");
    else
    out.println("<TABLE ALIGN=CENTER>");
    //THE COLUMN NAME IS SHOWN
    for(int Row = 0;Row <= OCCRS.GetFilledRow();Row++)
    if (Row == 0)
    out.println("<TR BGCOLOR = 'Black' >");
    else
    out.println("<TR BGCOLOR = 'Teal' >");
    for(int Col = 0;Col <= OCCRS.GetFilledCol();Col++)
    out.println("<TD>");
    out.println("<B>");
    out.println("<FONT COLOR = WHITE >");
    out.println(OCCRS.ReturnNewPageElement(Row,Col));
    out.println("</FONT>");
    out.println("</B>");
    out.println("</TD>");
    out.println("</TR >");
    out.println("</TABLE>");
    out.println("<TABLE ALIGN = 'CENTER'>");
    out.println("<TR>");
    if (OCCRS.GetMoreRecExist())
    out.println("<TD>");
    out.println("<INPUT TYPE = 'Submit' NAME = 'Next' value ='Next'>");
    out.println("</INPUT>");
    out.println("</TD>");
    if (OCCRS.GetPageNumber() > 0)
    out.println("<TD>");
    out.println("<INPUT TYPE = 'Submit' NAME = 'Prev' value ='Prev'>");
    out.println("</INPUT>");
    out.println("</TD>");
    out.println("<TD>");
    out.println("<INPUT TYPE = 'Submit' NAME = 'First' value ='First'>");
    out.println("</INPUT>");
    out.println("</TD>");
    out.println("<TD>");
    out.println("<INPUT TYPE = 'Submit' NAME = 'Search' value ='Search'>");
    out.println("</INPUT>");
    out.println("</TD>");
    out.println("<TD>");
    out.println("<INPUT TYPE = 'Submit' NAME = 'Exit' value = 'Exit'>");
    out.println("</INPUT>");
    out.println("</TD>");
    out.println("</TR>");
    out.println("</TABLE>");
    %>
    </FORM>
    </BODY>
    </HTML>
    Here is my method in CCRS class
    This method create a multidimensional array of fixed row
    and column .This array is populated with all the data that has to
    be displayed ,and also satisfies the condition specified by the user.
    This array is subsequently used in the JSP (which calls this method)
    and displays all the row.
    public void CreatePageOfSubmissionList(HttpServletRequest request) throws Exception
    ResultSet ResSet;
    ShowRecord = true;
    DisplayMessage = "";
    if (request.getParameter("ShowRecord") != null )
    ScrProvince_Code = request.getParameter("Province_Code").trim();
    ScrFacility_Code = request.getParameter("Facility_Code").trim();
    ScrFiscal_Year = request.getParameter("Fiscal_Year").trim();
    ScrFiscal_Period = request.getParameter("Fiscal_Period").trim();
    ScrStatus_Code = request.getParameter("Status_Code").trim();
    LastSubmission_Id = 999999999;
    MathematicalSign = "<";
    else
    if (request.getParameter("Release") != null )
    ScrSubmission_Id = request.getParameter("Release").trim();
    Submission_Id = ScrSubmission_Id;
    ReleaseSubmission();
              LastSubmission_Id     =     FirstSubmission_Id;
    MathematicalSign = "<=";
    else
    if (request.getParameter("Process") != null )
    ScrSubmission_Id = request.getParameter("Process").trim();
    Submission_Id = ScrSubmission_Id;
    ProcessSubmission();
              LastSubmission_Id     =     FirstSubmission_Id;
    MathematicalSign = "<=";
    else
    if (request.getParameter("Remove") != null )
    ScrSubmission_Id = request.getParameter("Remove").trim();
    Submission_Id = ScrSubmission_Id;
    RemoveSubmission();
              LastSubmission_Id     =     FirstSubmission_Id;
    MathematicalSign = "<=";
    else
    if (request.getParameter("Prev") != null )
    PageNumber = PageNumber - 1;
    Long Temp = (Long) VecPrevSubmission_Id.elementAt(PageNumber);
    LastSubmission_Id = Temp.longValue();
    MathematicalSign = "<=";
    else
    if (request.getParameter("First") != null )
    Long Temp = (Long) VecPrevSubmission_Id.elementAt(0);
    LastSubmission_Id = Temp.longValue();
    PageNumber = 0;
    MathematicalSign = "<=";
    else
    if (request.getParameter("Next") != null )
    PageNumber = PageNumber + 1;
         VecPrevSubmission_Id.addElement(new Long(FirstSubmission_Id));
    MathematicalSign = "<";
    //initialize the page array
    for(int Row = 0;Row <= MaxPageRow;Row++)
    for(int Col = 0; Col <= MaxPageCol;Col++)
    NewPage[Row][Col] = "";
    Submission_Id = LastSubmission_Id + "";
    Province_Code = ScrProvince_Code;
    Facility_Code = ScrFacility_Code;
    Fiscal_Year = ScrFiscal_Year;
    Fiscal_Period = ScrFiscal_Period;
    Status_Code = ScrStatus_Code;
    BuildQueryForSubmissionList();
    ResSet = Stmt.executeQuery (Query);
    ResSetMetaData = ResSet.getMetaData();
    //remember NumOfFields is O is java variable which starts with 0 and not 1,
    //that is the reason I am subtracting 1 from oracle returned value.
    int NumOfFields = ResSetMetaData.getColumnCount() - 1;
    FilledCol = -1;
    for(int Col = 0; Col <= NumOfFields;Col++)
    //1 is added because JDBC subscripts starts with 1 and not 0
    NewPage[0][Col] = ReturnChangedColumnName(Col + 1,ResSetMetaData);
    FilledCol = FilledCol + 1;
    FilledCol = FilledCol + 1;
    NewPage[0][FilledCol] = "Remove";
    FilledCol = FilledCol + 1;
    NewPage[0][FilledCol] = "Process";
    FilledCol = FilledCol + 1;
    NewPage[0][FilledCol] = "Release";
    FilledCol = FilledCol + 1;
    NewPage[0][FilledCol] = "Preview";
    //Note at this point row number 0 of the array is having the field names
    //Remaining rows (i.e 1,2...etc) will now be populated with field data
    FilledRow = 0;
    MoreRecExist = false;
    while(ResSet.next())
    if (FilledRow == MaxPageRow)
    MoreRecExist = true;
    break;
    FilledRow = FilledRow + 1;
         if     (FilledRow     ==     1)
              FirstSubmission_Id     =     Long.parseLong(ReturnColumnData(1,ResSet));
    FilledCol = -1;
    for(int Col= 0; Col <= NumOfFields;Col++)
    //1 is added because JDBC subscripts starts with 1 and not 0
    NewPage[FilledRow][Col] = ReturnColumnData(Col + 1,ResSet);
    FilledCol = FilledCol + 1;
    LastSubmission_Id = Long.parseLong(ReturnColumnData(1,ResSet));
    Status_Code = ResSet.getString("Status_Code");
    if (Status_Code == null)
    Status_Code = "";
    else
    Status_Code = Status_Code.toUpperCase().trim();
    FilledCol = FilledCol + 1;
    //IF SUBMISSION HAS ONLY BEEN REGISTERED THEN SHOW A REMOVE BUTTON
    if (Status_Code.equals("R"))
    NewPage[FilledRow][FilledCol] = "<INPUT TYPE = 'Submit' NAME = 'Remove' value ='" + LastSubmission_Id + "'></INPUT>";
    FilledCol = FilledCol + 1;
    //SHOW THE PROCESS BUTTON IF SUBMISSION HAS BEEN BEEN REGISTERED
    if (Status_Code.equals("R"))
    NewPage[FilledRow][FilledCol] = "<INPUT TYPE = 'Submit' Name = 'Process' value ='" + LastSubmission_Id + "'></INPUT>";
    FilledCol = FilledCol + 1;
    //SHOW THE RELEASE BUTTON IF THE SUBMISSION HAS BEEN BEEN PROCESSED
    if (Status_Code.equals("P"))
    NewPage[FilledRow][FilledCol] = "<INPUT TYPE = 'Submit' NAME = 'Release' value ='" + LastSubmission_Id + "'></INPUT>";
    FilledCol = FilledCol + 1;
    //SHOW THE PREVIEW BUTTON IF THE SUBMISSION HAS BEEN PROCESSED
    if (Status_Code.equals("P") ||
    Status_Code.equals("C") )
    NewPage[FilledRow][FilledCol] =
    "<img src=\"pdf.gif\" border=\"0\" onClick=\" javascript:window.open('" + StringUtil.replaceString(Preview_URL,"%Submission_Id%",new Long(LastSubmission_Id).toString()) + "', 'SubmissionReport','location=no,menubar=no,toolbar=no,scrollbars=yes,left=' + window.screen.availWidth*1.2/8 + ',top='+window.screen.availHeight*1.2/14 + ',width=' + window.screen.availWidth*3/4 + ',height=' + window.screen.availHeight*6/7 + '')\" style=\"cursor:hand\" >";
    // "<img src=\"/appl/development/ccrs/images/pdf.gif\" border=\"0\" onClick=\" javascript:window.open('" + StringUtil.replaceString(Preview_URL,"%Submission_Id%",new Long(LastSubmission_Id).toString()) + "', 'SubmissionReport','location=no,menubar=no,toolbar=no,scrollbars=yes,left=' + window.screen.availWidth*1.2/8 + ',top='+window.screen.availHeight*1.2/14 + ',width=' + window.screen.availWidth*3/4 + ',height=' + window.screen.availHeight*6/7 + '')\" style=\"cursor:hand\" >";

  • Unix Executable Files how to open

    I have a disc from a design company which contains many Unix Executable Files. I have no idea what the content files extensions are and some of the files are quite large. The cotents are important for my job. Is there any way I can open these files? A 5 hour internet search and I'm no closer to a solution, I'm just more confused. I am scared to just try adding a 'guess' extention as the contents I am hoping to find are ai, psd or other hi res but there could be text data. I am scared of destroying stuff. Can anyone help me please?
    Thank you,
    Amanda

    If the file follows the "proper conventions", in terminal use the file command.  In terminal, type the command file followed by a space.  Then drag one of the files into the terminal window.  You will see a line that looks something like,
    file path-to-file
    Hit return.  If it's a file that the file command can recognize it will tell you what it thinks it is.  It it isn't it will tell you it's just a data file.
    If it's a executable mach-o file file will tell you that and for which architecture.  But if you are getting these files from some non-Mac system the odds are pretty good they can't be executed in the mac environment because they won't follow the mac architectural coding conventions or they aren't even mach-o executables in the first place.  If they did come from a mac system and are executable, then without any documentation on each file you can only guess at what they may do (or screw up).  Many unix tools have a convention where if you just execute them without any arguments they may give you some minimum help info on what they do.  But it may not.
    Not one of those files documents what on that CD?
    If file does recognize the file, say as a pdf, or text, etc., then you probably can use mac tools to open them.  For example, if it's pdf (gif, jpg, etc.) open it with preview.  If text, open with textedit.

  • SRM file attachments to be maintained in a different server (content server

    Hi Sap Gurus
    we are using Extended classic senario of SRM, and Shopping cart, PRs, POs are created in SRM and remains in SRM only, (no transfer to ECC / backend)
    and here in Shopping cart, PRs, and POs we attach external files (word, Pdf, gif files) relevantly,
    we have a requirement to transfer the SRM external files / documents attached in to a different content server,
    the requirement is simple, as to not to Load the SRM server with external documents or attachments, we would like to have this documents in a different Server (here inside content server) so that the documents are accessed and retrived from Content server every time by SRM.
    Going to Transaction OAC0, we could see there are different content repositories available, having Document area, and storage Type mainly SAP System database.
    here let me know among the list of different content repositories available which one specifically deals with external file attachment storage, so that i can change the storage Type to a Content server
    is this the correct way to transfer our SRM external files to a different Content server, or any other best methord please eloborate
    Points sure for any correct answers,
    Thanks and Regards
    Priya
    Edited by: Priya S on Jun 2, 2009 7:14 PM

    Hi all
    We are currently holding shopping cart attachments on the local server but the customer now wishes to hold this on OpenText repository.  I have successfully implemented the OpenText repository by changing the value against BBPFILESYST to our bespoke value; however when I do this I can no longer see the attachments that were previously stored locally!
    Can someone please advise how this may be achieved or, conversely, how these 'old' attachments can be moved to OpenText?
    Many thanks in advance
    Andy

  • Jasper

    Dears,
    can in jasper report import PDF file?
    for example I have report (myReport.jasper) and I have (doc.pdf). I need set doc.pdf in myReport.jasper. as image..
    when view myReport.pdf . I can view doc.pdf in myReport.pdf.
    thank you

    Requirement is not embedding a pdf in a report, but an image in a report.
    To add an image in a report, include the <image> element in the XML template. Inside the <image> element, specify the name of the image file.
    <image scaleImage="Clip" vAlign="Middle">
         <reportElement x="0" y="5" width="32" height="32" />
         <graphicElement />
         <imageExpression class="java.io.File">
              <![CDATA[new File($P{BaseDir}, "pdf.gif")]]>
         </imageExpression>
    </image>

  • CF scripts not consistently listing contents of folder

    Hello.
    I upload multiple types of files to the server. Sometimes
    they are folders, word docs, ppts, pdfs or xls files. There is a
    script that runs that is supposed to list everything that I have
    uploaded into a directory. The problem is, it does not work
    consistently. Sometimes it will display all files, subdirectories,
    files within, sometimes it will say that nothing is there. I am not
    sure why it will work with some files/folders, and won't with
    others. Some folders work great, some don't. It may be a
    permissions problem, I'm not sure...
    Here's an example - I have a folder and a word document in
    the "root" files directory. When viewing in the browser, it
    displays "No Files Found". Then if I move a ppt back a directory -
    to the root, all 3 items (word doc, folder and ppt) will then show
    in the browser. For some reason the ppt triggers everything to
    suddenly show. This "magical" ppt does not work for every directory
    though. Some items just won't show no matter what.
    Here's a sample script that lists the contents of the
    directory:
    <cfinclude template="../usercheck.cfm">
    <cfparam name="URL.module" default="">
    <cfparam name="URL.file" default="">
    <cfparam name="URL.action" default="">
    <HTML>
    <HEAD>
    <TITLE>Title</TITLE>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=iso-8859-1">
    <link href="../links.css" rel="stylesheet"
    type="text/css">
    <!-- End Preload Script -->
    <style type="text/css">
    <!--
    .style3 {color: #FFFFFF; font-weight: bold; }
    .style6 {font-size: 10px}
    -->
    </style>
    </HEAD>
    <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0
    MARGINWIDTH=0 MARGINHEIGHT=0 ONLOAD="preloadImages();">
    <a href="/index.html"><img src="/Images/graphic.gif"
    width="169" height="84" border="0"></a>
    <br>
    <cfset pathn =
    "#getDirectoryFromPath(cgi.PATH_TRANSLATED)#files">
    <CFIF (URL.file IS NOT '')>
    <CFDIRECTORY ACTION="LIST"
    DIRECTORY="#pathn##urldecode(url.module)#"
    NAME="FileCheck"
    FILTER="#URL.file#">
    <cfif URL.action eq "Delete">
    <CFIF FileCheck.RecordCount GT 0>
    <cffile file="#pathn##urldecode(url.module)##URL.file#"
    action="delete">
    <cflocation
    url="module.cfm?module=#URLEncodedFormat(url.module)#">
    </CFIF>
    <cfelse>
    <CFIF FileCheck.RecordCount GT 0>
    <!--- <cfhttp
    method="Get"
    url="#getdirectoryfrompath(pathn)##URL.file#"
    path="#pathn#"
    file="#URL.file#"> --->
    <CFHEADER
    NAME="content-disposition"
    VALUE="attachment; filename=#URL.file#">
    <CFCONTENT type="application/unknown"
    file="#pathn##URLdecode(url.module)##URL.file#"
    DeleteFile="No"></CFCONTENT>
    </CFIF>
    </cfif>
    <cfelse>
    <CFDIRECTORY ACTION="LIST"
    DIRECTORY="#pathn##urldecode(url.module)#"
    NAME="dirlist">
    <table width="487" border="0" align="center">
    <tr bgcolor="#004B8D">
    <td width="479" height="36"><span
    class="style3"> Physician Modules
    </span></td>
    <td></td>
    </tr>
    <cfif #dirlist.recordcount# gt 2>
    <CFOUTPUT QUERY="dirlist">
    <CFIF type IS 'File'>
    <tr bordercolor="##D5EBFF" bgcolor="##D5EBFF">
    <td width="479" bordercolor="##D5EBFF" bgcolor="##F4FAFF"
    class="links">
    <span class="style6"><a
    href="#cgi.SCRIPT_NAME#?module=#URLEncodedFormat(url.module)#&file=#name#"> #left(name,le n(name)-4)#</a></span>
    </td>
    <td width="50" bgcolor="##FFFFFF">
    <cfswitch expression="#right(name,3)#">
    <cfcase value="xls">
    <cfset imagesrc="/Images/excel.gif">
    </cfcase>
    <cfcase value="pdf">
    <cfset imagesrc="/Images/pdf.gif">
    </cfcase>
    <cfcase value="doc">
    <cfset imagesrc="/Images/word.gif">
    </cfcase>
    <cfcase value="ppt">
    <cfset imagesrc="/Images/powerpoint.gif">
    </cfcase>
    <cfdefaultcase>
    <cfset imagesrc="/Images/unknown.gif">
    </cfdefaultcase>
    </cfswitch>
    <div align="center"><img src="#imagesrc#" width="31"
    height="27"></div>
    </td>
    </tr>
    <cfelseif type eq 'Dir'>
    <cfif ((name neq "." ) AND (name neq "..")) >
    <cfset tempname = #url.module# & "" & #name#>
    <tr bordercolor="##D5EBFF" bgcolor="##D5EBFF">
    <td bordercolor="##D5EBFF" bgcolor="##F4FAFF"
    class="links"><a
    href="#CGI.SCRIPT_NAME#?module=#URLEncodedformat(tempname)#">#name#</a></td>
    <td bgcolor="##FFFFFF"
    class="links">Directory</td>
    </tr>
    </cfif>
    </cfif>
    </cfoutput>
    <cfelse><!--- <cfif #dirlist.recordcount# lt
    2> --->
    <tr bordercolor="#D5EBFF" bgcolor="#D5EBFF">
    <td bordercolor="#D5EBFF" bgcolor="#F4FAFF"
    class="links">
    <span class="style6">No Files
    Found</a></span></td>
    <td bgcolor="#FFFFFF"> </td>
    </tr>
    </cfif>
    </table>
    </cfif>
    <table width="100%" border="0" cellpadding="0"
    cellspacing="0" class="links">
    <tr>
    <td height="50" align="center" valign="middle"
    class="links">
    <cfinclude template="../navmenu.cfm">
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    Thanks for your help.

    You are not able to do this with CF directly.  It would be a function of the web server.
    You could move all documents other than .cfm into a folder outside of the web root, then use tags such as cfcontent to deliver those files programatically (as often happens when you download software off of a website now days).  However I suspect this isn't what you are looking for.  Just in case here is a quick example of how you may do the force download of document from outside root:  http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/force-file-download-27

  • Problem with document size and images in KM Repository

    Hi,
    We get a problem in KM that when we upload documents example pdf and so we donot get respective document icon and also the document size always shows as 0 Bytes.
    Any suggestions?
    Thanks,
    Manish

    Hi Manish,
    I just uploaded a PDF, 2.8 MB. It appears, /irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/public/mimes/images/pdf.gif appears, 2.8 MB are shown.
    You are using the standard KM "Folder - New - Upload" component? If yes, it's just a bug. If you use your own component, it's a bug too but then on your individual site.
    Here it is tested on EP6 SP2 P4 HF6 / CM6 SP2 P3 HF4.
    Hope it helps
    Detlev

  • Mime-types icons in java code

    Hi all,
    I use a custom developed iView for viewing a list of KM documents.
    I now need to add an icon next to each document according to its mime-type.
    I want to use the table in System Administration -> System Configuration -> Knowledge Management -> Content Management -> Utilities -> Icons.
    Since I couldn't find a way to access it, I "copied" it to my code:
    private String getIconPath(IResource r){
         String filename = "unknown.gif";
         try{
              String mimeType = r.getContent().getContentType();
              if (mimeType.equalsIgnoreCase("application/msword")){
                   filename = "document.gif";
              else if (mimeType.equalsIgnoreCase("application/pdf")){
                   filename = "pdf.gif";
              else if (mimeType.equalsIgnoreCase("application/vnd.ms-excel")){
                   filename = "spreadsheet.gif";
              else if (mimeType.equalsIgnoreCase("application/vnd.ms-powerpoint")){
                   filename = "presentation.gif";
              else if (mimeType.equalsIgnoreCase("application/vnd.visio")){
                   filename = "vectorgraphics.gif";
              else if (mimeType.equalsIgnoreCase("application/vnd.wcm-folder")){
                   filename = "standard_folder.gif";
              else if (mimeType.equalsIgnoreCase("application/vnd.wcm-weblink")){
                   filename = "html_link.gif";
              else if (mimeType.equalsIgnoreCase("audio/basic")){
                   filename = "audio.gif";
              else if (mimeType.equalsIgnoreCase("audio/midi")){
                   filename = "audio.gif";
              else if (mimeType.equalsIgnoreCase("audio/mpeg")){
                   filename = "audio.gif";
              else if (mimeType.equalsIgnoreCase("audio/x_mpeg")){
                   filename = "audio.gif";
              else if (mimeType.equalsIgnoreCase("image/")){
                   filename = "image.gif";
              else if (mimeType.equalsIgnoreCase("link.application/msword")){
                   filename = "document_link.gif";
              else if (mimeType.equalsIgnoreCase("link.application/octet-stream")){
                   filename = "unknown_link.gif";
              else if (mimeType.equalsIgnoreCase("link.application/pdf")){
                   filename = "pdf_link.gif";
              else if (mimeType.equalsIgnoreCase("link.application/vnd.ms-excel")){
                   filename = "spreadsheet_link.gif";
              else if (mimeType.equalsIgnoreCase("link.application/vnd.ms-powerpoint")){
                   filename = "presentation_link.gif";
              else if (mimeType.equalsIgnoreCase("link.application/vnd.visio")){
                             filename = "vectorgraphics_link.gif";
              else if (mimeType.equalsIgnoreCase("link.application/vnd.wcm-folder")){
                   filename = "standard_folder_link.gif";
              else if (mimeType.equalsIgnoreCase("link.audio/basic")){
                   filename = "audio_link.gif";
              else if (mimeType.equalsIgnoreCase("link.audio/midi")){
                   filename = "audio_link.gif";
              else if (mimeType.equalsIgnoreCase("link.audio/mpeg")){
                   filename = "audio_link.gif";
              else if (mimeType.equalsIgnoreCase("link.audio/x_mpeg")){
                   filename = "audio_link.gif";
              else if (mimeType.equalsIgnoreCase("link.default")){
                   filename = "unknown_link.gif";
              else if (mimeType.equalsIgnoreCase("link.image/")){
                   filename = "image_link.gif";
              else if (mimeType.equalsIgnoreCase("link.text/html")){
                   filename = "html_link.gif";
              else if (mimeType.equalsIgnoreCase("link.text/plain")){
                   filename = "plaintext_link.gif";
              else if (mimeType.equalsIgnoreCase("link.text/xml")){
                   filename = "xml_link.gif";
              else if (mimeType.equalsIgnoreCase("link.video/vdo")){
                   filename = "video_link.gif";
              else if (mimeType.equalsIgnoreCase("sap-crt/state-error")){
                   filename = "s_s_ledr.gif";
              else if (mimeType.equalsIgnoreCase("sap-crt/state-not-init")){
                   filename = "s_s_ledi.gif";
              else if (mimeType.equalsIgnoreCase("sap-crt/state-ok")){
                   filename = "s_s_ledg.gif";
              else if (mimeType.equalsIgnoreCase("sap-crt/state-warn")){
                   filename = "s_s_ledy.gif";
              else if (mimeType.equalsIgnoreCase("text/html")){
                   filename = "html.gif";
              else if (mimeType.equalsIgnoreCase("text/plain")){
                   filename = "plaintext.gif";
              else if (mimeType.equalsIgnoreCase("text/xml")){
                   filename = "xml.gif";
              else if (mimeType.equalsIgnoreCase("video/vdo")){
                   filename = "video.gif";
         } catch (Exception e){
              e.printStackTrace();
         try {
              IURLGeneratorService urlgen = (IURLGeneratorService)ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);                         
              return urlgen.getImageUri(filename).toString();
         } catch (Exception e) {
              e.printStackTrace();
              return "";
    Is there a way to access that table and avoid this (ugly) duplication?
    Thanks ahead,
    Yoav.

    Hi,
    try using the mimeHandler service for getting the SRC of image for a resource in KM:
    IMimeHandlerService mh = (IMimeHandlerService)
      ResourceFactory.
      getInstance().
      getServiceFactory().
      getService("MimeHandlerService");
    String imagePath = mh.get(res).getImagePath();
    where 'res' is IResource object of the resource in KM.
    Hope this helps.
    Romano

Maybe you are looking for

  • Cannot send mail from my hotmail account on my iphone 4s

    i bought a iphone 4s and set up my hotmail account through the Mail setting - Add accout - Hotmail.  I have never been able to send mail through this set up. i have deleted the account and re-setup the account several times and had no success.  I am

  • I live in a rural area where I need to get Mountain Lion on CD/DVD.  Will Apple do that?

    I live in a rural area where Mobile Broadband is my only internet access.  Since I have to pay $10/GB, downloads can get really expensive.  Mountain Lion is 4GB and that's not even the largest thing I've had to download.  Why can't Apple make a DVD a

  • Problem in PO

    hi friends when i m trying to create the PO I m getting the following error 1) Vendor's or manufacturer's QA system inadequate Kindly mail me the solution Urgent Please

  • Problems centering links in menubar

    I am designing two websites supposed to be very similar because they are properties of the same person. However I have a horizontal menu along the top on both sites... Both have exactly the same style sheets...... Only on site A the links are central

  • Passing a parameter to a thread

    HI, could you please tell me how to pass parameters to threads? Thanks