Hi,
Previously i was working on version 1.1-M3 of lift framework and i
used autocomplete widget by override _toForm method in my Test.scala
file. It was something like that:
object Test extends Test with KeyedMetaMapper[Long, Test] with CRUDify
[Long,Test] {
(...)
}
class Test extends KeyedMapper[Long, Test] {
(...)
object TestTable extends MappedLongForeignKey(this, TestTable) {
def handleSubmit( string : String) = {
}
override def _toForm = Full( AutoComplete("", (current, limit)
=> {
TestTable.findAll.toList.map(d => (
d.name.is)) },
handleSubmit ))
}
(...)
}
But now, after upgrade lift to version 1.1-M6, i'm getting this error:
error: type mismatch;
found : scala.xml.NodeSeq
required: scala.xml.Elem
override def _toForm = Full( AutoComplete("", (current,
limit) => {
^
one error found.
I can't find way to fix this problem. Could Anyone help me?
Thanks and regards