I’m starting to setup packages in my handlers folder and am running into a number of issues… Most I have been able to get around, but this one I can’t seem to resolve.
How do I redirect to a handler in a package with setNextEvent()?
so your handler structure would look like /handlers/settings/profileeventtypes.cfc. the cfc will contain a method called ‘edit’. make sure its a public function.
Wait, does the actual name of your handler or package have a period in it? If so, I’m pretty sure that will cause you issues. Also, when you specified a straight URL, you had /admin/ in there. Is that a handler? Package?
Can you show us the full directory structure starting from your web root?
// If 'admin' is a package in the handlers directory
http://localhost/admin/general/index -> event=admin.general.index
// If 'admin' is a module
http://localhost/admin/general/index/id/4/page/2 -> event=admin:general.index&id=4&page=2