Folks,
I just committed a huge set of changes to Lift:
- net.liftweb.util is broken out into its own stand-alone lift-util
pacakge/JAR
- net.liftweb.mapper is broken out into its own stand-alone lift-mapper
package/JAR
- net.liftweb.machine is broken out into its own stand-alone lift-machine
package/JAR
- net.liftweb.record is broken out into its own stand-alone lift-record
package/JAR
If you are using any of those packages (99% chance you are), you must make
sure your pom.xml has the following in the <dependencies> tag:
<dependency>
<groupId>net.liftweb</groupId>
<artifactId>lift-util</artifactId>
<version>0.10-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.liftweb</groupId>
<artifactId>lift-webkit</artifactId>
<version>0.10-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.liftweb</groupId>
<artifactId>lift-mapper</artifactId>
<version>0.10-SNAPSHOT</version>
</dependency>
<dependency>
LiftRules.TemplatePF has been removed and Lift's template look-up mechanism
has been unified in LiftRules.ViewDispatchPF:
type ViewDispatchPF = PartialFunction[List[String], Either[() =>
Can[NodeSeq], LiftView]]
The ProtoUser's templates method has been removed. The
LiftRules.addTemplateBefore(User.templates) will cause a compiler error. It
may be removed. Additionally, the S.addArround(User.requestLoans) line will
cause a compiler error. It may be removed.
If you are using ProtoUser and have subclassed any menu creation methods,
the Loc() in the menus must now contain a Template() item to render the
proper template:
def logoutMenuLoc: Can[Menu] =
Full(Menu(Loc("Logout", logoutPath, S.??("logout"),
*Template(() => wrapIt(logout)),*
testLogginIn)))
Please note the highlighted line. It contains Template(() =>
wrapIt(logout)) Each of your menu items must contain a similar line.
Questions?
Thanks,
David
--
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---