> First you do not need to use the $uses when the model you want to use
> is into a relation (hasOne, etc..), you can just access it doing
> $this->CurrentModel->AssciateModel ..
I didn't do that. All the code I pasted was generated using the bake
utility. Blame CakePHP. :)
> Now for the generateList problem, I have never tried this, but since
> you retrieve your data using the parent model, I would tried
> generateList(NULL,NULL,15, '{n}.GamePiece.id',
> '{['GamePiece']n}.Set.set_name ));
> or something like this since the data wouild be down to the tree ..
> Well maybe worth gice a try, let me know the correct syntax...
That didn't work, unfortunately. I will, however, keep plugging away
at it to figure out what will work.
Do you know the answer to my first question? How to generate a label
such that it is made up of the values of 2 separate columns?
thnx,
Christoph
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---