Hello: var sex = "M" val sex_map = Map("Male"->"M", "Female"->"F")
bind("entry", xhtml, "sex" -> SHtml.radio(sex_map.keys.toList, Empty, sex = _), ) I don't know why I would get an exception like this: Thanks for the help [WARNING] D:\xxxx\snippet\UserEntryController.scala:52: error: overloaded method value bind with alternatives (String,net.liftweb.util.Box[(scala.xml.NodeSeq) => scala.xml.NodeSeq],net.liftweb.util.Box[(scala.xml.PrefixedAttribute) => scala.xml.MetaData],scala.xml.NodeSeq,net.liftweb.util.Helpers.BindParam*) scala.xml.NodeSeq <and> (String,scala.xml.NodeSeq,net.liftweb.util.Helpers.BindParam*) scala.xml.NodeSeq cannot be applied to java.lang.String,scala.xml.Group,net.liftweb.util.Helpers.TheBindParam,net.liftweb.util.Helpers.TheBindParam,net.liftweb.util.Helpers.TheBindParam,net.liftweb.util.Helpers.TheBindParam,net.liftweb.util.Helpers.TheBindParam,net.liftweb.util.Helpers.TheBindParam, (String, net.liftweb.http.SHtml.ChoiceHolder [String]),net.liftweb.util.Helpers.TheBindParam) [WARNING] bind("entry", xhtml, [WARNING] ^ [WARNING] one error found --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---