3 Replies Latest reply on Jul 10, 2010 12:29 AM by Adam Cameron.

    Loop over CFC properties?

    WestSide

      How do you loop over the properties of an object?


      I have this CFC and I have properties defined


      <cfscript>

      ...

      property name="firstname" getter="true" setter="true" type="string";

      property name="lastname" getter="true" setter="true";

      ---

      </cfscript>


      I'm trying to loop over these properties and trim the values.


      Thanks,


      -ws