Hi Pieter,

RIFE/Crud doesn't automatically generate interfaces yet for many to many relationship (yet). There isn't a constraint for it in RIFE either. Currently you can however implement your own elements and inject those. The mapping can be done by adding an additional mapping table and doing the many to many logic in callbacks.

I hope this helps. I know that Stéphane Meslin-Weber has used this for some projects, maybe he has some example code ready for you.

Best regards,

Geert


how can you do a many to many relation in RIFE/Crud? I want e.g. to have an article type that can have multiple categories linked to it by means of checkboxes. I found the manyToOne method, but there doesn't seem to be a manyToMany method.
--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to