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

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -