Hi,
Because I use ajax in my application, some of specific segment of the
index view (the ajax-updated divs) repeated unchanged in small view
files (those are used to update the divs).
I would like to do some simplifycation by writting only these
fragments, and include them to the index view.
I have found only two methods:
1., using htmlElements and renderElements
it is quite good solution but the fragments are not generally
used but mostly tied to that index view
2., using requestAction controller method
its works but i wouldn't like to involve the controller because it
isn't its bussines.
Maybe there is an other solution using the render function of the view
class.Its very underdocumented so i cant use that.
So the question is:
is there any solution to include other (locally used ) views in
the main view?
Thx for help
Meng
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---