[PATCH] Posting forms to deferred configurables
Attached is a patch that allows posting a form to a deferred configurable. However, it doesn't cover other places where locateConfigurable is used, because I didn't want to bite off more than I can chew. My use case is strange: sometimes a page that represents a directory receives a form post that was intended for its index page. Example: 1. user browses "/somedir/", posts form 2. form post goes to "/somedir/freeform_post..." 3. form post really should go to "/somedir/index/freeform_post..." So the directory page first needs to call self.locateChild, which returns a deferred, which means the configurable has to be deferred as well. So I'd like to know what the rest of you think about this. Maybe there's a better way to handle all of this. Maybe not? Discuss. -- Alex Levy WWW: http://mesozoic.geecs.org "Never let your sense of morals prevent you from doing what is right." -- Salvor Hardin, Isaac Asimov's _Foundation_
participants (1)
-
Alex Levy