Action « playframework « Java Enterprise Q&A





1. How to pass a collection/array parameters to an Action    stackoverflow.com

I am reading the documentation about the controller http://www.playframework.org/documentation/1.1/controllers and I know how to define them on the controller side.

public static void show(Long[] id) {
    ...
}
or:

public ...

2. how to call other action in play framework    stackoverflow.com

def a = {
  b
}
def b = {
  logger.debug("call ok")
  Template
}
When I call a, the logger is working, but it returns the template of a, why? I want ...

3. Playframework routes question    stackoverflow.com

I have this in my applcation routes file:

GET    /new                 Tweets.create
POST   ...

4. How to call action that is in a different controlle in play framework?    stackoverflow.com

I have a controller Foo in play framework scala project:

In Foo controller (in Foo.scala) I have action 
object Foo extends Controller { 
def baz() = { 
 Application.bar() 
} 
In baz ...

5. Why am I getting Action not found when the code does not reference that action?    stackoverflow.com

I changed the workflow of my application, which removed 4 actions that had previously been used. I changed so that I no longer have a creditcardsaved, achsaved, and a couple ...

6. Is there a way to share data between interceptors and actions in the play framework?    stackoverflow.com

In a Play! controller, I can create an interceptor method that will process every request before it arrives to the appropriate action.

public class Admin extends Application {

   ...

7. Play Framework How can i pass collection to action create()?    stackoverflow.com

I am starter with Play Framework. I got a problem when i passed parameters.
I want to pass a collection from view to controller. And i do not know how to ...

8. Play framework: merge action only works in the Controller that triggered it    stackoverflow.com

I have a simple Play applicaiton for test. I have 2 controllers, one is a "ListController" that displays a list of entries. Each entry has an "edit" link which goes to ...