Problem in opening a document in ADF

Hi,
I have a command link to open a document in the DB. When I click the link, there is a window opened with two options. 'Save and Open'. If click any one of the options, again the same window is opened with the same options. Only the second time the document gets opened.
Any one please help me in solving this issue. I need to open the document in one click.
Thanks,
Venki

Frank,
Here is the detail.
I have a jsp page which uploads a document to the data base. I am using ADF af:inputFile component for that. There is also a table in the same jsp page which gets refreshed everytime the document is added in to the data base. This table shows the documents uploaded. There are two columns in the table. One is filename and the second is the document number. File name is given as a command link which will download the document when clicked.
So when I click on the command link, there is a window opens with two options in it (Open and save). Regardless of the option I click, again the same window is opened with the same options. At this point of time, it works according to the action that I click.
I want the document to be opened or saved at one click. At present users click the window options two times to open the document or save the document.
Please let me know if I am not clear.
Thanks,
Venki

Similar Messages

  • Problem with opening odf document

    Hello,
    I have some problem with opening pdf document (attached image). Any idea why ?
    Regards,

    Any idea why ?

  • Problem with opening cs4 document in cs5.5

    I have quite a big document of a catalog, created in InDesign cs4. It contains many layers and different master pages. When I open this document in cs5.5 layers and master pages get completely confused and the document looks completely different. When I created the inx-file in cs4 and opened it in cs3 everything was alright. Does anybody know what the problem in cs5.5 could the problem? Am I doing sth wrong?

    I've been looking at the file, and it is indeed a puzzlement.
    There is some good news, however. I don't know why it is happening (perhaps a bug, and maybe John would like to take a look at this, too), but it looks like the Paper-filled rectangle from Hinweise layer on the right of Master Ee is being copied to the left half of the actual document spreads on random layers. The pages that seem to be blank are easy to spot in the Page panel (22, 24, 26 & 32) and you can simply Cmd-Shift click on the rectangles on those pages to override and your text and graphics will be revealed. I'm not immediately picking up any other problems scanning quickly through the pages. For a quick and dirty get it done solution, I think this will work, though I would use the .inx file rather than the .indd for the conversion in CS5.5.
    I've looked through the file history, and it is long. This started out in 2007 in CS2 and has gone through updates in CS3 and CS4, and been recovered from crashes at least 4 times (which might have something to do with the strangeness). I also think there are a lot of extraneous unused frames on many of the pages. If it were my project, I'd probably clean it up as much as possible in CS4, even going as far as recreating the master pages in a new document and then going page by page and doing a copy/paste in place of all non-master objects into the new file if you don't want to spend the time to place everythign again from scratch, which in my opinion would be a better idea (I tried moving the pages to a new file, but that didn't make any difference in the CS5.5 conversion). You could also rebuild from Scratch in CS5.5.

  • Problem with opening Archivelink document because of wrong MIME type

    In transaction OAD2 we have a document type FAX which is currently connected to MIME-type application/pdf. This works fine for opening documents having document class FAX and are actuallty a PDF. However, in the past this document type FAX has also been used to store documents, which refer to a MIME type 'image/tiff'.
    When opening FAX-documents that are actually a PDF-file, this currently works fine. When  trying to view these FAX-documents that are actually a TIFF-file, it won't be shown in e.g. SAP Document Viewer, because the extention is unknown. You you have to save the file locally in order to be able to see it.
    Is there a solution to look to the actual document type when opening a document via ArchiveLink, instead of looking to the ArchiveLink document type?
    Thanks for any input in this one!
    Regards,
    Joost

    I've been looking at the file, and it is indeed a puzzlement.
    There is some good news, however. I don't know why it is happening (perhaps a bug, and maybe John would like to take a look at this, too), but it looks like the Paper-filled rectangle from Hinweise layer on the right of Master Ee is being copied to the left half of the actual document spreads on random layers. The pages that seem to be blank are easy to spot in the Page panel (22, 24, 26 & 32) and you can simply Cmd-Shift click on the rectangles on those pages to override and your text and graphics will be revealed. I'm not immediately picking up any other problems scanning quickly through the pages. For a quick and dirty get it done solution, I think this will work, though I would use the .inx file rather than the .indd for the conversion in CS5.5.
    I've looked through the file history, and it is long. This started out in 2007 in CS2 and has gone through updates in CS3 and CS4, and been recovered from crashes at least 4 times (which might have something to do with the strangeness). I also think there are a lot of extraneous unused frames on many of the pages. If it were my project, I'd probably clean it up as much as possible in CS4, even going as far as recreating the master pages in a new document and then going page by page and doing a copy/paste in place of all non-master objects into the new file if you don't want to spend the time to place everythign again from scratch, which in my opinion would be a better idea (I tried moving the pages to a new file, but that didn't make any difference in the CS5.5 conversion). You could also rebuild from Scratch in CS5.5.

  • Problem to open Office documents from Sharepoint

    Hello All,
    We have published SharePoint 2013 (NTLM authentication) via TMG 2010. However, we are having the following issue:
    When users try to open (https connection) any Office Documents to Office 2013 they get prompted for credentials, then after they provide credentials they get "Sorry, we couldn't open <URL of the document>". The prompt for credentials is ok because
    persistent cookies are not option for us. We don’t have Office Web Apps in use and we want to open documents to client application. Our company users machines are Windows 7, Office 2013 and Internet Explorer 10/11.
    I made some tests and everything work fine with:
    Windows 7, Office 2010 and Internet Explorer 10/11
    Windows 7, Office 2013 and Internet Explorer 8
    Almost fine:
    Windows 7, Office 2013 and Firefox (latest). With Firefox it works if I open any Office document from summary link list but not if I try to open from inside document library. If I open from document library (right click) to new tab or to new window it works
    fine.
    Any ideas what’s going on? It must be something with IE 10/11 and Office 2013. I also tried with TMG persistent cookie and then I can open Office documents with IE 10/11.
    I also checked with fiddler what happens and I can see that everything stops to 401 error.
    Thank you,
    Miikka Lehtonen
    Turku University of Applied Sciences Limited

    Hello Miikkal,
    You need to enable SharePoint class in IE. Please follow this
    blog and follow this
    article.
    Once, this is done you can Enable all the IE settings to load for Intranet and Trusted zone settings
    Put your site in compatibility mode and trusted zone
    Also, make sure that 2 versions of Office suite is not installed on the system.  Eg. Lync 2013 and Office 2010 on one single machine
    What happen when you by pass your TMG server. To do this we need to make host entry for URL directed to APP server IP Address.
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • Big problem in opening word documents in Pages (iWork) ipad

    Hi I study in UNI so I mostly have to open .doc documents from my Uni website but 95% times the .doc files doesn't open properly sometimes even half of the file stuff is just missing even using pages app from iWork. Any suggestion ?. Or ipad is t a waste of money for Uni stuff ?.? I have also tried other apps from App Store but none of them works properly.

    LeopardBoy wrote:
    Or ipad is t a waste of money for Uni stuff
    I would never recommend an iPad for any serious Uni education.  You must have a laptop or other machine that can run things like MS Word most likely being used by the people grading your work.  Even for secondary education an iPad is very limiting in my view.

  • Problem with open Word Documents and Quark Documents

    Hi,
    I am getting a strange problem with OS X Server 10.4.6, running on a G4 Xserve 1Ghz.
    When working on files in Microsoft Word X and 2004 after having the file open for a few minutes if you try and save we get an error "Word failed reading from this file", or "Bad network connection".
    Also in Quark 6.52 and Quark 6.1 when trying to save a file to the server we get "File not found [-43]". It is possible to open files, and it is also possible to move files onto the share using finder without any problems. To work on documents we are having to work on them locally on the desktop then copy across once done.
    The only thing that i can think has changed is the power went off last night, which casued the Xserve to restart. These problems are occuring across all client computers so i am assuming it can only be a problem with the server.
    Does anyone have any idea what this could be, or any tests that i can do to detmine what is up with it
    Many Thanks
    Tim Pearson

    Hi David,
    I have just tried power-cycling the switches, still getting the same problem.
    I will run disk utility on the shares at lunch. I don't think this will help as it is happening on both data drives.
    I have now also updated the OS X server to 10.4.7, and have turned the access log and error log on, it is showing no errors in the error log, and i can't see anything in the access log that looks out of the ordinary.
    With Quark i can replicate the same problem every time by creating a new project, saving it, altering it and saving it again (this works), then if i alter it again and try and save it comes up with "Duplicate File Name [-48]". It is also not deleting the temporary files, for example "QXP-1055966280.qxp".
    Regards
    Tim Pearson
    Grafika Ltd

  • Problems after opening "Get Document" Unix Executable file

    After importing documents from my Dell computer to macbookpro and opening a file called "Get Document" which is a Unix Executable file, I now have dozens of these type of these type of files in "Places":
    file://localhost/Users/sacredsprings/%25B0%2580%25A9%25C0SR
    I had Linux installed on my Dell, and having read a few threads think it may be to do with that.  Can I just safely delete all these files?

    Sometimes ZIP files are made into self-expanding .exe files. When run on a PC, they will unzip without needing any unzipping software. They will not do this on a Mac, but Stuffit Expander may work with them
    <http://www.stuffit.com/mac/expander/>

  • Problems with opening keynote documents...corrupted?

    I am using the latest Keynote and Yosemite.
    Twice now I have gotten the message "Document cannot be reverted" .  The file closes and I cannot reopen it.  It seems to be corrupted.
    What could be causing this?

    This message is displayed when opening a Keynote file with a version that is older than the version that created it:
    e.g. created in Keynote 6.5 and trying to open with 6.2
    Right click the file > Get Info  select Open With;  in the Open With drop down menu select Keynote 6.5
    Then click;   Change All

  • Problems with open an Indesign-Document over Network

    Hallo,
    we have a specialized problem with opening indesign-documents over network. Our users works with windows-pc (windows7) and adobe CS5 and CS6 and they will use there documents which are on our macserver 4.0 which works on OS X 10.10.2.
    Sometimes the usurers become this Message
    Wouldn't work indesign proberly on windows with documents which are on a macserver?
    Please help me.
    best regards
    chris mueller

    @Naga Sai J – you cannot open an InDesign CS4 file in the previous version.
    But you can export an exchange file format for InDesign CS3.
    Go to File/Export and chose INX for export: "InDesign CS3 Interchange-Format (INX)"
    That .inx file could be opened with InDesign CS3.
    After opening the .inx file, examine it well!
    Some things might have changed (things regarding to newer or changed features from InDesign CS4).
    Uwe

  • Problem with opening a indd file in CC 2014.

    When I'm trying to open a 5.5 .indd-file in CC 2014 on my Windows computer, I get this error message: 'Either the file does not exist or you do not have permission to open it or the file is used by another program'. However my collague has no problem with opening the document on his Mac computer. I guess it has something to do with a kind of setting in my CC 2014. Can anyone help me?

    Nothing to do with ID. It really means what it says - your file permissions are hosed and it being an ID file this could include things like fonts or placed images referenced within it.
    Mylenium

  • New Pages not opening some documents

    Why can I open some of my Pages documents and some others say that a newer version of Pages is avail for download in the App Store?  I go to the App Store and it says that I have already downloaded and installed the newer version.  Please tell me what I can do.

    I encountered problems with opening some documents on Pages for iMac (v5.1) as well.  Specifically, the documents contained mathematical symbols, and were stored on the iCloud.
    When I dragged the document out of iCloud, and onto the desktop, I could open and edit the documents without issue.  When I moved them back to the iCloud, I once again could not open them with Pages for iMac.  However, I could edit them without issue from my iPhone.
    Moving the document out the iCloud to the desktop, in order to open and edit them, and then moving them back to the iCloud so they can be accessed everywhere else, is clearly a work around, not a solution.  And it seems to only apply to my documents with mathematical symbols.  Which particular symbol(s) is/are the issue, I have not investigated.

  • Trouble opening Word documents

    Has anyone else had the problems with opening a document created in Word? Specifically, when I open an existing Word document, a dialog box pops up stating, "Couldn't contact spell checker". The dialog boxes keep popping up faster then I can close them until I get the colored ball and I am forced to manually quit the program. This is a huge bug and I find myself resorting to using Word and staying away from Pages altogether.

    Hi OldMack,
    I found an old thread where people were discussing this problem [here|http://discussions.apple.com/thread.jspa?messageID=5166006].
    I'd try all of the simpler things they suggest, and if nothing else works, an Archive and Install certainly will.
    Hope that helps!
    —Hazy

  • When I attempt to open a PDF file I saved from a website, I get the message "There was an error opening this document. The file is damaged and could not be repaired." Is there any way to correct this problem?

    When I attempt to open a PDF file I saved from a website using Safari, I get the message "There was an error opening this document. The file is damaged and could not be repaired." When I save the same PDF file using FireFox it opens up immediately. Is there any way to correct this problem with Safari?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • I am having a problem opening pdf document.  I get error message: "Adobe Reader has stopped working"

    I am having a problem opening pdf document.  I get error message: "Adobe Reader has stopped working" then I get Windows is looking on line for a solution, but then my document closes. I tried uninstalling and reinstalling Adobe Reader XI, rebooted my computer but this did not help.  I get the same message. What to do?

    Can you open Reader by itself?  If so, check if disabling Protected Mode improves the situation [Edit | Preferences | Security (Enhanced)].

Maybe you are looking for

  • My Macbook Pro will not connect to the internet or bring up Safari!

    For the past couple of weeks my Macbook Pro has been having issues connecting to the internet and when it is connected it won't bring up Safari "You are not connected to the internet" I use the correct password for my wireless internet and it still w

  • New install for a Surface Pro 3

    I don't have an external dvd drive, so wondering if I can copy the installation disk on my desktop computer to a jumpdrive or external hard drive and then install that way to my Surface's USB port?

  • PO : Condition type ZB00/RB00 (Value) and NETPR NETWR value printing Zero

    Hi Experts, I have created a Purchase Order line Item having the condition type ZB00(Value) the values of NETPR and NETWR are reflecting in the screen and in the table EKPO but when click on Print Priview the values of NETPR and NETWR are printing Ze

  • So what good is a disc image???

    I did a search on this and saw nothing. Very annoying; I've burned two coasters thus far from an archived Disc Image created in iDVD 7.x. iDVD8 will not even load it, unless there's some &$^#%$ secret handshake-- why enable disc image burning in iDVD

  • IPhone sends jpg, Mac demands jpeg

    If I email myself photo from my iPhone, why do I get: You cannot save this document with extension ".jpg" at the end of the name. The required extension is ".jpeg" [Why oh why did I switch to the Mac?]