[Catalyst] C::C::FormBuilder question
Matt S Trout
dbix-class at trout.me.uk
Tue Jan 30 17:05:57 GMT 2007
On 30 Jan 2007, at 09:07, Tobias Kremer wrote:
>> I was just looking at this last week, as I was using the code as a
>> basis for a new controller. I suspect that it's never been tested,
>> because as far as I can tell, it incorrectly reads the config from
>> the
>> controller object, rather than the application object.
>
> Yeah, I stumbled across this the other day but was unsure if it was
> done on purpose (for a controller-specific configuration rather than a
> global config). Nevertheless I found it awkward and IMHO it should
> be changed.
Why can't you just use a common base class for any controllers that
need the same defaults?
--
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