Open Save As Dialog Box

I would like to create open Save As dialog using ColdFusion.
The user will be clicking a button and the dialog will pop up
asking the user if he want to save the file. I know that it can be
done using JavaScript, but I am not sure how it could be done with
CF. any suggestions?
Thank you in advance.

Take a look at this:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_17216&sliceId=1
Bryan Ashcraft (remove BRAIN to reply)
Web Application Developer
Wright Medical Technology, Inc.
Macromedia Certified Dreamweaver Developer
Adobe Community Expert (DW) ::
http://www.adobe.com/communities/experts/
"eliblow" <[email protected]> wrote in
message
news:fjkqvv$gig$[email protected]..
>I would like to create open Save As dialog using
ColdFusion. The user will
>be
> clicking a button and the dialog will pop up asking the
user if he want to
> save
> the file. I know that it can be done using JavaScript,
but I am not sure
> how it
> could be done with CF. any suggestions?
>
> Thank you in advance.
>

Similar Messages

  • Blank page shown instead of Open/Save As dialog box-CSV file download in IE

    I am migrating an application hosted earlier on Oracle 9iAS (9.0.3.1 BP1) to OracleAS 10g (10.1.3) with Struts 1.2.9. While the below JSP code worked for the earlier s/w stack when accessed using IE 5.5 SP2 or above, a blank page is displayed with the new s/w stack. What I mean by "worked earlier" is this. A "Open/Save As" dialog box would appear. Trying to "Open" would open a new IE window launching MS Excel and displaying correct data. Trying to "Save As" would display correct filename and extension in the dialog box.
    <%@page autoFlush="false" contentType="application/x-filler"%>
    <%
    try
    String fileName = "ABC.CSV";
    String strData = "A,B,C";
    response.setContentLength(strData.length());
    response.setHeader("Content-Type","application/octet-stream");
    response.setHeader("Content-Disposition","inline;filename="+fileName);
    ServletOutputStream ouputStream = response.getOutputStream();
    ouputStream.write(strData.getBytes(), 0, strData.getBytes().length);
    ouputStream.flush();
    ouputStream.close();
    catch(Exception e)
    %>
    I tried some changes listed below:
    1. Deliberately introduced compilation errors in the JSP code.
    2. Changed contentType="application/x-filler" to various MIME types like application/x-download, application/vnd.ms-excel, removing it altogether.
    3. Commented out response.setHeader("Content-Type","application/octet-stream") and also tried other MIME types related to CSV/Excel.
    4. Changed Content-Disposition from inline to attachment.
    Each of the above resulted in an unacceptable behaviour compared with the earlier state:
    1. Blank page shown as if nothing was happening even in case of deliberate incorrect JSP syntax.
    2. Dialog box did show up with some combinations. But on trying to "Open" or "Save As", the dialog box shows up a second time. Then while trying to "Open", the contents get opened either inline or in MS Excel but with some additional garbage data like source file name.jsp etc. While trying to "Save As" the file name and extension take on the pattern <URL_Pattern>.htm where URL_Pattern would be "DOWNLOAD_ACTION.do".
    Some other information:
    1. This code works when accessed from desktop local container (Win 2000) but not when deployed on Unix env (HP-UX B.11.11.0109).
    2. Latest patchsets are installed for IE.
    3. The existing application is designed to work for ONLY IE 5.5 SP2 or above, so I haven't tried with other browsers. I have tried both IE 5.5 SP2 and 6.0 SP1.
    Any help in this regard will be highly appreciated.
    Thanks a lot for your valuable time..

    I have made it to work with the below changes:
    1. Changed the URL pattern for <filter-mapping> for *.jsp to /*.jsp
    2. Added <dispatcher>REQUEST</dispatcher> and <dispatcher>FORWARD</dispatcher>
    3. Everything else (code-wise) is as before.
    Because of these changes, the filter, wherein some headers are being added to the response, is being invoked appropriately now.
    Thanks for you time and suggestion though...

  • Editing the folder links in DW,FW "Open/Save As" dialog box

    i found apps to change the folder links in the left column of my various Windows7 Open/Save As dialog box, but it doesn't affect those in DW,FW. is there a way to do this?
    thanks
    GN

    Take a look at this:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_17216&sliceId=1
    Bryan Ashcraft (remove BRAIN to reply)
    Web Application Developer
    Wright Medical Technology, Inc.
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "eliblow" <[email protected]> wrote in
    message
    news:fjkqvv$gig$[email protected]..
    >I would like to create open Save As dialog using
    ColdFusion. The user will
    >be
    > clicking a button and the dialog will pop up asking the
    user if he want to
    > save
    > the file. I know that it can be done using JavaScript,
    but I am not sure
    > how it
    > could be done with CF. any suggestions?
    >
    > Thank you in advance.
    >

  • How do i disable the open/save image dialog box in firefox? I want to directly save the image file to the drive.

    How do i disable the open/save image dialog box in firefox? I want to directly save the image file to the drive without clicking on save option everytime when saving an image. I'm using firefox ver 35.0.1 for windows 7.

    Click on the Firefox menu. Then click "Options". Go to "Applications" tab. Search for jpg and png file type. You will find they have "Always ask" action attribute. Change it to "Save file".
    Hope it will work fine for you.

  • CS5.5/OS X 10.8: Open/Save As dialog box resizing

    Since I have been using CS5.5 Web Design Premium in Mountain Lion, I cannot get the programs to remember me resizing the Open and Save As dialog boxes.
    Each time I Open or Save As, the windows default to about 720 x 540, which is annoyingly small on a 1920 x 1200 screen. 
    In each programs' .plist file, located at /Users/(username)/Library/Preferences/, there are two keys:
    NSNavPanelExpandedSizeForOpenMode:GetFile
    NSNavPanelExpandedSizeForSaveMode:PutFile
    After trying to resize the windows, I  QuickLook these .plist files.  The values for these key-value pairs are
    1)  sporadically updated and subsequently ignored on program close/relaunch, or
    2)  not updated at all.
    Have noticed this problem in DW, FW, AI, and FL.  PS seems to be the only exception.
    Adobe products are the only programs on my Mac that exhibit this problem.
    Mac OS is up to date. (10.8.3 as of date of post)
    All aforementioned Adobe programs are up to date according to the Adobe Application Manager.
    The preferences folder and the specific .plist files contained therein are read/writeable by me, the administrator.
    Rebuilding the .plist file does not help.
    Rebuilding the Saved Application State folder for the program does not help.
    Other miscellaneous things (resizing Finder columns, showing/rehiding hidden files, maximizing/restoring the window) don't help either.
    Can any community members who have experienced this problem suggest any fixes?

    I think this is an OS X 10.8 thing rather than a CS5.5/OS X 10.8 thing – but I would really like a fix for this too, nnotnorth

  • Photoshop CS6 Windows - Open\Save as dialog box

    Why in Photoshop & Illustrator CS6 "Open" and "Save as" dialog box style is from Windows XP?
    In AfterEffects, Audition and other is new dialog box style:
    Can Adobe add in "Preferences" - option with checkbox for users Windows 7/8
    who can use the new windows explorer with extended folder bar?
    That would be simplified and speeded up a lot of things.
    Or maybe I'm blind and not see this option

    Summary:
    ... because 100 years ago, people also had wooden wheels for cars.

  • Open/Save File Dialog Box comes up, then does not respond for a long time or not at all

    I will click a link for a download and the box will pop up saying
    "You have chosen to open "blahblah.blah.blah
    Which is a: blah file
    From: www.randomsite.com
    What should Firefox do with this file?
    Open with
    Save File"
    At this point other than being able to see the box, it is as though it doesn't exist. I can't click okay or cancel or choose what to do. Sometimes after a few minutes it will suddenly work, other times it will just remain until Firefox closes.

    You can also try to clean install the new version after deleting the [http://kb.mozillazine.org/Profile_folder Profile Folder] as well as the [http://kb.mozillazine.org/Installation_directory Installation Folder.] Please see [https://support.mozilla.org/en-US/kb/Backing%20up%20your%20information?s=backup&r=1&e=sph&as=s this] for backing up important info. The '''places.sqlite''' file stores the bookmarks and history, the '''key3.db''' + '''siqnons.sqlite''' files are needed to successfully restore the saved passwords etc.
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Files]
    [https://www.mozilla.org/en-US/firefox/new/ Firefox Latest]

  • "Save As" Dialog Box in Acrobat X/Windows 7

    One of the best things about Windows Vista and 7 is the much-expanded and much-improved Open/Save As dialog boxes.  They are much more efficient and much easier to work with, especially as you build huge document libraries.
    When I installed Acrobat X I was very excited by the assumption that a post-Windows 7 Acrobat build would utilize Windows 7 dialog boxes.  Oh was I wrong.  It seems that Acrobat X still utilizes the old Windows 2000/Windows XP dialog boxes.
    Does anyone know of a way to force Acrobat to use 21st century dialog boxes?  Or am I doomed to remain stuck in 1990s file navigation hell?
    Thanks.

    This is really unbelieveable that Adobe is apparently unable to detect the version of Windows that they are running on and alter the Dialog box to suit! I can only imagine that their code base is so bad and riddled with old legacy stuff that their developers are unable to make this change without breaking everything. In which case, why even bother to bump to a new major version of X ?
    Why do we support this?
    Chris Cox, your answer of "We've been trying to - but we still have to support XP and Vista." is unacceptable. You know how to detect that you are running on Windows 7 and you can still support XP and Vista. Any developer out there know this.
    MAKE THIS CHANGE NOW !!

  • How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?

    How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?  I would like them to open at the size they were previously resized like they used to in previous operating systems.  They currently open at a very small size and the first colum is only a few letters wide necessitating a resize practically every time one wants to use it.  Any help would be appreciated.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • How to open a save file dialog box in form

    hi
    all
    I have prob in form desing , i have open the save file dialog box , how to open a save dialog box
    and path of the select file to save in disk
    help
    thx

    hi
    user this query when-button-pressed trigger
    :txtfile := GET_FILE_NAME(directory_name =>'d:\ali_raza\backup\', file_filter=> 'DMP Files (*.dmp)|*.dmp|');
    Rizwan

  • I would like Adobe to utilize the non-legacy save/open Windows 7 dialog box

    So I downloaded the trial for CS5.5 Master Suite and found that the open/save dialog box is the same thing from CS5.  This is a huge disappointment.
    Reason being is explained right here: http://www.sanneblad.com/2010/06/18/customizing-the-open-and-save-dialogs-in-adobe-cs5-for -windows/
    Common File Dialog is being used still by CS5 and CS5.5 which is outdated and legacy.
    [Starting with Windows Vista, the Open and Save As common dialog boxes have been superseded by the Common Item Dialog. We recommended that you use the Common Item Dialog API instead of these dialog boxes from the Common Dialog Box Library.]
    The Open dialog box lets the user specify the drive,  directory, and the name of a file or set of files to open. You create  and display an Open dialog box by initializing an OPENFILENAME structure and passing the structure to the GetOpenFileName function.
    The Save As dialog box lets the user specify the drive, directory, and name of a file to save. You create and display a Save As dialog box by initializing an OPENFILENAME structure and passing the structure to the GetSaveFileName function.
    Explorer-style Open and Save As dialog boxes provide user-interface features that are similar to the  Windows Explorer. However, the system continues to support old-style Open and Save As dialog boxes for applications that must be consistent with the old-style user interface.
    In addition to the difference in appearance, the Explorer-style and  old-style dialog boxes differ in their use of custom templates and hook  procedures for customizing the dialog boxes. However, the Explorer-style  and old-style dialog boxes have the same behavior for most basic  operations, such as specifying a file name filter, validating the user's  input, and getting the file name specified by the user. For more  information about the Explorer-style and old-style dialog boxes, see Open and Save As Dialog Box Customization.
    The following illustration shows a typical Explorer-style Open dialog box.
    http://msdn.microsoft.com/en-us/library/bb776913%28v=VS.85%29.aspx
    http://msdn.microsoft.com/en-us/library/ms646960%28VS.85%29.aspx
    It appears it would be a simple retooling of the code in order for this to work.  I truly hope that Windows 8 will force all software developers to utilize the new Common Item Dialog API.

    We've been trying to - but we still have to support XP and Vista.
    It appears it would be a simple retooling of the code in order for this to work.
    Um, no, not that simple.

  • How to open a 'Save As' Dialog box in JSP?

    Hi all, i need to export a CSV file. A button is provided to the user to choose the directory to save the file. My problem is how to open a 'Save As' dialog box in JSP?
    Thanks in advance

    Hi,
    Below is my full code to download fiel but still the Save Dialog box still not show..
    <%@ taglib prefix="cs" uri="futuretense_cs/ftcs1_0.tld"
    %><%@ taglib prefix="asset" uri="futuretense_cs/asset.tld"
    %><%@ taglib prefix="assetset" uri="futuretense_cs/assetset.tld"
    %><%@ taglib prefix="commercecontext" uri="futuretense_cs/commercecontext.tld"
    %><%@ taglib prefix="ics" uri="futuretense_cs/ics.tld"
    %><%@ taglib prefix="listobject" uri="futuretense_cs/listobject.tld"
    %><%@ taglib prefix="render" uri="futuretense_cs/render.tld"
    %><%@ taglib prefix="siteplan" uri="futuretense_cs/siteplan.tld"
    %><%@ taglib prefix="searchstate" uri="futuretense_cs/searchstate.tld"
    %><%@ taglib prefix="locale" uri="futuretense_cs/locale1.tld"
    %><%@ taglib prefix="dateformat" uri="futuretense_cs/dateformat.tld"
    %><%@ taglib prefix="blobservice" uri="futuretense_cs/blobservice.tld"
    %><%@ taglib prefix="satellite" uri="futuretense_cs/satellite.tld"     
    %><%@ taglib prefix="date" uri="futuretense_cs/date.tld"
    %><%@ page import="COM.FutureTense.Interfaces.*,
    COM.FutureTense.Util.ftMessage,
    COM.FutureTense.Util.ftErrors"
    %><%@ page import="COM.FutureTense.Interfaces.*,
    COM.FutureTense.Util.ftMessage,
    COM.FutureTense.Util.ftErrors"
    %>
    <%@ page language="java" contentType="text/html;charset=UTF-8" %>
    <%@ page import="java.io.File" %>
    <%@ page import="java.io.OutputStream" %>
    <%@ page import="java.io.FileInputStream" %>
    <cs:ftcs><%-- france/test_template
    INPUT
    OUTPUT
    --%>
    <%-- Record dependencies for the Template --%>
    <ics:if condition='<%=ics.GetVar("tid")!=null%>'><ics:then><render:logdep cid='<%=ics.GetVar("tid")%>' c="Template"/></ics:then></ics:if>
    <%
    String fileToFind = request.getParameter("file");
    if(fileToFind == null) return;
    File fname = new File(fileToFind);
    System.out.println("Save As: "+fname.getName() );
    if(!fname.exists()) return;
    FileInputStream istr = null;
    response.setContentType("application/octet-stream;charset=ISO-8859-1");
    response.setHeader("Content-Disposition", "attachment; filename=\"" + fname.getName() + "\";");
    try {
    istr = new FileInputStream(fname);
    int curByte=-1;
    while( (curByte=istr.read()) !=-1){
    out.write(curByte);
    out.flush();
    } catch(Exception ex){
    ex.printStackTrace(System.out);
    } finally{
    try {
    if(istr!=null) istr.close();
    } catch(Exception ex){
    System.out.println("Major Error Releasing Streams: "+ex.toString());
    try {
    response.flushBuffer();
    } catch(Exception ex){
    System.out.println("Error flushing the Response: "+ex.toString());
    %>
    </cs:ftcs>
    Can anybody help me with this???
    Thank you in advance.

  • "Save As" Dialog Box Opens As Full Screen. How to Disable?

    At some point my "Save As" dialog box began to open as full screen. Don't know why. There is no way that I can find to get it out of full screen mode. I've looked at the preferences and can't find any obvious control for this behavior. It's not a big deal, but it's very annoying. I've not been able to find anywhere else that this question has been asked.
    I tried "Save As Other" and it behaves the same way.
    The document itself is not opened full screen.
    I'm using Windows 7. Currently I'm running Adobe Reader XI, but the behavior started before that. I think I may have accidentally typed in some combination of keys (or dropped something on the keyboard) that set some kind of option somewhere.
    Thanks for any help.

    Wouldn't you know it. By entering this question a similar question finally showed up. The answer is to right-click in the top of the window and select "Restore." Problem solved.

  • Move, delete, or rename files in Open or Save As Dialog box

    I want to be able to rename, delete or move a file when I am in an Open or Save As dialog box. Sometimes when I am opening a file or saving a new file I spot an existing file that needs to be renamed, moved to a folder or even deleted. In Windows I would just take care of that file and then keep going with what I was doing in the first place. This doesn't seem to work in Mac OSX. I have to stop, go to a Finder window, go to the location, do what I want to do to the file and then go back to the Open or Save As dialog box. There's go to be a better way in the "world's most advanced operating system." Ideas?

    SDA_MAC wrote:
    There's go to be a better way in the "world's most advanced operating system."
    no, there isn't.
    Ideas?
    you can ask apple to implement this feature
    http://www.apple.com/feedback/macosx.html

  • All Office 2010 Applications Slow To Produce "OPEN" or "SAVE AS" Dialog Box ONLY When PC Connected To Network

    Hello all,
    Frustrating problem: ALL Office 2010 apps require a 45 second delay to produce an "open" or "save as" dialog box when the computer is connected to a LAN (wireless or wired, domain or workgroup). When the computer is NOT connected to a LAN (wireless or wired,
    domain or workgroup), then Office 2010 "open" or "save as" dialog boxes open normally (and quickly).
    I suspect a network search/survey function internal to MS Office is at fault.
    This is NOT the infamous mapped network drive problem associated with Office 2007/2010. There are no mapped drives (nor have there ever been) on the PC, although there might exist a related solution. Additionally, there is no 45 second delay when opening
    a file by double-clicking on the file itself which will launch the application.
    Other information:
    1. PC runs Windows 7 Pro 32 bit - PC is a relatively new Lenovo T400 laptop, all updates from Lenovo and MS installed, running clean and nicely otherwise, no spyware, no viruses, no previous software or hardware issues requiring assistance. Event log is
    clean.
    2. Absolutely fresh installation of Office 2010 Pro Plus (MS Action Pack)
    3. Running Office apps in safe mode does not alter problem behavior (ie, "windword.exe /a" or use CTRL key and double-click to launch app)
    4. Running Windows 7 in safe mode with networking and then subsequently testing Office apps is not possible: "license not able to validate" issue. This is a known problem and is not related to the slow dialog box response behavior.
    5. A desktop PC with the same MS Office 2010 installation, same volume license key, on the same network does NOT produce this problem.
    6. Full uninstall, reboot, and re-install of Office 2010 does not alleviate problem
    7. Disabling ALL startup items and services (including, of course, ALL Lenovo management software) does not alleviate problem
    8. SMB v2 bug is not the problem: ie, disabling mrxsmb20 service does not alleviate symptoms.
    9. I have isolated "Client for Microsoft Networks", "QOS Packet Scheduler", "Link-Layer Topology Discovery Mapper I/O Driver" (and Responder), and "Printer and File Sharing for MS Networks" in the network adapter properties are NOT causing the issue.
    10. Using Sysinternals Registry Monitor, I was able to determine that Office apps evaluate certain properties of your Internet Explorer settings before attempting to launch the "open" or "save as" dialog box. Altering the way intranets are detected, for
    example, does not alleviate the symptoms.
    11. Turning off Antivirus software (Avira Personal) does not alleviate the issue.
    This issue is causing a huge loss of work efficiency. Any help would be greatly appreciated.
    Thank you for your time.
    Sincerely,
    Rick

    Hello Rick,
    Through all the research I have done so far and talking with a few other coworkers what the common issues that cause this are is:
    1. Antivirus: disabling the antivirus is not good enough it needs to be totaly uninstalled and retested.
    2. startup programs: these need to be disabled through either Safe mode with networking or the start menu or MSconfig.
    3. Office addins: Disable all of them see if that helps. Then turn them back on one by one to see which addin is causing the issue.
    To disable addins: 1. open up regedit and navigate to this key. HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Addins and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins
    Then change the LoadBehavior to 0 this will disable the addin. 3 lets it run. Since this affected only one user HKEY_LOCAL_USER might be your best bet but don't rule out the other location.
    To verify there are no addins running go to the File tab>options>Add-Ins make sure nothing is listed under Active Application Add-ins.
    I hope this helps
    Thanks,
    Paul Slaathaug Sr. Support Engineer - Microsoft Word

Maybe you are looking for

  • Code questions in DWCS6

    Hello, my CSS fiole passes 3C3 but my Template which had over 39 problems is now down to Four. I could use some help because I'm clueless to what they are saying. The following notes and warnings highlight missing or conflicting information which cau

  • Received [Microsoft][ODBC SQL Server Driver]Invalid parameter type

    Hi, This error happened when I am using CallableStatement to call a stored procedure. ===================== cstmt.registerOutParameter(3, java.sql.Types.INTEGER); myResultSet = cstmt.executeQuery(); ===================== I am sure my stored procedure

  • DB Polling one process

    Hello Everybody, I have a Database adapter as an exposed service to my BPEL process. My BPEL keeps polling the DB adapter. My configurations of polling options are as follows Polling frequency : 60 seconds no of databse rows per XML document : 1 Data

  • How to Install the Extract Filter in Photoshop CS5

    Extract filter is not available in Photoshop CS5...I guess..however while searching i found somthing http://www.egurudev.com/2011/09/install-the-extract-filter-in-photoshop-cs5.html Can somebody kindly confirm if this method works...if not please sug

  • Cisco AP 1310 interface status "reset"

    any idea why the ap 1310 send the interface to "reset" state: Feb 28 18:03:00.820 -0600: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot1 1Radio0, changed state to up *Feb 28 18:03:19.870 -0600: %LINK-3-UPDOWN: Interface Dot11Radio0, changed stat