WEll, if we wrote a framework to implement CodeBehind in CF, you would do some of the parsing ahead of time, I am not sure (dont have VS handy) but to put a label on an .aspx page you do something like
<label id="bob" /> (dont you?) so in CFCodeBehind you could put something like" <cb:Label id="bob" /> and then map that to whatever you set in your Code behind page right? On 30 Nov 2006, at 07:19, John C. Bland II wrote: > Aaron, that doesn't even come close. You're creating a Page_Load > method in > your cfc that YOU have to invoke. > > <cfset blah = CreateObject(.........) /> > <cfset blah.Page_Load() /> > > Also, what is your request.resultLabel? Text on the cfm page or just a > variable? Your cfm has a #request.resultLabel# being output somewhere, > right? > > You wrote VB so I assume you know everything else that Label allows > you to > manipulate (style, size, etc). The control isn't there for CF like > ASP.NETin code-behinds which is why CF doesn't can't fully mimic the > code-behind. I > would agree with Dave here...this is an ASP.NET thing and CF can't > follow; > and I'll add, with just code and not actual CF updates. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262195 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

