Thanks a lot to both of you yodi and Miles J.
I took Miles J concept and did my complex scenario, got great results,
I was able to read correctly in the controller with $this->data

In JavaScript I created an array with all my info by doing array.push
("data[...][...]="+value) and then, $.ajax({data:array.join
("&"),...}), i get something like this:

data[Denouncement][title]=asdf&
data[Denouncement][country]=Costa Rica&
...
data[UploadedImage][0][url]=/files/user_uploaded_imgs/
20090423T0504380500seleccion.jpg&
...
data[Section][0][user_given_name]=asdf&
...
data[Section][1][type]=0&
data[Section][1][SectionPart][0][name]=title&
...
data[Section][1][SectionPart][1][type]=text

(I removed some parts)

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