Hello alltogether,
I have a model "Software" with a "hasMany" Relation to "Versions".
In myProject//Software/add I'd like to give an initial Version in the
same view.
I understand, that I should work with something like
$uses('Software', 'Version');
or
$this->Software->Version->safe();
But I don't yet understand, how I may add a Version, when the
Software.ID is not yet given (auto increment)
Does anyone have a simple example for this?
Best wishes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---