When I specify for example maxNumberOfFiles="5" the Javascript code that will be generated is maxNumberOfFiles: 47.
When I write maxNumberOfFiles="${2-3}" the the Javascript is correct maxNumberOfFiles: 5. When providing a number larger 9 an error is thrown.
When I specify for example maxNumberOfFiles="5" the Javascript code that will be generated is maxNumberOfFiles: 47. When I write maxNumberOfFiles="${2-3}" the the Javascript is correct maxNumberOfFiles: 5. When providing a number larger 9 an error is thrown.
Grails 2.2.1