[html-formfu] Select elements inside Repeatables

Greg Coates greg at coatesoft.com
Mon Jul 6 03:52:47 GMT 2009


Carl, do you know if this patch has been accepted by the DBIC team?  I 
haven't noticed the functionality changing yet.

Greg


Carl Franks wrote:
> 2009/5/13 Greg Coates <greg at coatesoft.com>:
>> Before, this worked fine.  Now I get this error:
>> BIx::Class::Row::get_column(): No such column 'ctc_common_name' at
>> /usr/lib/perl5/site_perl/5.8.5/HTML/FormFu/Model/DBIC.pm line 110
> 
> This is now fixed in svn -r 1513
> 
> It used to just do $row->$name
> but that was changed to use get_column() in case $name clashed with
> DBIC built-in methods.
> 
> Now it does
>     $row->has_column ? $row->get_column($name) : $row->$name
> 
> Unfortunately, this means inflators aren't called, but I've sent a
> patch to the DBIC list that will let us use get_inflated_column() - so
> hopefully that gets accepted.
> 
> Carl
> 
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu



More information about the HTML-FormFu mailing list