incubator-esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhir...@apache.org
Subject svn commit: r992279 - /incubator/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala
Date Fri, 03 Sep 2010 12:53:12 GMT
Author: rhirsch
Date: Fri Sep  3 12:53:12 2010
New Revision: 992279

URL: http://svn.apache.org/viewvc?rev=992279&view=rev
Log:
[ESME-221] Makes Lift errors go away automatically

Modified:
    incubator/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala

Modified: incubator/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala?rev=992279&r1=992278&r2=992279&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala (original)
+++ incubator/esme/trunk/server/src/main/scala/bootstrap/liftweb/Boot.scala Fri Sep  3 12:53:12
2010
@@ -27,7 +27,7 @@ import net.liftweb.http.auth._
 import net.liftweb.sitemap._
 import net.liftweb.sitemap.Loc._
 import Helpers._
-import TimeHelpers.intToTimeSpanBuilder
+//import TimeHelpers.intToTimeSpanBuilder
 //import net.liftweb.mapper.{DB, ConnectionManager, Schemifier, DefaultConnectionIdentifier,
ConnectionIdentifier}
 import java.sql.{Connection, DriverManager}
 import _root_.net.liftweb.mapper.{DB, ConnectionManager, Schemifier, DefaultConnectionIdentifier,
StandardDBVendor}
@@ -123,6 +123,12 @@ class Boot {
     object logLevel extends LogLevelChanger with Log4jLoggingBackend
 
 
+      LiftRules
+           .noticesAutoFadeOut
+           .default
+           .set(Vendor((noticeType:NoticeType.Value) => Full((3 seconds, 3
+   seconds)))) 
+
     LiftRules.dispatch.append(ESMEOpenIDVendor.dispatchPF)
 
     //Resources for Internationalization



Mime
View raw message