Saturday, May 30, 2009

Re: Saving record HABTM

Thanks for getting back to me Alastair. As the assets will have a
thumbnail of some kind, I thought to save the product and if a add
checkbox == 1 then pass the last product_Id to the assets action,
displaying all thumbnails. I'm then using jquery post to post the
values to the productsAssets controller, I'll give it a try from the
assets controller.

Cheers

Ross

On May 30, 2:07 am, adallas <alastair.dal...@gmail.com> wrote:
> I may not understand the situation clearly, but I have several HABTM
> relationships,
> and I don't have controllers for the association tables. Can you work
> from either
> the products or the assets controller?
>
>
> /alastair/
>
>
>
>
--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: