Jonas Smedegaard wrote:
> Could you elaborate on those other issues you had with 3.04.01 and not
> 3.03? Or do we need to roll back to 2.xx to gain stability with ikiwiki?

The combination in testing is fine, as is the combination in unstable.

The other issue I had was quite involved and had to do with some code in
ikiwiki that needed a way to access the HTML::Template object used by
CGI::FormBuilder, and accomplished that as follows:

my $renderer=CGI::FormBuilder::Template::HTML->new(
        fields => [EMAIL PROTECTED],
        filename => "editpage.tmpl",
        filter => sub {
                my $text_ref = shift;
                $$text_ref=&Encode::decode_utf8($$text_ref);
        },
        loop_context_vars => 1,
        die_on_bad_params => 0,
);

...

# do my stuff with $renderer->engine

...

my $form = CGI::FormBuilder->new(
...
        template => $renderer,

With the new version this failed horribly, some kind of strange crashes,
so I did away with it and just pass template => "editpage.tmpl" to 
CGI::FormBuilder->new.

I was seeing this problem with the debian package of formbuilder.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to