[jifty-devel] Propose a way to for a multi-valued field

Kang-min Liu gugod at gugod.org
Sun Apr 29 05:56:56 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 2007/4/26, at 下午 11:43, Jesse Vincent wrote:

> I think that a
>
> render as 'Collection'
>
> would be incredibly cool.
>
> possibly
>
> column items => refers to MyApp::Model::ItemCollection by 'order',  
> render as 'Collection' with columns qw(price description quantity);

A preliminary version of "Collection.pm" is now comitted into Jifty  
core. To use it,
one need to define its own action with proper params, and take_action 
() method
to properly catch it. I haven't find a way to let auto-generated  
actions support that
yet, but I decide to throw it out in here to let people play it first :)

Cheers,
Kang-min Liu


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFGNGvoCSIfi0PaMDQRAjlPAJ4p/e1N8SM43e8PQCs4vZcgwQKitACgtvTl
GtXqM2roVTmiS3x4ZBaLqrQ=
=gO4W
-----END PGP SIGNATURE-----


More information about the jifty-devel mailing list