[Catalyst] CC::FormBuilder woes
ra.jones at dpw.clara.co.uk
Mon Apr 30 18:35:49 GMT 2007
Juan Camacho wrote:
> On 4/28/07, Richard Jones <ra.jones at dpw.clara.co.uk> wrote:
>> Juan Camacho wrote:
>> > Maybe there is an unexpected stash issue. Try to create a minimalist
>> > example (with form, template and controller code) and post here.
>> OK, will do. But would it be easier if I posted the output of
>> Dumper.dump(form)? Also just realised I'm using CCF 0.02 - could that
>> affect it (can't update it at the moment). Changes file doesn't suggest
>> it would.
> No, 0.03 shouldn't make much a difference, but at least on your
> development server, I would suggest using it locally. In fact, the
> quickest option is to just modify the test files under t/lib and
> t/root to come up with some scenario that breaks the 'perl -Mblib
> t/01-basic.t' test.
Actually, it _was_ a stash issue, but all down to my misuse of it! Once
I used the correct term for it (default = formbuilder), or over-rode it
with the Controller::FormBuilder config entry stash_name =>
something_else, it worked fine. Thanks for the pointer.
More information about the Catalyst