[Catalyst] Question on Catalyst::Example::InstantCRUD
Zbigniew Lukasiak
zzbbyy at gmail.com
Tue May 30 15:35:34 CEST 2006
Hi,
Try adding stringification to the classes:
use overload '""' => sub { shift->name }, fallback=> 1;
It should work for 'belong_to' relations.
--
Zbyszek
On 5/30/06, Mauro Andreolini <andreoli at weblab.ing.unimo.it> wrote:
> On Tue, 2006-05-30 at 00:11 +0100, Matt S Trout wrote:
>
> Hi all,
>
> I have just installed Catalyst::Example::InstantCRUD for a CRUD-like Web
> application, and I was wondering whether it could do relationships that
> is, instead of displaying id numbers, displaying the corresponding
> elements in the tables. Is it at all possible? What effort is required
> to modify InstantCRUD to achieve this?
>
> Best regards
> --
> Ing. Mauro Andreolini - Ph.D., Research Associate
> Dipartimento di Ingegneria dell'Informazione
> Università di Modena e Reggio Emilia - Italia
> e-mail: andreolini.mauro at unimore.it
> www: http://weblab.ing.unimo.it/people/andreolini/
> tel: +39 059 2056256, fax: +39 059 2056129
>
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>
--
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
More information about the Catalyst
mailing list