Yes, becasue according to your <cfargument> , the variable 'images' is
a string, not a query.

On Fri, Jun 10, 2011 at 3:09 PM, Rick Faircloth
<[email protected]> wrote:
>
> Hi, all...
>
> I've been trying to set up some CF/AJAX/CFC
> functionality and when it wasn't working as expected,
> re-coded to track variables through the functionality.
>
> All the variables have been showing up fine in alerts
> throughout.
>
> However, now at this point in the code:
>
> <cfargument name = "images"             type = "string"   required = "yes"
> />
> <cfargument name = "listPosition"       type = "string"   required = "yes"
> />
>
> <cfset imagesList = arguments.images    />
> <cfset imagesList = valueList(imagesList)       />
> <cfset image      = listGetAt(imagesList, listPosition) />
>
> I'm getting this error:
>
> The ValueList() function has an invalid parameter: imagesList.
> Parameter 1 of function ValueList which is now imagesList
> must be pointing to a valid query name.
>
> Can anyone tell from just this much code what my problem is?
> Why "imagesList" isn't being accepted as a valid parameter or valid query?
>
> Thanks!
>
> Rick
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345151
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to