Well, I don't think it is possible without some changes (e.g. my hack), but I wondered about some examples like in the first post I also found, maybe it was supported formerly? But in the end cakePHP just builds upon the prototype framework and I couldn't find any support for that sort of update there as well.
Michael On 15 Nov., 12:10, Luigi <[EMAIL PROTECTED]> wrote: > no one else ? > > On Nov 14, 2007 8:38 AM, Dennis Nikiforov <[EMAIL PROTECTED]> > wrote: > > > > > But is there a way without modifying cake? The development is progressing > > quite quickly, so I like to keep up to date and updating a modified version > > is suiside. > > > Dennis > > > schneimi wrote: > > > I needed this too but for a remoteTimer, but the code like yours > > didn't work and I also didn't find any support for that intention > > inside the cakePHP code. > > > Because of that, I decided to hack a little bit into the code to get > > this working, it may not be the best idea to do that, but it helped me > > to get my stuff working, so maybe that could help you too. You can > > read my changes on my blog, but not sure how that fits for $ajax- > > > > > link:http://schneimi.wordpress.com/2007/10/27/update-multiple-fields-with-... > > > Michael > > > On 13 Nov., 22:58, wluigi <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > > > I try this old (nate's) code : > > > // test.thtml > > <code> > > <?=$ajax->link('Update 2 Div\'s', '/controller/test', array('update' > > => > > array('first', 'second'))); ?> > > > <?=$ajax->div('first'); ?> > > This is the first div, it has the current time: > > <?=strtotime('now'); ?> > > <?=$ajax->divEnd('first'); ?> > > > <?=$ajax->div('second'); ?> > > This is the second div, it shows server variables: > > <? pr($_SERVER); ?> > > <?=$ajax->divEnd('second'); ?> > > </code> > > > but it doesn't seem to work anymore. > > > Wath's the new way ? > > -- > Luigi --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
