Skip to content
Browse files

Merge branch 'master' of github.com:lift/framework

  • Loading branch information...
2 parents 7f1cc29 + 5f55639 commit be938665508aa349c239159d85ce514d7d346727 Joni Freeman committed Jun 30, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 core/util/src/main/scala/net/liftweb/util/BindHelpers.scala
View
2 core/util/src/main/scala/net/liftweb/util/BindHelpers.scala
@@ -1663,6 +1663,8 @@ object IterableConst {
implicit def optionBindablePromotable(it: Option[Bindable]): IterableConst =
SeqBindableIterableConst(it.toList)
+
+ implicit def optionStringPromotable[T](o: Option[T])(implicit view:T=>StringPromotable) = optionString(o.map(view(_).toString))
}
sealed trait IterableFunc extends Function1[NodeSeq, Seq[NodeSeq]] {

0 comments on commit be93866

Please sign in to comment.
Something went wrong with that request. Please try again.