LOL, I was waiting for someone to say that.

The compressor file consists of the following code:
....
// Get context objects
context = getPageContext();
gzip = createObject("java", "com.moxiecode.tinymce.GZipCompressor");
gzip.init();
gzipData = gzip.compressToBase64(context, suffix, javacast("int",
expiresOffset), diskCache, cachePath);
</cfscript><cfif gzipData IS NOT
""><cfoutput>#tostring(tobinary(gzipData))#</cfoutput><cfabort></cfif>

After this is the plain text I am talking about. If the compressor
were working, the gzipData would be populated and the template would
abort as per the cfabort tag. However, it doesn't - I've verified this
by examining the contents of the variable. It means that an error is
happening somewhere in the Java.

On 6/13/06, Jim Wright <[EMAIL PROTECTED]> wrote:
> On 6/12/06, James Holmes <[EMAIL PROTECTED]> wrote:
> > Has anyone had any luck with the GZip compressor that's available for
> > TinyMCE? I tried it and just got the plain text that's part of the CF
> > file (verified by editing it). No GZip headers etc.
> >
>
> It's getting late, so I might be a bit fuzzy on this...but wouldn't
> you expect to see the plain text?  Isn't the unzipping of whatever
> files it has zipped up a browser function which happens in the
> background?
> --
> Jim Wright
> Wright Business Solutions
> [EMAIL PROTECTED]
> 919-417-2257
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243274
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to