On Tuesday 25 September 2007 21:08:08 Thomas L. Shinnick wrote: > >Date: Tue, 25 Sep 2007 20:34:56 +0200 > >From: Mario Minati <[EMAIL PROTECTED]> > > [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 _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu