Thanks, Robert. What happens when you introduce ajax into the equation, and now you want to dynamically reload one of these elements (for example, customer had 5 inquiries, you're showing one at a time through ajax). Do you now have to create an action/view for each of these elements anyway so that ajax can request them? And each of these views will basically just display a single element? It seems redundant!
I guess you could have one action/view pair for all the elements, and specify the type of element through the request, but then the view will be selecting what to display based on the type of request. That seems like bypassing the whole MVC structure to have View handle request, select data, and display it. Stan On Oct 17, 4:26 am, Robert <[EMAIL PROTECTED]> wrote: > > What is the proper "cake-way" of doing this? > > I think You don't need views for inquiries, only elements. Views are > for separate pages, to render inquires on customer page use elements > or even some kind of helper... anyway thats the way I do it. :) > > Robert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
