from tobylaroni @ http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm

If you are inside a loop (using cfoutput or cloop) of a query generated by CFDIRECTORY, you *cannot* use the attributes scope! This is because within the loop. "attributes" is the name of one of the fields returned by CFDIRECTORY. If you're in a CFDIRECTORY loop and you try to set the value of, say, attributes.person_id, you will encounter genuinely odd errors like:

You have attempted to dereference a scalar variable of type class coldfusion.sql.QueryColumn as a structure with members.


and the same situation, url scope is also not allowed.

Arch.
arrow
arrow
    全站熱搜

    swangs 發表在 痞客邦 留言(0) 人氣()