is there a way, how to bind a SHtml.submit
tag to a <lift:tag/>
and preserve the value
attribute? I know that there is a way how to conserve all others, using -%>
instead of ->
, but what can I do if I rather want to write the value in snippet?
如果使用CSS选择器转换,则可以执行以下操作:
"type=submit" #> SHtml.onSubmit(s => println("Dude... the value is "+s))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.