Scott Brady wrote:
> On Tue, 16 Nov 2004 20:23:57 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote:
>>Rick,
>>
>>Some people have done as a way of using the CFC as a controller -
>>using cflocation in the CFC to relocate after the opeation is done - i
>>think www.benorama.com does this in his MVC example.
>
>
> Man, that seems like a bad use of a CFC. It seems like a CFC should
> be fairly self-contained. This would seem to take away part of the
> reusability of a CFC/method.
It does seem like it, but that's what servlets do, though typically
something more like a server-side redirect instead of the cflocation
style HTTP 302 redirect. In CF you can do that with
getPageContext().forward('page.cfm')
-nathan strutz
http://www.dopefly.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184671
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54