Steve, Thanks for the tip. I tried clear response buffer, which the command I was looking for, but I get the same symptom. The error says 'Acrobat could not open 'plugin-index.asp' because it is either not a supported file type or... I wonder if there is anyway to overwrite the document name to 'doc.fdf' or something that has an extension the Acrobat understands. I know there is no corruption because a direct link to it served by Apache loads the .fdf and the associated .pdf just fine. I've noticed that when I use the same technique to open an excel document, it is also named index.asp as well. In both cases, it is the fusebox home page.
Mike > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Steve Alex > Sent: Wednesday, March 17, 2010 9:07 AM > To: [email protected] > Subject: Re: [Active4d-dev] Fusebox fbx_layouts.a4d question > > This brings back bad memories of trying to get fdf and xfdf > to work in Active4D. About the only thing I can find is my > archives are the templates. I just remember giving up and we > went to pdfplugin and used some plugin to populate the fields > and sent the pdf. I also remember something about the file > corruption error. > > Seems to me that opening fdf file actually combines the fdf > and xfdf file in the pdf template. I just can't remember what > all we tried. Think we went as far has having applescript > open the file and save the pdf, but that was a hack destined > for problems. Think another excursion was to not open the > file in the browser, but saving it. Think that worked, but > you had to go through stuff to find the template. > > If your write a blob (fdf opened with document to blob), the > output buffer is cleared with write blob. You can try "clear > response buffer", but "Write Blob" should do that. > > On Mar 17, 2010, at 6:25 AM, Mike Vogt wrote: > > > Hi all, > > I have a nested circuit that I believe needs to clear out > anything in that's already in the output buffer before it > includes it's raw data. In the past, I've included a simple > html list form and followed with set content > type("application/vnd.ms-excel") in order to have the > document open up in Excel. It works great. I now have the > need to do something similar except it's an Adobe .fdf (not > .pdf) document that I need to open in Acrobat (within the > browser). I'm doing the same thing as above, creating a text > document with the .fdf data ( which works when opening > directly) and following with set content > type("application/vnd.fdf"), which is the proper MIME. I'm > getting an error indicating the document is corrupt and I > believe it's due to what's in the output buffer prior to my document. > > > > My question, is there some setting that will allow a > circuit to 'clear' everything in the output buffer at any given time? > > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev > Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/ _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
