如何在 scala/lift 中创建一个简单的 Web 表单
我需要使用用户名和电话号码创建一个电梯。 有人可以给出一个完整的例子,如何在 lift 中创建一个可以提交的简单表单吗?或对一个好的参考。我看到的所有示例都不完整,或者对我来说有太多选项,而且我无法编译它们。
谢谢,
哦哈德。
I need to create a from in lift with username and phone number.
can someone give a full example how to create a simple form in lift that can be submitted? or a reference to a good one. all examples I have seen are not full or has too many options for me, and I couldn't manage to compile them.
Thanks,
Ohad.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在此处由 David Pollak 在伦敦提供的入门课程中找到一个优秀且简单的示例。简单表单的片段(而不是您评论时的电话号码,它有年龄)是 此处。关联的html是这个,只需注释Lift Screen部分并取消简单表单的注释。
另请注意,Lift 拥有一个非常活跃且乐于提供帮助的社区,因此您也可以在 Lift 邮件列表。
You can find an excellent, simple example in the introductory course given by David Pollak in London here. The snippet for the simple form (instead of a phone number as you comment it has an age) is here. The html associated is this one, just comment the Lift Screen section and uncomment the simple form.
Please also note that Lift has a very active and willing to help community, so you can also ask these questions in the Lift mail list.