Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 

README.md

Lift Future CanBind Example

An example that shows just how easy it is to provide support for different right-hand-sides for Lift CSS selector transforms. Here we combine that with Lift's lazy-load snippet to make it so you can have a Scala Future or a Lift LAFuture on the right hand side of a CSS selector transform. In these cases, we will send the page down and when the future completes its value will be used to render whatever depends on it.

All of the code to do this is in the FutureBinds.scala file. Importing FutureBinds._ will provide the aforementioned support. The demo app's bindings are in HelloWorld.scala, and demonstrte both LAFuture and Future use.

30 LOC. Man I love this framework.

About

Demo of using CanBind to provide support for Future and LAFuture bindings in Lift CSS selector transforms

Resources

Releases

No releases published

Packages

No packages published

Languages