[Catalyst] Catalyst::Controller::FormBuilder config problem

Matt S Trout dbix-class at trout.me.uk
Tue Jan 2 15:28:35 GMT 2007


On 21 Dec 2006, at 18:05, Michael Reece wrote:

> be wary of putting your base controller class in the MyApp/ 
> Controller/ directory, because catalyst will load it as a  
> controller itself.  which sucks if you want to put default  
> inheritable actions in your base class.  i use MyApp/Controller.pm  
> for the base class to avoid this problem, since catalyst still, as  
> far as i can tell, has no way to let you specify which controller  
> classes to load or not load.

Then you didn't read the docs on setup_components in Catalyst.pm

Personally I tend to use MyApp/ControllerBase/*.pm to disambiguate  
anyway.

-- 
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +





More information about the Catalyst mailing list