hai again..
i try to bind the data from the db in the radio button but have an
error like this:
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.NodeSeq,net.liftweb.util.Helpers.TheBindableBindParam
[object i.Slot_Time],(String, net.liftweb.http.SHtml.ChoiceHolder
[String]),net.liftweb.util.Helpers.TheBindableBindParam[object
i.staff_id],net.liftweb.util.Helpers.TheBindParam)
this is my code:
app.flatMap ({ i =>
bind("app",xhtml,
"time" -> i.Slot_Time,
"slot" -> SHtml.radio(Map("" ->
i.id).keys.toList,Empty,ae=_),
"ae" -> i.staff_id,
"remark" -> SHtml.text(remark,remark=_,"name"-
>"remark"),
)
})
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.