thank
-----Original Message-----
From: DeVoil, Nick [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 12:43 PM
To: CF-Server
Subject: RE: custom tags return
Gabriel
You can write the code in your example, but not
without using the "Caller." scope inside you tag.
Unless you defined a struct in the calling page.
If the attribute is a struct, you can assign to its members
within the body of the tag without saying "Caller.",
because it's passed by reference.
You'd have to say "Attributes." though.
I *think* either of the following would work:
Option 1
(main page)
<cf_myTag name="name">
<cfoutput>#name.value#</cfoutput>
(tag)
<cfset "Caller.#Attributes.name#.value" = "whatever">
Option 2
(main page)
<cfset name=structNew()>
<cf_myTag name="#name#">
<cfoutput>#name.value#</cfoutput>
(tag)
<cfset name = Attributes.name>
<cfset name.value = "whatever">
Nick
-----Original Message-----
From: gabriel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 2:57 PM
To: CF-Server
Subject: custom tags return
I want that my custom tag return a value. I don't want use Caller specifier.
I want something like that
<cf_myTag name="name">
....
....
....
<cfoutput>#name.value#</cfoutput>
It's posible?
thank in advance
coldfusion developer
Lista de CF en Espa�ol-www.cfunleashed.com.ar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com