will trillich, that error happens when i use has_field 'submit' => ( widget => 'submit' )
can you test your form with this instead: has_field 'submit' => (type => 'Submit', label => 'Submit', value=>'Submit', required => 0, ) i bet your error will go away On Mon, Nov 22, 2010 at 12:19 PM, will trillich <[email protected] > wrote: > Our form-class includes > has_field 'submit' => ( widget => 'submit' ) > > Do you mean type=>'submit' instead of widget=>'submit'? > > Interesting that you'd think of this as a suspect. What's the rationale? > > > On Mon, Nov 22, 2010 at 9:16 AM, Hernan Lopes <[email protected]>wrote: > >> will trilich, are you using widget type submit ? try to replace with type >> => 'Submit' >> >> >> Hernan Lopes >> >> >> On Mon, Nov 22, 2010 at 1:38 AM, John Anderson <[email protected]>wrote: >> >>> >>> On Nov 21, 2010, at 10:26 PM, will trillich wrote: >>> >>> > Pooh. Still no luck. When we try a more more Moose-y approach, we do >>> get updated database records (stuffing the URL with arguments to affect a >>> form-submit) but still can't render, with the same error as before: >>> >>> Have you looked at the docs for HTML::FormHandler::TraitFor::I18N? Based >>> on that, you may want to see if you have something in $ENV{LANGUAGE_HANDLE} >>> or try passing in a language handle to your form constructor -- or may try >>> push_errors instead of add_errors, as that documentation suggests. >>> >>> >>> j. >>> >>> >>> _______________________________________________ >>> List: [email protected] >>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst >>> Searchable archive: >>> http://www.mail-archive.com/[email protected]/ >>> Dev site: http://dev.catalyst.perl.org/ >>> >> >> >> _______________________________________________ >> List: [email protected] >> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst >> Searchable archive: >> http://www.mail-archive.com/[email protected]/ >> Dev site: http://dev.catalyst.perl.org/ >> >> > > > -- > Failure is not important. How you overcome it, is. > -- Nick Vujicic > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > >
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
