It wasn't a question of version number. The div had to be present in the old and in the new page.
I was trying to update the div "first" in my pages/home.ctp with controller/test.ctp It didn't work until I add div "first" definition to my controller/test.ctp Hope it helps someone On Nov 16, 2007 12:31 PM, Luigi <[EMAIL PROTECTED]> wrote: > I use Cake 1.2.0.5875 pre-beta > and prototype 1.5.0_rc0 > > Now I know it works fine for oders, I should try new prototype version. > > Wich One should I use with cake ? 1.6 ? 1.5.2 ??? > > > On Nov 16, 2007 5:47 AM, Dennis Nikiforov <[EMAIL PROTECTED]> > wrote: > > > What version of prototype do you have and what version of cake? Cake is > > being changed very quickly, so a more exact version would help. > > > > > > francky06l wrote: > > > > I do update multiple div's with cake 1.2 without any problem. > > I will try nate's code again > > > > On Nov 15, 5:13 pm, schneimi <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > > > > > > 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]> <[EMAIL PROTECTED]> wrote: > > > > > > > > no one else ? > > > > > > On Nov 14, 2007 8:38 AM, Dennis Nikiforov <[EMAIL PROTECTED]> <[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]> <[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 > > > > > > > > > > > > > > > > > -- > Luigi -- 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 -~----------~----~----~----~------~----~------~--~---
