On Tue, Dec 7, 2010 at 5:45 PM, Gerrit <[email protected]> wrote:
> Hello everybody,
>
> I want to create an Order Form with Order positions. If i want to use
> two Order positions (this IS a Model) on one page, how i will Be able
> to do this? With "1.OrderPosition.Count" or "OrderPosition.1.Count"?

If they're two separate forms you shouldn't need to do anything
special. If you want to save multiple records from the same form
you'll be using saveAll(). See this link for a good writeup on that:

http://nuts-and-bolts-of-cakephp.com/2008/08/01/practical-use-of-saveall-part-1-working-with-multiple-models/

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to