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 - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -