Re: Need a little help with HABTM joins
Thanks for the effort, i solved this way:
- in both articles/add and pieces/add users can enter just code and description, no related model data
- after a successfull add() both Article and Piece models add every possible combination between them and the other model. The app then redirects diretcly to the "edit" action
- in both edit actions there's a simple hasMany form where the users can modify the ArticlePieces data.
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home