Browse files

Add demo for remoteNonStopPageScroll

  • Loading branch information...
1 parent 5fce558 commit 08247686fe94e4e17ad3d43580b6a7dde64ba536 Amit Jain committed Jan 7, 2013
Showing with 4 additions and 6 deletions.
  1. +4 −4 application.properties
  2. +0 −2 grails-app/controllers/com/intelligrape/ContentController.groovy
View
8 application.properties
@@ -1,9 +1,9 @@
#Grails Metadata file
-#Sat Dec 29 14:20:56 IST 2012
-app.grails.version=2.1.0
+#Mon Jan 07 09:36:18 IST 2013
+app.grails.version=2.0.3
app.name=remotePaginationSampleApp
app.servlet.version=2.4
app.version=0.1
-plugins.hibernate=2.1.0
+plugins.hibernate=2.0.3
plugins.jquery=1.6.1.1
-plugins.tomcat=2.1.0
+plugins.tomcat=2.0.3
View
2 grails-app/controllers/com/intelligrape/ContentController.groovy
@@ -3,12 +3,10 @@ package com.intelligrape
class ContentController {
def list = {
- params.max = Math.min(params.max ? params.int('max') : 20, 100)
render(view:'list', model: [contents: Content.list(params), total: Content.count()])
}
def filter = {
- params.max = Math.min(params.max ? params.int('max') : 20, 100)
render(template: 'filter', model: [contents: Content.list(params), total: Content.count()])
}
}

0 comments on commit 0824768

Please sign in to comment.