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
i have one error that is
found : scala.xml.NodeSeq
required: scala.xml.Node
bind("app",html,
^
here is my code:
var app = AvailableSlot.findAll()
def viewapp(xhtml:NodeSeq):NodeSeq={
var ae = ""
var remark = ""
def prevSlot()={
}
dear all,
i have one problem in url rewriting..what i want is something like
this guest/view?branch=?&date=?...or guest/view/branch/date.
my code as below:
LiftRules.rewrite.append {
case RewriteRequest(
ParsePath(List("guest", "view", branch, date),_,_,_),_,_) =>
RewriteResp
can anyone show me how to fill the dropdown list with the data in the
database.i want the simplest one,because i didn`t undestand the
example given in the web and book..
let say we have one table that is book
i want one dropdown that will be fill with the data from this book
thank you for your t
> > )
>
> Should be:
>
> > bind("e",xhtml,
> > "branches" -> SHtml.text(branches,branches=_)
>
> > )
>
> As it is, the only tag that would be accepted would be "" (the empty string)
>
> -Ross
>
> On Nov 17, 2009, at
ranches,branches=_)
>
> > )
>
> Should be:
>
> > bind("e",xhtml,
> > "branches" -> SHtml.text(branches,branches=_)
>
> > )
>
> As it is, the only tag that would be accepted would be "" (the empty string)
>
>
hai,
i have a problem in liftweb that is XML Parsing Error: prefix not
bound to a namespace..
Branch :
^
here is the code
Branch :
Search
class Appointment {
def search(xhtml:NodeSeq):NodeSeq={
v