It seems that if the framework doesn't let you know which request method the variables came from, the controller code will have to be modified to check the FORM scope with StructKeyExists() or, perhaps more appropriately, CGI.REQUEST_METHOD (if that is populated by your webserver).
On 10/16/07, Matt Quackenbush <[EMAIL PROTECTED]> wrote: > On 10/15/07, Brian Kotek wrote: > > > > Back to the original topic, I still wouldn't be referencing the form scope > > from within the model. If you want to guarantee that the request was a > > POST, > > I'd do it in the controller before anything even gets to the model. > > > > > Which is precisely what I was asking about. As I said above, I > wholeheartedly agree with you that your model should not care where it came > from. My question was specific to the controller. > > > Matt > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291174 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

