I'm using scala 2.10 and playframework 2.2.1
Lets assume following routing:
GET /users/page/:page/limit/:limit controllers.Users.showUsers(page: Int, limit: Int)
I'd like to add search form with GET method and few fields and also add some pagination.
For example, after form submission url will look like this:
http://example.com/users/page/1/limit/20?login=someLogin&email=
To avoid url hardcoding in pagination code I'm using reverse routing such as @routes.Users.showUsers(currentPage, limit) inside my template. Is it possible to add also GET parameters to resulting url without some ugly code like fold through Form inside template, etc?