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

Popular posts from this blog

html - Cut text on left side inside button while centering -

plugins - CodeIgniter support on netbeans 8.0 -

php - Selecting items from MySQL for a status update feed efficiently while accounting for possible spam -