Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
stockwet #1
External Components
Hi, I have an application that uses CFC's extensively. I have one function
that puts user info into a database and then redirects them to a page. Before
redirecting them, though, I have another CFC that scores my database that I
want to run. Currently, the system is setup for that scoring CFC to run daily
as a scheduled task. I also want to be able to have it run when new user info
comes in. Do I use CFINVOKE for that, before I redirect, or some other
mechanism? Thanks.
stockwet Guest
-
v2 Components and external flv's - bit of help please...
Hello, When loading external flv's into the MediaPlayback Component provided with Flash MX 2004 Pro, how would you tell the component what the... -
ASP.NET & COMPONENTS
I am developing a component in VS.NET that is going to hosted on an APSX page. Is there a way I can get a reference to the page from the component.... -
external cast members of an external cast
I am trying to import a png image (with transparency) externally to an external cast. The problem is that the image doesn't appear when I play the... -
ui components
Hi, How can i put any ui component on the stage through actionscripting? For a _mc you would use attachMovie or createEmptyMovieClip. How do I... -
how to add external components?
The Components panel All components are stored in the Components panel. When you install the Flash program and launch it for the first time, the... -
jorgeloyo #2
Re: External Components
If I understood correctly, you are trying to execute, from one component, a
function in another component. if so, you can do a regular <cfinvoke
component='SCORE_CFC' method='SCORE_FUNCTION'> from the function that inserts
the user info. or you can also extend the component. and just call the
function as if it was inside the same component <cfcomponent
extends='SCORE_CFC'> this is the CFC with the functions to insert the user info
<cffunction name='INSERT_USER_INFO'> your code <cfinvoke
method='SCORE_FUNCTION'></cfinvoke> </cffunction> </cfcomponent>
jorgeloyo Guest
-
stockwet #3
Re: External Components
Thanks.
I tried the first approach and it seems to work. I think I had tried that in the past and it didn't work - probably related to some mistake I made.
stockwet Guest



Reply With Quote

