Fwd: Re: [html-formfu] DBIC-FormFu extension - Carl?

Mario Minati mario.minati at googlemail.com
Tue Sep 25 21:54:03 GMT 2007


On Tuesday 25 September 2007 21:08:08 Thomas L. Shinnick wrote:
> >Date: Tue, 25 Sep 2007 20:34:56 +0200
> >From: Mario Minati <mario.minati at googlemail.com>
>
> [snip]
>
> >BTW2:
> >I would like to introduce a parameter in the form stash (or in form) for
> >catalyst to prevent the automatic call to 'process', so that I still can
> > add a callback to an element.
> >Is there yet a way to populate the stash from yml?
> >
> >Greets,
> >Mario
>
> When I just had
>      stash: "howdy"
> HTML::FormFu::ObjectUtil::stash() blew up on non-hashref, so I think
> we're in the right area, and the below ought to work?
>
> ---
> id: form
> stash:
>    hello: "howdy"
>
> elements:
>    - type: Fieldset
>
>
> Later, using Data::Dumper
> $HTML_FormFu_form = bless( {
>    '_elements' => [
>      bless( {
>        '_elements' => [
>          bless( {
>
>    'stash' => {
>      'hello' => 'howdy'
>    },
>    'submitted' => 2
> }, 'HTML::FormFu' );

Thanks Thomas,

one think more 'just working(tm)'  
:-)

Greets,
Mario




More information about the HTML-FormFu mailing list