[html-formfu] Template::Alloy rendering

Carl Franks fireartist at gmail.com
Fri Jul 6 10:14:45 GMT 2007


On 06/07/07, Tobias Kremer <list at funkreich.de> wrote:
> Hmm ... I included some debugging output and at runtime
> $self->include_paths is a Path::Class::Dir object with
> the following data:
>
> $VAR1 = bless( {
>                  'file_spec_class' => undef,
>                  'volume' => '',
>                  'dirs' => [
>                              '',
>                              'home',
>                              'tobias',
>                              'FormFuTest',
>                              'root',
>                              'formfu'
>                            ]
>                }, 'Path::Class::Dir' );

hmm, I think there's a bug in Template-Alloy's split_paths()

For now, just change these lines:

    $args{constructor}{render_class_args}{INCLUDE_PATH}
        ||= $c->path_to('root','formfu');

in Catalyst/Controller/HTML/FormFu.pm to:

    $args{constructor}{render_class_args}{INCLUDE_PATH}
        ||= [$c->path_to('root','formfu')];

Carl



More information about the HTML-FormFu mailing list