how to create a simple web form in scala/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 submit开发者_高级运维ted? 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.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.
精彩评论