开发者

Is it possible to embed controllers with Play Framework?

I have two forms, each with their own actions. Then I have a page which is supposed to embed these two forms in a single pag开发者_JAVA百科e.

Is it possible to embed/include other actions in an action?


I'm not sure what are you asking. If you want to include a form inside another form, HTML does not allow. You can pick a javascript based solution to simulate a embeded form or you can make the forms sibling and use absolute position to make it appear one inside another.

If you just want to add two templates in the same page, you can do that making them tags or using the render tag.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜