Title: Message
Eric,
 
Why not make a struct and pass it to the CFC as an argument collection, and leave the conditional processing of presence/absence to the internals of the CFC you're calling.
 
Jeff
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davis, Eric
Sent: Wednesday, March 26, 2003 3:35 PM
To: [EMAIL PROTECTED]
Subject: [CFCDev] Invoking with arguments, maybe

I'm setting up a fa�ade component which will invoke another of a few components, possibly with argument data.

Is it allowed to surround the <cfinvokeargument> tag with <cfif blah>?

As in:

<cfinvoke component="...">
   <cfif args>
      <cfinvokeargument name="args" value="#args#">
   </cfif>
</cfinvoke>

Something seems illegal here to me; I don't want to build it this way if it is, naturally.

Anybody got any pointers?


Thanks,
ecd.

--
Eric C. Davis
Programmer/Analyst I
Georgia Department of Transportation
Office of I.T. Applications
Web Applications Group
[EMAIL PROTECTED]

Reply via email to