Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cfc htlm links

0 views
Skip to first unread message

cannotFindANickName

unread,
Feb 19, 2005, 2:06:05 AM2/19/05
to
In a cfc method that displays html, if there is a link to another method that
displays html, is the application.cfm reprocessed upon clicking the link or
does the browser just display what is in the cfc method that was invoked by the
link. Sorry, I am new to ColdFusion.

-dave

byron1021

unread,
Feb 23, 2005, 11:18:07 PM2/23/05
to
Also, just a note on architecture. It's best not to return html from methods,
unless it's something that is pretty much never going to change. Only thing we
do like this is select boxes that get populated from the db, maybe a few
standard forms, like a login, or address form. Usually you just want to return
data.

byron1021

unread,
Feb 23, 2005, 11:15:06 PM2/23/05
to
When you say link from the cfc method to another method, do you mean a cfhttp
call to the other method (which would be kind of weird), if so the app.cfm
would get processed again. If you are just calling another method
secondMethod() in the same cfc, then the app.cfm goes once. If you are calling
another method in a different cfc that you invoke, the app.cfm i'm pretty sure
only goes once, unless the namespace for the invoked cfc is different. IE
com.domain.mycfc.method1() makes call to com.domain222.mycfc2.method2()

0 new messages