Created
July 27, 2012 22:42
-
-
Save tyoc213/3190852 to your computer and use it in GitHub Desktop.
Currying or partial apply of scala from java method.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@myview(user, routes.Turns.list _) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(user: User, linkRoute: linkRoute: (Int, String, String, String) => _) | |
@* How to call a reference of a function "linkRoute" that comes from father.scala.html *@ | |
@linkRoute(newPage, sortBy, order, currentFilter) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment