Steve,
This is great news!  I can't try to emulate it right now, but I'll try in the 
AM.  Just curious, I had added .FDF       FDF%20 prvw     application/vnd.fdf 
to the extensionmap.ini, and we aren't using xfdf in any way, but you consider 
.fdf a binary format?  It's really just plain text somewhat like xml.

Thanks!!!
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/

Reply via email to