Need to reference a query located inside a custom tag


i have standard cfm page calls custom tag , results displayed fine. need lisfind on of results on page though, , error when try reference query. how can reference query? below code:

<html>
<body>

<cf_testdata>

<!--- need listfind here of query results in above custom tag (testdata) how can reference it? using query name not work --->

</body>
</html>

your custom tag has send query variable calling page. here example
custon tag code
<cfparam name="attributes.startvariable" default="datestart">
bunch of code
<cfset rslt=evaluate("caller.#attributes.startvariable# = datestart")>

calling page code
<cf_mycustomtag startvariable="myvar">

local variable myvar has value returned custom tag.


More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62