Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
jpesolutions #1
DW and CF Components
I have written several components and they (I think) look exactly like the one
in my CFMX7 Web App Const. Kit book. However, when I view them listed under
the components tab in DWMX 2004 Application panel I see the Component but when
it is expanded I see a red circle with a line through it followed by the text
"There was a problem with this cfc."
What is wrong with my code that I can't see my methods and use DW's drag and
drop abilities to add <invoke> tags to my CF pages?
Example of one of my components:
<cfcomponent displayname="Assistant Manager Subscriber News" hint="Queries
subscribersNews table for current news articles">
<!--- Create Subscriber News Function --->
<cffunction name="getNews" access="public" returntype="query"
displayname="Get News Method" hint="Contains the query to get subscriber news">
<!--- Set variable --->
<cfset var subNews="">
<!--- Query Database --->
<cfquery name="subNews" datasource="assistancemanag288">
SELECT *
FROM subscribersNews
WHERE killdate >= #now()#
ORDER BY newsID ASC
</cfquery>
<!--- Return Results --->
<cfreturn subNews>
</cffunction>
</cfcomponent>
Thank you!
Jason
jpesolutions Guest
-
FMS UI Components?
Do you think if FMS support communication UI Components (like SetBandwidth)? May I have the url and I can download themfor flash cs3. Thanks ... -
Use FMS without components
Hello all, due to the fact that I have not been able to publish in "flash 8" using the default FMS components (I get errors and can only publish for... -
ASP & Components
Hi guys, I'm having a problem. I'd like to work with components and ASP. Take a look at http://www.tech-nomade.com/lab/ formulaire.swf so that's... -
Any components of .....
Has anyone written a component like "Mail Merge" or "Poll Management" in ..NET Can anyone share or redirect me to any URL... Regards, -
Components Components Components
Again with the damn component questions.... I am trying to use the accordion box (MX 2004), and would like my text to appear within the different... -
Stressed_Simon #2
Re: DW and CF Components
There is probably a problem with your cfquery, but without knowing your db set
up it is difficult to help.
Open up your cfc in Dreamweaver and hit F12 to open it up in the browser. You
will get a standard ColdFusion error message.
This should help you fix it!
Stressed_Simon Guest



Reply With Quote

