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

Ulrich Leodolter ulrich.leodolter at univie.ac.at
Thu Dec 21 10:45:09 GMT 2006


Hi,

The config method as described in Catalyst::Controller::FormBuilder
doesn't work for me.

in MyApp.pm

__PACKAGE__->config( name => 'MyApp',
                     'Controller::FormBuilder' => {
                         new => {
                             method     => 'post',
                             stylesheet => 1,
                             messages   => ':de_DE',
                         },
                     },
                     );

Basically FormBuilder works, but there are no stylesheet tags
and no localized messages generated.
Only when i put a line of code into my controller:

$self->formbuilder->stylesheet(1);

But i'd like put the config only once in MyApp.

I have installed pretty new CPAN modules (see my cpancheck script
output)

Thanks
Ulrich

CPAN: File::HomeDir loaded ok
CPAN: Storable loaded ok
Going to read /home/ulrich/.cpan/Metadata
  Database was generated on Tue, 19 Dec 2006 20:25:43 GMT
Module Carp::Clan is installed as 5.7, could be updated to 5.8 from CPAN
Module Compress::Zlib is installed as 1.42, could be updated to 2.001
from CPAN
Module Cwd is installed as 3.21, could be updated to 3.24 from CPAN
Module DBI is installed as 1.52, could be updated to 1.53 from CPAN
Module Data::Dump is installed as 1.06, could be updated to 1.08 from
CPAN
Module Data::UUID is installed as 0.145, could be updated to 0.148 from
CPAN
Module Devel::PPPort is installed as 3.06_01, could be updated to 3.10
from CPAN
Module Digest is installed as 1.14, could be updated to 1.15 from CPAN
Module Digest::SHA is installed as 5.43, could be updated to 5.44 from
CPAN
Module Encode is installed as 2.12, could be updated to 2.18 from CPAN
Module Encode::Alias is installed as 2.04, could be updated to 2.06 from
CPAN
Module Encode::Byte is installed as 2.00, could be updated to 2.02 from
CPAN
Module Encode::CJKConstants is installed as 2.00, could be updated to
2.02 from CPAN
Module Encode::CN is installed as 2.00, could be updated to 2.02 from
CPAN
Module Encode::CN::HZ is installed as 2.01, could be updated to 2.04
from CPAN
Module Encode::Config is installed as 2.01, could be updated to 2.03
from CPAN
Module Encode::EBCDIC is installed as 2.00, could be updated to 2.02
from CPAN
Module Encode::Encoder is installed as 2.00, could be updated to 2.01
from CPAN
Module Encode::Encoding is installed as 2.02, could be updated to 2.04
from CPAN
Module Encode::Guess is installed as 2.00, could be updated to 2.02 from
CPAN
Module Encode::JP is installed as 2.01, could be updated to 2.03 from
CPAN
Module Encode::JP::H2Z is installed as 2.00, could be updated to 2.02
from CPAN
Module Encode::JP::JIS7 is installed as 2.00, could be updated to 2.02
from CPAN
Module Encode::KR is installed as 2.00, could be updated to 2.02 from
CPAN
Module Encode::KR::2022_KR is installed as 2.00, could be updated to
2.02 from CPAN
Module Encode::MIME::Header is installed as 2.01, could be updated to
2.04 from CPAN
Module Encode::MIME::Header::ISO_2022_JP is installed as 1.01, could be
updated to 1.03 from CPAN
Module Encode::Symbol is installed as 2.00, could be updated to 2.02
from CPAN
Module Encode::TW is installed as 2.00, could be updated to 2.02 from
CPAN
Module Encode::Unicode is installed as 2.02, could be updated to 2.03
from CPAN
Module Encode::Unicode::UTF7 is installed as 2.01, could be updated to
2.04 from CPAN
Module Error is installed as 0.17006, could be updated to 0.17008 from
CPAN
Module ExtUtils::Command is installed as 1.09, could be updated to 1.12
from CPAN
Module ExtUtils::Command::MM is installed as 0.05, could be updated to
0.06 from CPAN
Module ExtUtils::Install is installed as 1.33, could be updated to 1.41
from CPAN
Module ExtUtils::Installed is installed as 0.08, could be updated to
1.41 from CPAN
Module ExtUtils::Liblist is installed as 1.01, could be updated to 1.02
from CPAN
Module ExtUtils::Liblist::Kid is installed as 1.3, could be updated to
1.31 from CPAN
Module ExtUtils::MM is installed as 0.05, could be updated to 0.06 from
CPAN
Module ExtUtils::MM_AIX is installed as 0.03, could be updated to 0.04
from CPAN
Module ExtUtils::MM_Any is installed as 0.13, could be updated to 0.14
from CPAN
Module ExtUtils::MM_BeOS is installed as 1.05, could be updated to 1.06
from CPAN
Module ExtUtils::MM_Cygwin is installed as 1.08, could be updated to
1.09 from CPAN
Module ExtUtils::MM_DOS is installed as 0.02, could be updated to 0.03
from CPAN
Module ExtUtils::MM_MacOS is installed as 1.08, could be updated to 1.09
from CPAN
Module ExtUtils::MM_NW5 is installed as 2.08, could be updated to 2.09
from CPAN
Module ExtUtils::MM_OS2 is installed as 1.05, could be updated to 1.06
from CPAN
Module ExtUtils::MM_QNX is installed as 0.02, could be updated to 0.03
from CPAN
Module ExtUtils::MM_UWIN is installed as 0.02, could be updated to 0.03
from CPAN
Module ExtUtils::MM_Unix is installed as 1.50, could be updated to 1.51
from CPAN
Module ExtUtils::MM_VMS is installed as 5.73, could be updated to 5.74
from CPAN
Module ExtUtils::MM_VOS is installed as 0.02, could be updated to 0.03
from CPAN
Module ExtUtils::MM_Win32 is installed as 1.12, could be updated to 1.13
from CPAN
Module ExtUtils::MM_Win95 is installed as 0.04, could be updated to 0.05
from CPAN
Module ExtUtils::MY is installed as 0.01, could be updated to 0.02 from
CPAN
Module ExtUtils::MakeMaker is installed as 6.30, could be updated to
6.31 from CPAN
Module ExtUtils::MakeMaker::Config is installed as 0.02, could be
updated to 0.03 from CPAN
Module ExtUtils::MakeMaker::bytes is installed as 0.01, could be updated
to 0.02 from CPAN
Module ExtUtils::MakeMaker::vmsish is installed as 0.01, could be
updated to 0.02 from CPAN
Module ExtUtils::Manifest is installed as 1.46, could be updated to 1.49
from CPAN
Module ExtUtils::Mkbootstrap is installed as 1.15, could be updated to
1.16 from CPAN
Module ExtUtils::Mksymlists is installed as 1.19, could be updated to
1.2 from CPAN
Module ExtUtils::Packlist is installed as 0.04, could be updated to 1.41
from CPAN
Module ExtUtils::ParseXS is installed as 2.16, could be updated to 2.17
from CPAN
Module ExtUtils::testlib is installed as 1.15, could be updated to 1.16
from CPAN
Module File::Copy::Recursive is installed as 0.28, could be updated to
0.30 from CPAN
Module File::Spec is installed as 3.21, could be updated to 3.24 from
CPAN
Module IO is installed as 1.22, could be updated to 1.23 from CPAN
Module IO::Dir is installed as 1.05, could be updated to 1.06 from CPAN
Module IO::File is installed as 1.13, could be updated to 1.14 from CPAN
Module IO::Handle is installed as 1.25, could be updated to 1.27 from
CPAN
Module IO::Socket is installed as 1.29, could be updated to 1.30 from
CPAN
Module IO::Socket::INET is installed as 1.29, could be updated to 1.31
from CPAN
Module IO::Socket::UNIX is installed as 1.22, could be updated to 1.23
from CPAN
Module List::Util is installed as 1.18, could be updated to 1.19 from
CPAN
Module Locale::Maketext is installed as 1.09, could be updated to 1.10
from CPAN
Module MIME::Type is installed as 1.17, could be updated to 1.18 from
CPAN
Module MIME::Types is installed as 1.17, could be updated to 1.18 from
CPAN
Module Math::Complex is installed as 1.35, could be updated to 1.36 from
CPAN
Module Math::Trig is installed as 1.03, could be updated to 1.04 from
CPAN
Module Module::Build is installed as 0.2805, could be updated to 0.2806
from CPAN
Module Module::Pluggable is installed as 3.1, could be updated to 3.4
from CPAN
Module Module::ScanDeps is installed as 0.66, could be updated to 0.70
from CPAN
Module PAR is installed as 0.957, could be updated to 0.970 from CPAN
Module PAR::Dist is installed as 0.19, could be updated to 0.21 from
CPAN
Module PAR::Packer is installed as 0.15, could be updated to 0.970 from
CPAN
Module Pod::Man is installed as 1.37, could be updated to 2.12 from CPAN
Module Pod::ParseUtils is installed as 1.33, could be updated to 1.35
from CPAN
Module Pod::Parser is installed as 1.32, could be updated to 1.35 from
CPAN
Module Pod::Select is installed as 1.3, could be updated to 1.35 from
CPAN
Module Pod::Text is installed as 2.21, could be updated to 3.08 from
CPAN
Module Pod::Text::Color is installed as 1.04, could be updated to 2.03
from CPAN
Module Pod::Text::Overstrike is installed as 1.1, could be updated to 2
from CPAN
Module Pod::Text::Termcap is installed as 1.11, could be updated to 2.03
from CPAN
Module Pod::Usage is installed as 1.33, could be updated to 1.35 from
CPAN
Module Scalar::Util is installed as 1.18, could be updated to 1.19 from
CPAN
Module Sub::Uplevel is installed as 0.13, could be updated to 0.14 from
CPAN
Module Switch is installed as 2.10_01, could be updated to 2.12 from
CPAN
Module Sys::Syslog is installed as 0.13, could be updated to 0.18 from
CPAN
Module Template::Stash is installed as 2.102, could be updated to 2.86
from CPAN
Module Term::ANSIColor is installed as 1.10, could be updated to 1.11
from CPAN
Module Test::Builder is installed as 0.33, could be updated to 0.35 from
CPAN
Module Test::Builder::Module is installed as 0.03, could be updated to
0.05 from CPAN
Module Test::Builder::Tester is installed as 1.04, could be updated to
1.06 from CPAN
Module Test::Exception is installed as 0.23, could be updated to 0.24
from CPAN
Module Test::Harness is installed as 2.56, could be updated to 2.64 from
CPAN
Module Test::LongString is installed as 0.09, could be updated to 0.11
from CPAN
Module Test::More is installed as 0.64, could be updated to 0.66 from
CPAN
Module Test::NoWarnings is installed as 0.082, could be updated to 0.083
from CPAN
Module Test::Simple is installed as 0.64, could be updated to 0.66 from
CPAN
Module Test::Tester is installed as 0.103, could be updated to 0.104
from CPAN
Module Test::use::ok is installed as 0.01, could be updated to 0.02 from
CPAN
Module Text::Balanced is installed as 1.95, could be updated to 1.98
from CPAN
Module Text::Soundex is installed as 1.01, could be updated to 3.02 from
CPAN
Module Text::Tabs is installed as 2005.0824, could be updated to
2007.1117 from CPAN
Module Text::Wrap is installed as 2005.082401, could be updated to
2006.1117 from CPAN
Module Time::HiRes is installed as 1.86, could be updated to 1.9703 from
CPAN
Module Time::Local is installed as 1.11, could be updated to 1.13 from
CPAN
Module Tree::Simple is installed as 1.16, could be updated to 1.17 from
CPAN
Module UNIVERSAL::require is installed as 0.10, could be updated to 0.11
from CPAN
Module Unicode::Normalize is installed as 0.32, could be updated to 1.01
from CPAN
Module XML::DOM::XPath is installed as 0.12, could be updated to 0.13
from CPAN
Module XSLoader is installed as 0.06, could be updated to 0.07 from CPAN
Module encoding is installed as 2.02, could be updated to 2.04 from CPAN
Module ok is installed as 0.01, could be updated to 0.02 from CPAN
Module threads is installed as 1.07, could be updated to 1.56 from CPAN
Module threads::shared is installed as 0.94, could be updated to 1.05
from CPAN








More information about the Catalyst mailing list