I have a database driven galery.

CREATE TABLE EXISTS `galeries` (
  `id` int(11) NOT NULL auto_increment,
  `year` year(4) NOT NULL,
  `titel` tinytext NOT NULL,
  `subtitle` tinytext NOT NULL,
  `folder` tinytext NOT NULL,
  PRIMARY KEY  (`id`)
)


CREATE TABLE EXISTS `images` (
  `id` int(11) NOT NULL auto_increment,
  `sort` int(11) NOT NULL,
  `galery_id` int(11) NOT NULL default '0',
  `title` tinytext NOT NULL,
  `subtitle` tinytext NOT NULL,
  `name` tinytext NOT NULL,
  `folder` tinytext NOT NULL,
  PRIMARY KEY  (`id`)
)

The galery hasMany Images. Based on the debug output, the edit method
saves the images into $this->data as well as the galery data.

Now I want to use the same edit view to edit all the images data as
well, using AJAX to update them. How can I do that without having to
handcode everything?

--~--~---------~--~----~------------~-------~--~----~
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