On 02/17/2010 05:25 PM, Lukas Ocilka wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dne 17.2.2010 16:29, Klaus Kaempf napsal(a): > >> * Michal Zugec <[email protected]> [Feb 17. 2010 15:37]: >> >>> 2 - when one of the lists is too long it looks very bad. Any idea how to >>> solve it? (scrollbars, align into more columns, ...) >>> >> For this we need a generic solution. Rails offers a couple of >> 'paginate' extensions. >> > SLMS uses exactly this: > config.gem 'mislav-will_paginate', :version => '~> 2.3.6', :lib => > 'will_paginate', :source => 'http://gems.github.com' > > Easy to understand, easy to use. Example: > @subscriptions = Subscription.paginate :all, :page => params[:page], > :conditions => conditions, :order => order > > Bye > Lukas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.12 (GNU/Linux) > Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ > > iD8DBQFLfBhgVSqMdRCqTiwRAtAgAJ42Uay1mYrAmh6pexJvTfvJEdhowwCfRLRR > y6F4GnafZwyoJ3pydTTUzsg= > =cZ7Q > -----END PGP SIGNATURE----- > Thanks, but no. This is more about css layout than 'paging'. This should be solved just on client side without rails
Bye, Michal -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
