[Catalyst] expand CGI::FormBuilder

Felix Antonius Wilhelm Ostmann ostmann at websuche.de
Fri Nov 23 08:43:57 GMT 2007


Matt S Trout schrieb:
> On Thu, Nov 22, 2007 at 04:15:24PM +0100, Felix Antonius Wilhelm Ostmann wrote:
>   
>> Hello,
>>
>> i want to add some funcs to the CGI::FormBuilder / 
>> Catalyst::Controller::FormBuilder
>>
>> i tested something around, but dont find something usefull to read about :(
>>
>> i want to overwrite the func "field" and add another func ... but dont 
>> find out how that works :( plz give me some hints :)
>>     
>
> CGI::FormBuilder is a class.
>
> That means it doesn't provide "func"s, it provides methods.
>
> Have you tried subclassing it?
>   
Yes, but i dont understand the system catalyst load a class ... at which 
point i must told C::C::FormBuilder to load MyApp::FormBuilder and not 
CGI::FormBuilder?!?!

Must i rewrite the hole C::C::FormBuilder::Action? Or what is to do? :-/


sure, i mean methods *g*




-- 
Mit freundlichen Grüßen

Felix Antonius Wilhelm Ostmann
--------------------------------------------------
Websuche   Search   Technology   GmbH   &   Co. KG
Martinistraße 3  -  D-49080  Osnabrück  -  Germany
Tel.:   +49 541 40666-0 - Fax:    +49 541 40666-22
Email: info at websuche.de - Website: www.websuche.de
--------------------------------------------------
AG Osnabrück - HRA 200252 - Ust-Ident: DE814737310
Komplementärin:     Websuche   Search   Technology
Verwaltungs GmbH   -  AG Osnabrück  -   HRB 200359
Geschäftsführer:  Diplom Kaufmann Martin Steinkamp
--------------------------------------------------




More information about the Catalyst mailing list