开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜