You can do it anyway you like. I just posted an example. I'm not aware of a
way to dynamically call a specific function.

i.e. <cfset myCFC['myDynamicFunction'].validate()> I haven't tried it but I
doubt that this example works.
  -----Original Message-----
  From: Tom Kitta [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, October 28, 2003 12:56 PM
  To: CF-Talk
  Subject: Re: Dynamic CFCs

    ----- Original Message -----
    From: Bryan F. Hogan
    To: CF-Talk
    Sent: Tuesday, October 28, 2003 12:45 PM
    Subject: RE: Dynamic CFCs

    Why not just create a function that calls the correct function based on
the
    supplied argument?

    How about having dynamic evaluation inside the CFC? If you have 20
similarly named functions cfswitch seams a waste of time.

    TK


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to