Fwd: Re: [html-formfu] DBIC-FormFu extension - Carl?
Thomas L. Shinnick
tshinnic at io.com
Tue Sep 25 20:08:08 GMT 2007
>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' );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20070925/7d68f1dd/attachment.htm
More information about the HTML-FormFu
mailing list