[Catalyst] accessing ResultSet function from a related object
Nathaniel Nuss
ogmoid at gmail.com
Thu Jul 5 00:00:25 GMT 2007
On Wed, Jul 04, 2007 at 04:09:41PM -0400, John Goulah wrote:
> I am having some trouble in both controller and template code accessing
> resultset functions off of chained/related objects (because from what I'm
> seeing they are not ResultSets but of the type
> MyApp::Model::MyAppDB::Tablename).
Have a look at DBIC's search_related_rs(). I think you may want to use it
instead of following the relation directly. It seems like TT's (SWAG)
pervasive list context is causing you grief.
HTH,
--
Nate Nuss
More information about the Catalyst
mailing list