Controller Object binding not working from template
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
play framework | Status tracked in 1.0 | |||||
1.0 |
Fix Released
|
Undecided
|
Unassigned | |||
1.1 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I'm trying to pass an custom object (not a primitive such as String, Date, etc...) as parameter.
public static void index(Test t) throws Exception {
render(t);
}
I can set the parameters and access the parameters just fine when
calling index?t.
I can also call the action from another action or controller, and the redirect url is generated correctly, and all parameters can be accessed in the controller.
However, the automatic generation of links is not working from the template:
@{Application.
As an alternative, II could use actionBridge.
For more information, please have a look at: http://
Version affected 1.0.1
Just tested it and it seems to work perfectly! Thanks!