开发者

Is it possible to embed controllers with Play Framework?

开发者 https://www.devze.com 2023-04-05 02:28 出处:网络
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.

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

精彩评论

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

关注公众号