[html-formfu] Model::DBIC - dealing with SELECT boxes from lookup tables

Jonas Alves jonas.alves at gmail.com
Sat Jan 26 17:02:14 GMT 2008


On Jan 26, 2008 3:15 PM, Zbigniew Lukasiak <zzbbyy at gmail.com> wrote:
> Hi,
>
> I've just committed a patch for Model::DBIC with tests for dealing
> with SELECT boxes loaded from lookup tables (for belongs_to
> relationship).  It needs to have the schema on the stash - if you just
> put the Catalyst context there it will not work.  I think we agreed
> that schema on stash is better - because it does not tie the Model to
> Catalyst.  I am also volunteering to change the
> Catalyst::Controller::FormFu to put the schema on the stash - and then
> we could delete the old code dealing with Context.
>

But I think that the Catalyst context should continue on the stash.
It's handy to Constraints that deals with $c->authenticate and thinks
like that.

-- 
Jonas



More information about the HTML-FormFu mailing list