Action « playframework « Java Enterprise Q&A

Home
Java Enterprise Q&A
1.activemq
2.Ant
3.aspectj
4.axis
5.cxf
6.deploy
7.Development
8.ear
9.eclipse
10.ehcache
11.ejb
12.flex
13.grails
14.jax
15.jaxb
16.JBoss
17.jbpm
18.jdo
19.jersey
20.jetty
21.jms
22.jmx
23.jndi
24.junit
25.ldap
26.Library
27.log4j
28.netbeans
29.osgi
30.playframework
31.portlet
32.quartz
33.rabbitmq
34.restful
35.security
36.Session
37.soap
38.tapestry
39.Web Service
40.weblogic
41.websphere
42.wicket
43.workflow
44.wsdl
Java Enterprise Q&A » playframework » Action 




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 ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.