scala - Liftweb form processing -
how test see option in focus during form submittal?
<select name="temp" id="keys"> <option selected="selected" value="isbn">isbn</option> <option value="title">title</option> <option value="author">author</option> <option value="publisher">publisher</option> <option value="date">date</option> </select>
from snippet i've tried s.param("temp")...
a common way use shtml.select()
this way can have options taken scala code, in typesafe manner , prone typos.
as far understand, s.param("temp")
should work also, if din't mess <form>
.
Comments
Post a Comment