Groups
Groups
Sign in
Groups
Groups
Play Framework [deprecated]
Conversations
About
Send feedback
Help
[2.0-scala] How to pass a Boolean in form
91 views
Skip to first unread message
chiappone
unread,
Jun 4, 2012, 2:27:59 PM
6/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to play-fr...@googlegroups.com
Im not sure what the correct mapping is for a boolean in a form?
val postForm = Form(
tuple(
"name" -> text,
"veteran" -> Boolean
)
)
Boolean doesn't seem to work. What is the correct mapping?
thanks
Xuefeng Wu
unread,
Jun 4, 2012, 9:56:55 PM
6/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to play-fr...@googlegroups.com
as "name" -> test, you should use "veteran" -> boolean.
在 2012年6月5日星期二UTC+8上午2时27分59秒,chiappone写道:
Reply all
Reply to author
Forward
0 new messages