I'm trying to pass a payload to a validate(ValidationPayload) in the Play Framework using Java. I can not access the values stored in payload.getAttrs ...
I'm trying to pass a payload to a validate(ValidationPayload) in the Play Framework using Java. I can not access the values stored in payload.getAttrs ...
Our project uses multiple routes files. The conf/routes file contains something like: We then have conf/admin.routes and conf/user.routes files, w ...
I upgrade from Play 2.5 to 2.7, and am having a problem with saving my forms. When fields are changed and I call the Model.update() the changes are no ...
In older Play! versions (like 2.3) it was possible to modify the header of all responses like How do I do this with Play! 2.7 without deprecation ...
I have a Play application that contains a Main running another process. At Heroku, it is another dyno running this process. I need to load the Mode ...
I have an internationalized Scala Play 2.7.x WebApp and have the usual routes e.g. Now I'd like to add a new route that will basically change-langu ...
I have a Play 2.7 controller in Scala that validates inbound JSON requests against a case class schema, and reports inbound request payload errors (no ...
I am creating a new play framework application and using slick to connect to h2 database. But when I am running the application and accessing the data ...
Recently i'm trying to upgrade the play version of our application from 2.3.x to 2.7.2. I'm using netty-server for the application to run. I'm able ...
I'm using Play Framework for ease in JSON parsing in Scala. My code looks like: Now if I provide proper userid and password, I'm sure to get a toke ...
Let's say I have a very simple action; About 50% of my routes will want to set the "as("text/csv") header. I'd like to have a single AsCSV action wh ...
I want to write the test for the following controller. When I tried to create an instance of Action builder(AuthenticationAction) inside the test w ...
I'm working on a Scala Play 2.7 project and have a use-case for saving in the database data that needs i18n. I have two design choices: Saving th ...
I'm building an application on top of Scala 2.12.x, Slick 3.3.0 & Playframework 2.7.x and require adding Web App indexing and searching capabiliti ...
I'm looking for the best way to access route parameters from within a custom action composition. I found some answers from a couple of years ago sugge ...
I have implemented a web socket server using Play Framework. The server can take connections and respond to clients. If the connections are idle for s ...
I'm using Scala Play 2.7.x (the project is available here Play-Silhouette-Seed) and would like to test my daos. I have put together this simple one fi ...
I'm working on a Scala Play 2.7.x (you may checkout the project here play-silhouette-seed googleauth branch) and I have a form defined as: Where Pa ...
I receiving an exception Could not resolve type id 'path.to.MyClass' as a subtype of [simple type, class java.lang.Object]: no such class found on pla ...
I am using play-framework 2.7 and following this tutorial https://github.com/swagger-api/swagger-play/tree/master/play-2.6/swagger-play2 i followed a ...