[html-formfu] Model::DBIC - dealing with SELECT boxes from lookup
tables
Zbigniew Lukasiak
zzbbyy at gmail.com
Sat Jan 26 17:37:25 GMT 2008
On Jan 26, 2008 6:02 PM, Jonas Alves <jonas.alves at gmail.com> wrote:
>
> 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.
I guess I can leave it there, but I will try to avoid using it.
--
Zbigniew
More information about the HTML-FormFu
mailing list