[html-formfu] What is the correct approach

2008-09-15 Thread Dermot
Hi, I have been using FormFu in a Catyalst environment and suspect I might be using the correct wrong modules. I am using DBIx::Class and have a schema for users. I have been using use base qw(Catalyst::Controller::HTML::FormFu); ... .. sub edit : Local :FormConfig('users/edit.yml') { my ($

Re: [html-formfu] checkbox strangeness

2008-09-15 Thread Ronald J Kimball
Geoffrey D. Bennett wrote: On Mon, Sep 15, 2008 at 09:31:57AM -0400, Ronald J Kimball wrote: HTML::FormFu handles this correctly. For a single form submission, maybe, but not for setting the "checked" attribute correctly in displayed forms. I just tried the form you suggested above, and it on

Re: [html-formfu] checkbox strangeness

2008-09-15 Thread Geoffrey D. Bennett
Hi Ronald, On Mon, Sep 15, 2008 at 09:31:57AM -0400, Ronald J Kimball wrote: [...] > It is common to have a group of checkboxes that share the same name, > each with a different value. For example: > > > > > > > If the checkboxes for books and cooking are checked, then the HTTP > request

Re: [html-formfu] checkbox strangeness

2008-09-15 Thread Ronald J Kimball
Geoffrey D. Bennett wrote: On Mon, Aug 25, 2008 at 09:35:18AM +0100, Carl Franks wrote: The reason that's not a default, is that checkboxes aren't always a simple boolean [...] Can you explain this statement? The only non-boolean checkboxes I could think of would be greyed-out disabled ones (

Re: [html-formfu] combo box equivalent

2008-09-15 Thread Malcolm
On Monday 15 September 2008 05:56:35 Carl Franks wrote: > The only thing I can think of, is that you're calling options() > directly on $combobox->elements->[0] > rather than on the combobox - don't do this - you should consider the > combobox a blackbox with regards its child elements. I was pro

Re: [html-formfu] combo box equivalent

2008-09-15 Thread Carl Franks
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned