Steve, I tried exactly what you have, and I get a white screen! What version of everything are you using? I wonder if it has anything to do with the fact that I'm serving https (SSL) and not http?
Mike > -----Original Message----- > From: [email protected] [mailto:active4d-dev- > [email protected]] On Behalf Of Steve Alex > Sent: Sunday, March 21, 2010 4:50 PM > To: [email protected] > Subject: Re: [Active4d-dev] Fusebox fbx_layouts.a4d question > > > On Mar 21, 2010, at 2:36 PM, Mike Vogt wrote: > > > I'm still in v4; actually I had tried $fusebox{"layout"} := "" at one > time out of desperation. I wonder if anyone has served fdf/pdf files > out of Active4D/Fusebox? I'll keep trying and report back. If anyone > gets a bright idea, I'm all ears! > > Although I forgot everything about FDF that I really didn't want to > learn, I tried this: > > I put this into extensonsMap.ini > > .FDF FDF%20 prvw application/vnd.fdf > > Probably don't have type and application right, but don't think it > matters. > > I had a fdf file that would load a pdf using the fdf file, > rustytest.fdf in a circuit directory. I have no idea how I created it > - it was something using xfdf. Since ..fdf is a birary format, I assume > you have a way of creating it. > > I created a test action in a switch, fdf > > :($fuseaction = "fdf") > $path := directory of(current path)+"rustytest.fdf" > c_blob($fdf) > document to blob($path;$fdf) > set response header("Content- > Disposition";"inline;filename="+"histeve.fdf") > write blob($fdf;"application/vnd.fdf") > > And it worked. > > > Steve Alex > > P.S. I still think it is a tie between who can write worse code, Adobe > or Microsoft! > _______________________________________________ > 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/
