Here's what I have:
Controller:
class FoldersController < ApplicationController
hobo_model_controller
auto_actions :all
end
index.dryml
<index-page>
<collection: replace>
<table-plus fields="this, Type, LastGiftDate">
<empty-message:>No folders match your criteria</empty-message:>
</table-plus>
</collection:>
</index-page>
the pagination bar comes up, when I click a link, it loads, but the
table-plus part of the page had the same data no matter what page is
requested.
Thanks for the help!
Steve.
On Fri, Jul 10, 2009 at 12:01 PM, kevinpfromnm <[email protected]>wrote:
>
> You haven't changed the controller at all? That's odd since I've done
> the same sort of thing and had pagination work fine (only dozens of
> records, not thousands but should still work the same). Can you post
> your changed code?
>
> On Jul 10, 7:04 am, Steve VanB <[email protected]> wrote:
> > I'm trying to get table-plus to work on a table that has thousands of
> > records. Obviously I don't want to show them all, but pagination to
> > be able to get through more than one page of them could be nice.
> >
> > When I put table-plus in an index page with noting special on the
> > controler, I get the table and a pagination thing like I would have
> > with the default cards list. Unfortunately, when I go to other pages,
> > table-plus still just lists the first 20 records (or what ever the
> > number is). It seems the page info isn't passed allong to table-plus.
> >
> > How do I get this to happen on the index page?
> >
> > Thanks!
> >
> > Steve.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---