CFDUMP CF8 - Seeing columns or keys

Discussion in 'Programming' started by tbarr60, Aug 10, 2007.

  1. #1
    CFDUMP has some cool new features in CF8 like being able to hide or show columns|keys.

    I would like to be able to list the keys for an object and let a user display only the keys they want like list all the keys of the CGI scope. Can these be displayed like you can display columnlist from a query?

    Thanks.
     
    tbarr60, Aug 10, 2007 IP
    GTech likes this.
  2. cfStarlight

    cfStarlight Peon

    Messages:
    398
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm not using CF8 but with you could use StructKeyList or StructKeyArray to get a list or array of the structure keys.

    
    <cfoutput>#StructKeyArray(CGI)#</cfoutput>
    
    Code (markup):
     
    cfStarlight, Aug 11, 2007 IP