[Catalyst] FormFu edit form problem
Moritz Onken
onken at houseofdesign.de
Tue May 12 17:44:15 GMT 2009
Am 11.05.2009 um 23:43 schrieb Steve Rippl:
> __PACKAGE__->belongs_to(
> "locationid",
> "WsdSis::Schema::Result::Location",
> { locationid => "locationid" },
> );
should be
__PACKAGE__->belongs_to(
"locationid",
"WsdSis::Schema::Result::Location",
);
or
__PACKAGE__->belongs_to(
"locationid",
"WsdSis::Schema::Result::Location",
{ 'foreign.locationid' => "self.locationid" },
);
More information about the Catalyst
mailing list