Re: HTML_QuickForm_Controller-ActionDisplay-Different Behaviors

From: Date: Mon, 11 Apr 2005 05:36:02 +0000
Subject: Re: HTML_QuickForm_Controller-ActionDisplay-Different Behaviors
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18680@lists.php.net to get a copy of this message
Hi, Ed Greenberg wrote:
Using HTML_QuickForm_Controller. I'm starting to accumulate a bunch of if statements for special handling on each of the various forms that run through ActionDisplay. I'd like to have a different ActionDisplay for each form. Unfortunately, there seems to be only one place to register ActionDisplay.
That's wrong, you can register Actions either globally via Controller::addAction() or for a particular page via Page::addAction().

« previous php.pear.general (#18680) next »