On Thu, Feb 21, 2008 at 4:59 AM, Cian Barclay <[EMAIL PROTECTED]> wrote: > > > >On Wed, Feb 20, 2008 at 4:33 PM, Zbigniew Lukasiak <[EMAIL PROTECTED]> > wrote: > > > > > > He meant result_source: > > > http://cpan.uwinnipeg.ca/htdocs/DBIx-Class/DBIx/Class/ResultSet.html#result_source > > > > > > Thanks Zbigniew and Toby, that's just what I needed to know. Is there > a good way to call a class method and get a resultset to use? > I'm using Widget::class_method($schema) to give it the schema > from $self->result_source->schema. Is there a better way to do it?
Just guessing by the name - if you are using HTML::Widget - then check HTML::FormFu - it has HTML::FormFu::Model::DBIC and it integrates with Catalyst with Catalyst::Controller::HTML::FormFu. Zbigniew > > thanks > Cian > > > > _______________________________________________ > 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/ > > -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ _______________________________________________ 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/
