CFMX CFDUMP output formatting

2004-03-18 Thread Stephen Hait
Is there a way to control the font-size for CFDUMP output with 
CFMX on W2003? I'd like to have the text display larger so I can 
read it. I'd prefer to be able to do this from the CFAdministrator.

There appears to be a class file, cfdump2ecfm659484891.class, 
which contains an embedded style sheet that specifies font-size: 
xx-small. This file appears to be encrypted. If CFDUMP output 
font-size cannot be controlled via the Administrator, could this file 
be modified to change this?

Any ideas?

Stephen
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFMX CFDUMP output formatting

2004-03-18 Thread Raymond Camden
CFDUMP uses a request variable to determine if it should output it's CSS
style sheet. If you set this yourself BEFORE calling cfdump and then output
your own style sheet, it should work.

For an example of "wrapping" cfdump, check out my DumpF tag from my blog. It
allows you to do things like "Dump the first X rows of an array" or "Dump a
query, but only show columns a and b." 

Using that as an example, you could build a custom tag that does the hack
above and will allow you to use 

 

in your code.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFMX CFDUMP output formatting

2004-03-18 Thread Barney Boisvert
You should be able to specify your own definition for the stylesheet inline,
as long as it appears after the one CFDUMP provides.  So just wrap CFDUMP in
a custom CF_DUMP tag which, after calling CFDUMP, writes some new CSS to the
HTML stream (or use CFHTMLHEAD).  You can even use the same request-scope
variable that CFDUMP uses to check if it's been called before.

Cheers,
barneyb

> -Original Message-
> From: Stephen Hait [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 18, 2004 11:25 AM
> To: CF-Talk
> Subject: CFMX CFDUMP output formatting
> 
> Is there a way to control the font-size for CFDUMP output with 
> CFMX on W2003? I'd like to have the text display larger so I can 
> read it. I'd prefer to be able to do this from the CFAdministrator.
> 
> There appears to be a class file, cfdump2ecfm659484891.class, 
> which contains an embedded style sheet that specifies font-size: 
> xx-small. This file appears to be encrypted. If CFDUMP output 
> font-size cannot be controlled via the Administrator, could this file 
> be modified to change this?
> 
> Any ideas?
> 
> Stephen
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]