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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -