playframework - play-framework 2.0, is it possible to add a GET variable through the reverse router? -
In a way of my controller, called This goes to I have done your job, if I understand your question: And my route announcement looks like this: Receive it works for you? PageController , I have
Return Redirect (route page controller.page_view ("main", "home"));
/ main / home How can I add a GET variable to it, for example
/ main / home> redirect = 0 ?
< Code> public static result GO_TO_OVERVIEW = redirect (routes. Bookmarks.index 0, "description", "acc", ""));
Get / Bookmark Controller The public static result index (int page, string string, string order, string filter) {if (sortBy.isEmpty (): Bookmarks.index (p: int? =),
Comments
Post a Comment