makumba - 同时创建相关实体
我想知道是否可以使用 makumba 以某种方式同时创建两个相关实体(一个提交)。
查看网站上的示例,假设我有一个 Company.mdd:
name = char[50]
和 Department.mdd:
name = char[50]
company = ptr company.Company
同时创建公司和实体的最简单方法是什么。我可以以某种方式嵌套 new:form 吗?
I would like to know if it's possible to somehow create two related entities at the same time (one submit) using makumba.
Looking at the example on the website let's say I have a Company.mdd:
name = char[50]
and Department.mdd:
name = char[50]
company = ptr company.Company
What would be the easiest way to create a company and entity in the same time. Can I somehow have nested new:form?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
关于 http://www.makumba.org/page/MultipleListsAndFormsHowto#section- 的文档MultipleListsAndFormsHowto-HavingAnMakNewFormInsideAMakNewForm 刚刚更新为具有完整的嵌套示例。
The documentation on http://www.makumba.org/page/MultipleListsAndFormsHowto#section-MultipleListsAndFormsHowto-HavingAnMakNewFormInsideAMakNewForm has just been updated to have a complete example of nesting .
是的,嵌套的 newForms 存在,您可以像这样使用它们:
Yes, nested newForms exist and you can use them like this: