I have created a cfc library containing data retrievers.
These cfc’s should provide my UI with the necessary data.
Now I’m about to construct the User interface (UI) but
I don’t know how I should combine the user interface with the
I plan to split the UI in small function (Widget) just like
in the article. Maybe I will have a grid showing some employees The
UI part I would then insert into either a cfm or cfc.
If I put it into a cfm and use CFINCLUDE to use it I
can’t pass the data query to it.
But then if I put into a cfc and use CFINVOKE I can pass the
data to it. But then the cfc will fail because it uses the CFGRID
and I don’t intent to insert a CFFORM into each cfc.