Browse files

mapper: 2.10: MappedField: Node=>scala.xml.Node

  • Loading branch information...
1 parent 196122b commit e1797607043584835623f232e6a01504da0a3fc2 @nafg nafg committed Sep 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 persistence/mapper/src/main/scala/net/liftweb/mapper/MappedField.scala
View
4 persistence/mapper/src/main/scala/net/liftweb/mapper/MappedField.scala
@@ -449,7 +449,7 @@ trait MappedField[FieldType <: Any,OwnerType <: Mapper[OwnerType]] extends Typed
def toForm: Box[NodeSeq] = {
- def mf(in: Node): NodeSeq = in match {
+ def mf(in: scala.xml.Node): NodeSeq = in match {
case g: Group => g.nodes.flatMap(mf)
case e: Elem => e % toFormAppendedAttributes
case other => other
@@ -690,7 +690,7 @@ trait MappedField[FieldType <: Any,OwnerType <: Mapper[OwnerType]] extends Typed
case _ => false
}
- override def asHtml : Node = Text(toString)
+ override def asHtml: scala.xml.Node = Text(toString)
}
object MappedField {

0 comments on commit e179760

Please sign in to comment.