Folks.

Here is the patch for getValueList function in Iterator.cfc. I have modified
to eliminate Evaluate.

Index: D:/CFFrameworks/reactor/ber/iterator/iterator.cfc
===================================================================
--- D:/CFFrameworks/reactor/ber/iterator/iterator.cfc    (revision 408)
+++ D:/CFFrameworks/reactor/ber/iterator/iterator.cfc    (working copy)
@@ -283,9 +283,7 @@
        <cfargument name="field" hint="I am the name of the field to get
the value list for" required="yes" type="any" _type="string" />
        <cfargument name="delimiter" hint="I am the delimiter to use for
the list.  I default to ','." required="no" type="any" _type="string"
default="," />
        <cfset var query = getQuery() />
-        <cfset var list = Evaluate("ValueList(query.#arguments.field#,
arguments.delimiter)") />
-
-        <cfreturn list />
+        <cfreturn ArrayToList( query[arguments.field].toArray(),
arguments.delimiter ) />
    </cffunction>

    <!--- save --->

Thanks

Qasim


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to