Skip to content

Commit

Permalink
Add demo for remoteNonStopPageScroll
Browse files Browse the repository at this point in the history
  • Loading branch information
Amit Jain committed Jan 7, 2013
1 parent 5fce558 commit 0824768
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions 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
Expand Up @@ -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.