how to call other action in play framework
def a = {
b
}
def b = {
logger.deb开发者_JS百科ug("call ok")
Template
}
When I call method a
I see the logger output (so b
is called), but it returns the template of a
. Why? I want it to return template of method b
by Template you mean a "render" command? If so, it should work. If not, please edit the question and post the exact code.
精彩评论