The update key needs to be a CSS selector, and I don't think anything
except Prototype will support an 'indicator' key.

-Mark

On Oct 22, 6:13 pm, jacmoe <[email protected]> wrote:
> I tried Mootools, jQuery and Prototype - no luck. :)
> Prototype and Mootools seems to be ignored by Cake..
> 'Js' => array('Prototype') or 'Js' => array('Mootools')
> I only get regular, non-Ajaxed pagination.
> However, when choosing jQuery, the links stops working.
> By that I mean: they are dead. Nothing, not even regular pagination,
> happens.
>
> This is my link lines:
> echo $this->Html->script(array('prototype', 'scriptaculous'));
> echo $this->Html->script(array('mootools-1.2.4-core-jm',
> 'mootools-1.2.4.1-more'));
> echo $this->Html->script(array('http://ajax.googleapis.com/ajax/libs/
> jquery/1.3.2/jquery.min.js', 'http://ajax.googleapis.com/ajax/libs/
> jqueryui/1.7.2/jquery-ui.min.js'));
>
> I am not loading them at the same time. And I load them in my main
> layout, in head, just before <?php echo $scripts_for_layout; ?>
>
> By the way, here's my paginator options:
>
> <?php $paginator->options(array('update' => 'listing', 'indicator' =>
> 'spinner', 'url' => $this->passedArgs)); ?>
>
> And here's my paginator links:
>
>                 <?php echo $paginator->prev('<< '.__('previous', true), 
> array(),
> null, array('class'=>'disabled'));?>
>          |      <?php echo $paginator->numbers();?>
>                 <?php echo $paginator->next(__('next', true).' >>', array(), 
> null,
> array('class'=>'disabled'));?>
>
> I will make a minimal app, and see if I can get it to work there..
>
> I am doomed. :P
>
> On Oct 22, 10:34 pm, jacmoe <[email protected]> wrote:
>
>
>
> > I forgot to mention, that by 'isn't working' I mean no reaction at
> > all: the links are recognised (I can see them in the status bar) but
> > they do nothing. When I comment out the $paginator->options line, it
> > works (as plain old linky pagination without any Ajax stuff).
> > Of course, I'll try and see if the Js helper is actually loading
> > something, but it really should be.
>
> > On Oct 22, 7:36 pm, mark_story <[email protected]> wrote:
>
> > > I have, and I haven't been having any issues. Perhaps you could more
> > > clearly define what "isn't working" means.
>
> > > -Mark
>
> > > On Oct 21, 11:47 pm, jacmoe <[email protected]> wrote:
>
> > > > I just tried to upgrade my existing Cake app from 1.2 to 1.3.
> > > > And my Ajax powered paginator stopped working. :(
>
> > > > I load the 'Js' helper in my AppController, before the Paginator
> > > > helper.
> > > > I have
> > > > echo $this->Html->script(array('https://ajax.googleapis.com/ajax/libs/
> > > > jquery/1.3.2/jquery.min.js',
> > > >                                          'http://cdn.jquerytools.org/
> > > > 1.1.2/jquery.tools.min.js'));
> > > > in my default layout.
>
> > > > I didn't change the paginator code besides that.
> > > > But it isn't working.
> > > > Not in any way: Ajax or plain links.
>
> > > > Anyone tried the Paginator helper with Cake 1.3 ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to