Thanks Ben,

I was afraid of that, and didn't want to waste too much time on it.

- Chris

-----Original Message-----
From: Ben Forta [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 29, 2001 6:11 PM
To: CF-Talk
Subject: RE: Building Advanced Custom Tags...


Chris,

No, no way to get that. In Begin mode there is no content, and in End mode
you get processed content. It sounds like you want the CFML source (as
opposed to the processed code) and you can't access that this way.

--- Ben


-----Original Message-----
From: Christopher Cortes [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 29, 2001 6:14 PM
To: CF-Talk
Subject: Building Advanced Custom Tags...


When building wrapper tags. We effectively process wrappered code twice, for
example:

BEGIN TAG - Do something...

......ColdFusion processes request but doesn't output results unless there is
an error...

END Tag - Do something else, probably modify wrappered code. Output
information to the caller.

I am aware that in the ending tag you will not be executing the code a
second time and the thisTag.Generated content is just a place holder
containing the processed html, or what ever. However, is there a way to get
to the preEvaluated code...i.e. before thisTag.generatedContent is
populated, and then evaluate it in the end tag.

Will I need to create a CFX tag to get at the code prior to evaluation?

- Chris

<!----------------------------------------------------------->
Christopher Cortes                   |Coming Q3 2001:
Consultant                           |
Stonebridge Technologies, Inc.       | 'Optimizing ColdFusion'
     Putting Technology To Work      |           By
Visit us at www.sbti.com             |   Christopher Cortes
Ofc: 713.985.6244 cel: 281.235.6100  |     www.osborne.com
<-----------------------------------------------------------!>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to