Hi barry,
Thanks for the feedback, will watch out for the infinite loop thing
My experience so for has been that GetPageContext.Forward doesn't automatically include the Form or Url scope and that they must be copied into Request scope so they can be accessed on the next page. However, this Is easy to do and using <cf_forward> is a nice shortcut.
Am still struggling a bit with seeing how GetPageContext.Forward() helps with MVC but a smarter man than me mentioned it so am sure I'll work it out one day! :)
Cheers, Pete (aka lad4bear)
----Original Message Follows----
From: "Barry Beattie" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: <[email protected]>
Subject: RE: [CFCDev] MVC and GetPageContext.Forward()
Date: Tue, 14 Jun 2005 08:56:57 +1000
Pete: no one seems to have added anything for a few days:
I once tied myself in knots because I forgot that GetPageContext() still contains the current request scope - including FORM.
long story short - I had an infinate loop as it .Forward() back to itself again (and again)
nothing serious, mind you but something to remember...
my 2c
barry.b
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter H
Sent: Saturday, 11 June 2005 9:52 AM
To: [email protected]
Subject: [CFCDev] MVC and GetPageContext.Forward()
Hi Guys,
<I wrote a whole blurb about MVC here and decided I still don't completely understand it so deleted it instead>
So to keep things simple here is my question. Since the bug was fixed with mx 6.1 updater 3 are there any reasons I shouldn't be using GetPageContext().Forward in my pages? It seemed like a useful way to pass things about between Model, View and Controller (also seems to help with form validation)
Cheers, Pete (aka lad4bear)
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
