Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- Converge 2.7 and 2.8 branch as much as possible

- Fix copyright headers in certain newer files
  • Loading branch information...
commit a377fdb462daaf3c6d5024cc3442bfd0dfd48fa4 1 parent 07e6985
Indrajit Raychaudhuri authored July 08, 2010
2  lift-archetype-jpa-basic/src/main/resources/archetype-resources/spa/src/main/scala/model/Enumv.scala
@@ -40,7 +40,7 @@ trait Enumv  {
40 40
   }
41 41
 
42 42
   /* get name description pair list for forms */
43  
-  def getNameDescriptionList =  this.elements.toList.map(v => (v.toString, getDescriptionOrName(v) ) ).toList
  43
+  def getNameDescriptionList =  this.map(v => (v.toString, getDescriptionOrName(v))).toList
44 44
 }
45 45
 }
46 46
 }
2  lift-archetype-jpa-basic/src/main/resources/archetype-resources/web/src/main/scala/snippet/Books.scala
@@ -112,7 +112,7 @@ class BookOps extends Loggable {
112 112
     }
113 113
 
114 114
     bind("search", xhtml,
115  
-	 "title" -> SHtml.text(title, title = _),
  115
+	 "title" -> SHtml.text(title, t => title = t),
116 116
 	 "run" -> SHtml.submit(?("Search"), doSearch _))
117 117
   }
118 118
 }

0 notes on commit a377fdb

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