E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
paginate
ruby will_
paginate
的用法
新版本的will_
paginate
已经抛弃了这样的做法,转而使用gem的方式,本文通过建立一个名为foobar的应用来了解一下will_
paginate
的用法。
·
2008-08-16 21:34
Grails开发遇到的问题(持续更新)
下面我就介绍开发过程中一些问题: 1、<g:
paginate
/>中属性使用 params
simon1118
·
2008-08-01 10:00
JavaScript
grails
groovy
rails2.0被废弃的用法
下面我先列举一下有哪些用法被废弃,然后有什么替代方案,大家请帮我补充: 一、controller的
paginate
分页方法被拿掉了 2.0以前controller带有
paginate
这个public
jbf034
·
2008-07-30 00:00
Ajax
SVN
Flash
Ruby
Rails
Grails中
paginate
标签参数
Grails中
paginate
标签参数Attributestotal(required)-Thetotalnumberofresultstopaginateaction(optional)-thenameoftheactiontouseinthelink
生命科学领域的专业信息解决方案!
·
2008-07-22 20:00
will_
paginate
Rails分页plugin之will_
paginate
搜索结果的分页显示是一个常用功能,实现方式有很多中,rails也内建了对分页的支持,但是rails2.0将去掉分页组件,将分页功能交给plugin
jbf034
·
2008-06-30 23:00
sql
SVN
Ruby
Rails
Rails2.0.2分页插件
一、安装分页插件,每台主机仅需安装一次sudogeminstallmislav-will_
paginate
--sourcehttp://gems.github.com/二、编辑需要使用该分页插件的Web
cuilji
·
2008-06-25 16:00
xml
Web
css
ActiveRecord
Rails
自定义will_paginage输出(转自rails2.cn)
自定义will_paginage输出 ill_
paginate
是Rails中比较常用的分页插件,但是有时候我们可能想要自定义它的输出,这可以通过扩展WillPaginate::LinkRenderer
qichunren
·
2008-06-23 17:00
html
Ruby
Rails
新版本will_
paginate
的安装和使用
SVN方式的安装已经不被推荐了,新的will_
paginate
采用Gem安装。
cats_tiger
·
2008-06-03 12:00
SVN
ide
Ruby
Rails
新版本will_
paginate
的安装和使用
SVN方式的安装已经不被推荐了,新的will_
paginate
采用Gem安装。
cats_tiger
·
2008-06-03 12:00
SVN
ide
Ruby
Rails
让will_
paginate
的分页支持ajax
让will_
paginate
的分页支持ajax 关于will_
paginate
插件,请看这个帖子: http://mmm.iteye.com/blog/116931。
夜鸣猪
·
2008-05-10 13:00
Ajax
Blog
REST
[Rails 常用插件简介]will_
paginate
Rails2.0中原pagination将被移出作为插件classic_pagination,will_
paginate
是个非常不错的替代方案 一:安装 [Copy to clipboard
夜鸣猪
·
2008-05-10 13:00
SVN
Ruby
Rails
ActiveRecord
修改will_
paginate
支持ajax方式
网上关于will_
paginate
支持ajax的文章不少,可是看了一下,都比较旧了,在最新更新的will_
paginate
插件下用不了,所以就自己改了一下 在ViewHelper.rb中
wiwika
·
2008-05-01 10:00
Ajax
will_
paginate
的一个隐藏的参数:total_entries
will_
paginate
插件很好用,但是在Rails的development模式下查看SQL日志时发现这样的现象: 使用
paginate
_by_sql方法来search数据时生成这样的两条SQL语句
hideto
·
2008-04-17 19:00
设计模式
sql
Rails
will_
paginate
的一个隐藏的参数:total_entries
will_
paginate
插件很好用,但是在Rails的development模式下查看SQL日志时发现这样的现象: 使用
paginate
_by_sql方法来search数据时生成这样的两条SQL语句
hideto
·
2008-04-17 19:00
设计模式
sql
Rails
will_
paginate
的一个隐藏的参数:total_entries
will_
paginate
插件很好用,但是在Rails的development模式下查看SQL日志时发现这样的现象: 使用
paginate
_by_sql方法来search数据时生成这样的两条SQL语句
hideto
·
2008-04-17 19:00
设计模式
sql
Rails
分页问题----图片浏览系统之三
在Rails2.0.2之前,我们可以借助Rails自带的分类方法, 在controller中直接写 @picture_pages,@pictures =
paginate
guoyankun
·
2008-04-17 17:00
浏览器
Rails
pylons的分页类
原来pylons是有分页类的 是放在webhelpers下面
paginate
(collection, page=None, per_page=10, item_count=None, query_args
zuroc
·
2008-03-29 12:00
C++
c
C#
Pylons
学习笔记:
paginate
script/plugin install svn://errtheblog.com/svn/plugins/will_
paginate
Model -> Controller http
toostupid
·
2008-03-23 01:00
Ajax
SVN
Blog
Ruby
Ruby 分页示例代码
Ruby分页示例代码1.controller 定义action,指定需要翻页,示例代码: deflist @product_pages,@products=
paginate
:
origo
·
2008-03-13 14:00
Rails 2.0 中分页的实现 will_
paginate
插件
Rails2.0之前的版本提供了
Paginate
方法,大体的写法如下:????...??阅读全文老刘.2008-03-1213:4
bangoi
·
2008-03-12 05:00
Web
Rails
paginate
_by_sql(原为find_by_sql)中如何避免sql 注入
在一些不得不使用find_by_sql的场合,何如避免sql注入攻击?简单有效DRY的方法:wherecolumn=#{Base.connection.quote(value)}
iteye_7717
·
2008-02-28 15:37
记录
SQL
Ruby
rails 分页问题
不像will_
paginate
插件那么完美。 但是可以用了。 因为其他地方都是用的wi
Auckland
·
2008-02-04 12:00
sql
Blog
ext
Ruby
Rails
宝典:第二式 2.0之分页 will_
paginate
阅读更多Rails分页plugin之will_
paginate
搜索结果的分页显示是一个常用功能,实现方式有很多中,rails也内建了对分页的支持,但是rails2.0将去掉分页组件,将分页功能交给plugin
sayid2008
·
2008-01-23 10:00
Rails
SVN
Ruby
SQL
宝典:第二式 2.0之分页 will_
paginate
Rails分页plugin之will_
paginate
搜索结果的分页显示是一个常用功能,实现方式有很多中,rails也内建了对分页的支持,但是 rails2.0将去掉分页组件,将分页功能交给plugin
sayid2008
·
2008-01-23 10:00
sql
SVN
Ruby
Rails
如果有两处分页……
will_
paginate
是很好的分页工具,当时,如果在同一个页面中,有两处分页,用这样的代码: 这样两个分页会产生“关联”。
trace
·
2008-01-16 20:00
Web
Google
Ruby
分页插件will_
paginate
(提供下载包)
分页插件(will_
paginate
)是非常好用的,但是安装的时候没有安装svn客户端,会出现安装不了的情况,所以提供了附件供不方便安装的朋友下载 1:安装: 
mengwade
·
2008-01-10 13:00
SVN
dos
Google
Ruby
ActiveRecord
rails分页小结
在controller 里的 application.rb def
paginate
_collection(collection, options={}) default_options
yangtao309
·
2007-12-10 14:00
Ruby
Rails
多对多关联分页,用will_
paginate
插件实现
在做项目的时候碰到这样一个问题,有两个模型:category和content,他们是多对多的关联,他们的关联模型是categoring 我要做的是根据某个特定的category来检索content,并对content分页。 Controller的代码: @category = Category.find(params[:id])
weskycn
·
2007-12-07 16:00
多对多关联分页,用will_
paginate
插件实现
阅读更多在做项目的时候碰到这样一个问题,有两个模型:category和content,他们是多对多的关联,他们的关联模型是categoring我要做的是根据某个特定的category来检索content,并对content分页。Controller的代码:@category=Category.find(params[:id])
[email protected]
weskycn
·
2007-12-07 16:00
rails
ruby
will_paginate
多对多关联分页
Liferay研究之四:列表显示jsp分析
从SearchIteratorTag代码中可以知道,里面会调用一个标签属性:
paginate
,且缺省页面是html/taglib/ui/s
smilingleo
·
2007-11-23 14:00
c
jsp
object
url
Class
div
给will_
paginate
加上ajax效果
原文出处:http://railsontherun.com/2007/9/27/ajax-pagination-in-less-than-5-minutes 首先安装will_
paginate
ruby
9esuLuciano
·
2007-10-31 19:00
JavaScript
html
Ajax
SVN
Ruby
ruby on rails will_
paginate
插件
首先到网上下一个 will_
paginate
插件到...vendor\plugins下。
PBFox
·
2007-10-22 10:00
html
xml
Ruby
Rails
请问一个rails的问题,关于插件的
我需要安装will_
paginate
插件,但是svn在公司局域网连接不上,于是我需要把will_
paginate
下载到本地安装,但是不知道怎么按照。 新手,对rails的插件机理不是很懂。
zysoo
·
2007-10-12 20:00
SVN
ext
Ruby
Rails
rubygems
关于Rails开发之数据排序问题
ruby 代码 def list @post_pages, @posts =
paginate
kenrome
·
2007-09-16 10:00
Ruby
Rails
关于Rails开发之数据排序问题
ruby 代码 def list @post_pages, @posts =
paginate
kenrome
·
2007-09-16 10:00
Ruby
Rails
Ajax
Paginate
Demo
code上面了 一:安装: ruby script/plugin install http://ajaxpaginate.googlecode.com/svn/trunk/ajax_
paginate
xxj
·
2007-09-07 14:00
数据结构
Ajax
SVN
Google
Ruby
Ajax
Paginate
Update
早上又花了几分钟把昨天的代码稍微该了下,将rails支持的ajax callback加进去,修改remote_page_link_or_span def remote_page_link_or_span(page, span_class, text, param, options) unless page con
xxj
·
2007-09-07 14:00
html
Ajax
Rails
Go
[Rails 常用插件简介]ajax_
paginate
这个并不是一个完整的插件,仅供娱乐:)其实这也是个简单的插件制作过程,本插件依赖will_
paginate
一:新建Project railsajax_
paginate
_demo 地球人都知道这个是干嘛的
xxj
·
2007-09-06 23:00
Ajax
互联网
SVN
Ruby
Rails
让will_
paginate
的分页支持ajax
让will_
paginate
的分页支持ajax关于will_
paginate
插件,请看这个帖子:http://mmm.javaeye.com/blog/116931。
子在川上曰
·
2007-09-02 15:00
[Rails 常用插件简介]will_
paginate
Rails2.0中原pagination将被移出作为插件classic_pagination,will_
paginate
是个非常不错的替代方案 一:安装 ruby script/plugin
xxj
·
2007-08-26 23:00
SVN
Ruby
Rails
ActiveRecord
will_
paginate
的使用
rails自带的分页功能有限,加上will_
paginate
插件能够很强的增加功能 1.一对多的分页最简单:比如一个类目下很多文章,要显示气象学下的所有文章并20篇分为一页: def
libiun
·
2007-08-23 14:00
css
Rails
will_
paginate
的使用
阅读更多rails自带的分页功能有限,加上will_
paginate
插件能够很强的增加功能1.一对多的分页最简单:比如一个类目下很多文章,要显示气象学下的所有文章并20篇分为一页:defshow@category
libiun
·
2007-08-23 14:00
Rails
CSS
Rails宝典之第五十一式: will_
paginate
Edge Rails(将为Rails 2.0)中将内建的pagination移出作为插件classic_pagination 在本视频中推荐直接使用will_
paginate
插件,因为它更简单更容易
hideto
·
2007-08-02 10:00
SVN
网络应用
Google
Ruby
Rails
Rails宝典之第五十一式: will_
paginate
Edge Rails(将为Rails 2.0)中将内建的pagination移出作为插件classic_pagination 在本视频中推荐直接使用will_
paginate
插件,因为它更简单更容易
hideto
·
2007-08-02 10:00
SVN
Google
网络应用
Ruby
Rails
Rails宝典之第五十一式: will_
paginate
Edge Rails(将为Rails 2.0)中将内建的pagination移出作为插件classic_pagination 在本视频中推荐直接使用will_
paginate
插件,因为它更简单更容易
hideto
·
2007-08-02 10:00
SVN
网络应用
Google
Ruby
Rails
顺便讨论一下如何做RESTful的
paginate
。
;随便生成一个scaffold_resource,比如map.resources:articles;在routes.rb中加入如下代码,添加自己的routesmapping:map.articles_
paginate
"articles
AllenYoung
·
2007-07-18 09:00
Rails
Ruby
REST
Flash
Cache
顺便讨论一下如何做RESTful的
paginate
。
scaffold_resource,比如map.resources :articles; 在routes.rb中加入如下代码,添加自己的routes mapping: map.articles_
paginate
AllenYoung
·
2007-07-18 09:00
cache
REST
Flash
Ruby
Rails
Rails源码研究之ActionController:十,pagination
1,action_controller\pagination.rb: module ActionController module Pagination def
paginate
hideto
·
2007-06-27 17:00
html
Rails
Rails源码研究之ActionController:十,pagination
1,action_controller\pagination.rb: module ActionController module Pagination def
paginate
hideto
·
2007-06-27 17:00
html
Rails
rails中的常用分页一
snippets.dzone.com/posts/show/389 Sometimes it's nearly impossible to
paginate
a result set using
wtb
·
2007-06-27 11:00
Ruby
Rails
上一页
4
5
6
7
8
9
10
11
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他