tags:

views:

33

answers:

1

in my application i didnot have model.am using webservice for data.to handle the exception i need use $this->invalidate from controller. Without model how to use that? Thanks

A: 

invalidate() is a method from AppModel, so it must be called against a model. If you're doing validation, why aren't you using a model?

inkedmn