playframework-2.0 Questions
5
Solved
I'm making a real push to understand the async powers of Play but finding a lot of conflict with regard to places where async invocation fits and places where the framework seems to conspire agains...
Myers asked 16/2, 2013 at 17:30
4
Solved
Play framework 2.0 is a full-stack standalone framework for creating web applications. Probably, many people need to integrate it into their build management, nevertheless. Unfortunately, I did not...
Hamelin asked 24/4, 2012 at 14:16
7
Solved
I followed a tutorial here and although I got the entire tutorial working just fine, one of the classes in my IntelliJ project is marked with "red warnings". I cannot figure out what the problem is...
Conidiophore asked 5/6, 2013 at 4:35
5
Solved
I'm trying to write a custom Json serializer in play for a case class but I don't want it to serialize all the fields of the class. I'm pretty new to Scala, so that is surely the problem but this i...
Thrips asked 4/12, 2013 at 19:26
2
I'm a huge fan of the PlayFramework, but I have limited experience with SBT / Scala. I've been trying to use Kotlin more, so I'm trying to get Kotlin Running on SBT / PlayFramework.
I've used Kotl...
Tome asked 2/1, 2015 at 23:22
7
Solved
I am trying to learn the unit tests in Play scala, but I am running into some issues. I am trying to run several tests on my models layer like this:
"User Model" should {
"be created and retrieve...
Alexalexa asked 19/8, 2012 at 16:47
1
Solved
I am trying to come up with an optimal workflow for updating my web application running on play framework.
I use the start script to launch it but what is the best practice for updating the code s...
Ryanryann asked 12/6, 2013 at 14:34
1
Solved
I'm new to play framework and have limited experience with scala. Using play framework 2.4 I'm trying to write full integrations tests where I want to call controller, and using in-memory db retrie...
Struck asked 19/8, 2015 at 20:35
3
Solved
I have the following simplified template setup:
Main (template)
Homepage
Details
Now when a user logs in, a session attribute username is set so that I can figure out if a user is logged in ...
Linguiform asked 17/3, 2012 at 16:39
1
Solved
from Slick documentation, it's clear how to make a single left join between two tables.
val q = for {
(t, v) <- titles joinLeft volumes on (_.uid === _.titleUid)
} yield (t, v)
Query q will,...
Trellas asked 17/8, 2015 at 23:59
2
Solved
I am trying to create a Scala project in IntelliJ IDEA 14. As mentioned in IntelliJ IDEA's help, the Scala plugin already has support for Play 2.x.
I have installed the Scala plugin, and when I cr...
Lotuseater asked 3/12, 2014 at 14:18
2
Solved
I need to execute a code allowing the launch of scheduled jobs on start of the application, how can I do this? Thanks.
Bertsche asked 31/1, 2013 at 17:40
1
I'm new to the Play Framework and just trying to get HTTPS going for the first time with 2.4.2 on Java 8. I can get it working with the default keystore but not with my own keystore. I configured t...
Stalinist asked 31/7, 2015 at 10:39
2
Solved
I'm working on play2.1 writing a test for a post controller that uses multipart forms using the route function.
route(
FakeRequest(POST,
postControllerRoute().url,
FakeHeaders(Seq(HeaderNames.C...
Steffaniesteffen asked 21/2, 2013 at 22:8
2
Solved
Im trying to follow the play framework ebean tutorial here:
http://www.playframework.com/documentation/2.1.2/JavaEbean
However when I try to include play.db.ebean.* and try to compile, the packag...
Footpad asked 9/9, 2013 at 10:25
1
I started trying Scala and Play to parse through Json data, and was following the tutorial at https://www.playframework.com/documentation/2.3.9/ScalaJson.
Now, when I try to run the sample code giv...
Kinson asked 29/7, 2015 at 3:45
2
How can I create client WebSocket in Play2 using Scala?
Should I use external library?
I found:
http://backchatio.github.io/hookup/
Do you know any alternatives?
Karlakarlan asked 10/4, 2014 at 19:31
4
Solved
I am getting an error at return :
public static Result home(String name)
{
return ok(home.render(name));
}
For which Eclipse says, home can't be resolved. I know it is more of Scala than Java,...
Nigh asked 23/7, 2013 at 9:56
3
Solved
i am getting this error while trying to save data into model in db.
@Entity
public class User extends Model {
@Required
public String name;
@Email
public String email;
@Required @MaxLength...
C asked 29/6, 2012 at 11:13
2
I am trying to set autoReconnect=true mysql connection property in application.conf file of my Play Framework 2.0 application. But it is giving me the following error :
Caused by: java.sql.SQLExce...
Brebner asked 27/7, 2013 at 18:22
5
Solved
I have a specs2 test which uses a FakeApplication and an embedded mongodb database.
def inMemoryMongoDatabase(name: String = "default"): Map[String, String] = {
val dbname: String = "play-test-"...
Wiper asked 3/9, 2012 at 11:11
1
Solved
I am creating a Play application with Play 2.3 in Java.
I'm trying to use Form for handling POST request with JSON body.
My problem is that if my JSON is a simple object with only Strings or Floa...
Lizabethlizard asked 1/7, 2015 at 15:13
2
I'm returning a file from a controller, via play.mvc.Results.ok(file). However, the file downloads as "download", without a specific file name. Is there a way I can set the name for the download (i...
Oresund asked 10/6, 2013 at 15:22
2
Solved
I would like to invent a system to dynamically discover subprojects and aggregate them into my project automatically. Or at least configure this somehow.
To do this, I'm planning to have either a ...
Celebrate asked 19/6, 2015 at 15:44
1
Solved
Short Version:
How can I create a Promise<Result> which is completed on a trigger of a callback?
Long Version:
I am working on an application which deals with third-party SOAP services. A ...
Scarification asked 20/6, 2015 at 17:4
© 2022 - 2024 — McMap. All rights reserved.