Lift成功通過調試

結合使用 Apache Geronimo 和 Lift》是lift的一個不錯的例子,不過由於代碼更新,部分地方有一點修正,憑記憶記錄下要點
 1.Full 改用import net.liftweb.common.Full
 2. Can[Connection] = {     --->> Box[Connection] = {
 3. "submit" --> submit(?("Update"), ignore => {}), -->
 "submit" --> submit(("Update"), processEntry),
def processEntry () = { S.error("success") }
 4. Menu(Loc("update", "/update", "The Update Page")) :: -->
Menu(Loc("update", List("update"), "The Update Page")) ::
 5.mvn archetype:generate -U -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=2.2 -DremoteRepositories=http://scala-tools.org/repo-releases  -DgroupId=com.desu.fanst -DartifactId=fanst
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章