-
I have performed some work locally to make this work with latest Play if one needs help ask me, in a nutshell what is required in build.sbt:
TwirlKeys.templateImports in Compile ++= Vector("_root_.ui…
-
Play team moved template system to new project play.twirl.api.
So we need few changes:
import play.mvc.Content -> import play.twirl.api.Content
import play.api.templates.Html -> import play.twirl.api.…
-
In the past there was a precompile command which does not exist anymore (or does it somewhere?). You can emulate this behaviour with a bash script, but this feature should come back in a future versio…
-
I just downloaded this on a machine which had it's `~/.ivy2/` folder wiped clean, and it doesn't seem to compile properly. Are we missing an explicit dependency on `play`? I did nothing but clone and …
-
Since we've updated to 2.2.1, every now and then when running `play test`, we get `key not found: SOURCE` error:
``` bash
[my-sub-project] $ last my-sub-project/compile:managedSources
java.util.NoSuc…
-
In template files, while the following code compiles fine:
`@(123) match { case 123 => "test" }`
This code does not:
`@(123) match {
case 123 => "test" }`
This can be seen in isolation by passing …
-
- only Pull Requests
- only changed code, no code reformats
- unit tests
- will be reviewed by Laura and Michael
- only the namespace io.sphere.sdk (including Twirl templates)
- no unchecked code (gen…
-
Right now you have to specify imports after the template declaration:
```
@(user: com.example.User)
@import com.example.User
Hello @user.getName()
```
This seems odd because it's not how Java/Scala …
-
it would be great, if sbt.013 would be supported :-)
-
In templates, as of 2.3-M1 accessing the body (or calling `toString`) on a partial in a programmatic manner makes it render erroneously as an empty string. For example, take this working sample for on…