No, actually with your model (and Jon's) this is somewhat possible (it'd be somehat 
annoying to differentiate between two textboxes on the same page, for instance).

What I'm saying is that there's no way for CF to change the textbox after the user 
requests a page and CF sees the tag and renders it (since in CF, this is one action) 
but before it delivers it to the user.

Actually, this might be possible.  You'd have to somehow get the stream from the 
underlying page renderer, and modify it.  Or you could somehow override when CF sees a 
tag.  Yikes.  I'm not sure when you'd be able to do this in a CF template.

Also, in ASP.NET, you can add controls at runtime.  Not sure how you'd be able to do 
this in CF, without having something on the presentation layer to specify where the 
control belongs (and even then, you'd only ever be able to place the control there).


----- Original Message -----
From: Raymond Camden <[EMAIL PROTECTED]>
Date: Thursday, July 17, 2003 12:37 pm
Subject: RE: MSDN on CF -> ASP.net

> Or do you mean you can't change the properties based on actions, ie,
> make it so that on change, the button adds "foo" in front of any value
> you may have ttped in? If so, that is certainly possible. It may 
> not be
> builtin like it is in ASPX, but it is certainly possible.
> 
> ========================================================================
> ===
> Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
> (www.mindseye.com)
> Member of Team Macromedia 
> (http://www.macromedia.com/go/teammacromedia)
> Email    : [EMAIL PROTECTED]
> Blog     : www.camdenfamily.com/morpheus/blog
> Yahoo IM : morpheus
> 
> "My ally is the Force, and a powerful ally it is." - Yoda 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [EMAIL PROTECTED] 
> > Sent: Thursday, July 17, 2003 12:24 PM
> > To: CF-Talk
> > Subject: RE: MSDN on CF -> ASP.net
> > 
> > 
> > No, because you still can't change the properties of the 
> > button at runtime.  All you've done is provided a way to 
> > separate the default state of the button, again at "compile" 
> > time, as it were.
> > 
> > > You could easily write a button.cfm that says, if 
> <caller>.cfm.cs 
> > > exists, cfinclude it and handle any events if they are defined 
> in 
> > > <caller>.cfm.cs.
> > 
> > 
> > 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to