I'm just learning and I don't get it.  I am trying to follow the
concept of convention over configuration and finding issues.

I want a multi-record form so I perform a findAll(...) to get the
data.

Then I make the form calls

  echo $form->input("$i.time");
  echo $form->input("$i.category_id");

The problem is that it appears that findAll is using a different
keypath to create the array than the FormHelper is assuming.

findAll returns an array of this form {n}.{Model}.{Field}

while FormHelper is assuming {Model}.{n}.{Field}

Seems like a terrible waste of time (and code) to have  me make
another copy of the data with a different keypath.  I must be missing
something.

Any suggestions would be greatly appreciated.

Thanks,
      Troy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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