playframework-2.0 Questions
4
I am somewhat new to the domain of web development. I am investigating Play2 and am trying to understand, do you need some kind of JS frontend framework to go with Play2 and Scala?
I notice that P...
Synonym asked 13/2, 2016 at 9:24
2
I'm using Play Framework 2.2.1 and have a project named "management" with one subproject named "security" (I used the tutorial located here ). Here's my project structure:
management
+ app
+ con...
Edessa asked 3/3, 2014 at 12:34
2
Solved
Has someone already found some tweaks to improve the compilation speed of Play 2.0? I am currently using 2.0.1 java.
Ute asked 24/6, 2012 at 9:46
5
Solved
I am trying reference things of type option in my Scala Play template. I've been trying to use this resource: http://www.playframework.com/modules/scala-0.9/templates
This is how I am trying to re...
Thrasonical asked 12/12, 2013 at 20:32
2
Solved
I'm trying to make sense of the error(s) I'm seeing below, and to learn how to fix it.
could not find implicit value for parameter materializer: akka.Stream.Materializer
val fut: Future[Result] ...
Pensioner asked 29/4, 2016 at 18:41
2
Solved
I'm using Play 2.5 to build a simple app. For better performance I'm using Akka chunked response with Java 8 CompletionStage strategy. Below is the code by which chunked response is getting generat...
Bicentenary asked 26/3, 2016 at 14:7
5
Solved
I'm very new to java play framework. I've set up all the normal routes like /something/:somthingValue and all the others. Now I want to create route the accepts query parameters like
/something?x...
Allegorize asked 9/4, 2013 at 16:59
1
I have a single page application (SPA) on a domain a.domain.com (http) that connect to an api on b.otherdomain.com (https) build in Play 2 (scala).
After the loading of the SPA, the user enter is ...
Olsen asked 10/1, 2013 at 11:5
4
Solved
If I have an action Application.show(tag: String), and also have a corresponding routing entry, how can I insert a link to this action to a template without crafting the url manually?
I would like...
Razorbill asked 16/9, 2012 at 14:12
3
Is logging in Play non-blocking? Does it use some non-blocking IO API behind the scenes? Does it schedule on some other thread pool? I tried looking at the code but couldn't figure it out from ther...
Hydrocellulose asked 15/10, 2013 at 7:44
5
Solved
I come from a play 1.2.7 application and currently getting started with play framework 2.4.1 and scala. For a start I use the activator web ui to manage applications and there I cannot get the appl...
Juta asked 1/7, 2015 at 9:23
7
Solved
I am using Play Framework 2.0.1. I have created a Java application using the "play new" command. By default, two views are created: index.scala.html and main.scala.html
I've done a few sample tuto...
Slogan asked 16/5, 2012 at 20:42
1
Solved
My problem is that every time I run sbt run, the server works until I refresh the page. After that, I get this in my terminal
Uncaught error from thread [play-dev-mode-akka.actor.default-dispatche...
Shade asked 27/9, 2017 at 14:16
3
Solved
I have observed that when I add more than 18 parameters to a Play Framework Form-class I get a long (and for me incomprehensible) compilation error.
Is this a documented limitation? I need to take...
Criminal asked 14/6, 2012 at 6:25
1
We are using the Play! framework for HTTP sessions.
tenantId and ipAddress are columns that are common across multiple tables.
When the user is logged in, we are storing the tenantId in HttpCon...
Valera asked 13/9, 2016 at 13:57
4
Solved
I'm trying to create a function test for a Play 2 controller which takes multipart form data as input. There is no method currently in FakeRequest to support multipart form POST. What other ways to...
Chalkstone asked 5/6, 2012 at 1:11
5
Solved
Using Play Framework 2 I've noticed the rendered Scala HTML templates don't like indented @if or @for.
So, for example, something like that:
<ul>
@for(test <- tests) {
<li>@test....
Squawk asked 4/1, 2013 at 9:46
3
Solved
I'm trying to serialize/deserialize some case classes to/from Json... and I've troubles when dealing with case classes with just one field (I'm using Play 2.1):
import play.api.libs.json._
import ...
Drucill asked 23/2, 2013 at 15:34
3
I have an existing Play 2.1 project. I've been running it with the console and it works fine. However, when I try to run it with IntelliJ using these instructions it doesn't work:
https://www.jetb...
Manisa asked 27/7, 2017 at 22:7
5
Solved
I'm developing a Play application, and I'm trying to use a Joda DateTime object into my case class.
package model
import org.joda.time.DateTime
import play.api.libs.json._
case class User(name: ...
Mckellar asked 16/7, 2015 at 19:15
1
Solved
I am learning Play Framework in Java.
I cannot get a clear understanding of the difference between a Response and a Result. I mean, what is actually sent back, Result or both? Is Response part of ...
Hakon asked 29/7, 2017 at 15:29
2
I set up the application loader this way:
class MyProjectApplicationLoader extends ApplicationLoader {
def load(context: Context): Application = new ApplicationComponents(context).application
}
...
Fraenum asked 4/7, 2017 at 18:27
1
Solved
note: I am new to Play Framework
Using this video tutorial and playlist, I manage to create a simple webapp.
Problem:
POST methods in routes file do not seem to execute the required POST code.
...
Domash asked 10/7, 2017 at 17:7
6
Solved
I've been having some problems testing controllers that use Play's CSRF protection. To demonstrate this, I've created a very simple Play application that minimally exhibits the problem.
https://gi...
Propel asked 7/11, 2013 at 14:24
2
Solved
this is the route to handle the login POST request:
POST /login/submit controllers.Users.loginSubmit(user : String, password : String)
this is the login.scala.html:
<form method="post" acti...
Crenate asked 21/8, 2012 at 16:22
© 2022 - 2024 — McMap. All rights reserved.