Skip to content
A sample for creating a Lift mobile site, not yet complete
Java Scala
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Dynamic Template Invocation

This Scala/Lift basic assembly example demonstration dynamic template invocation by choosing between a fictional "mobile" and "full" surround template depending on some condition.
This is a fork originates from this discussion

Quick Start

The only prerequisites for running this Lift example is that you have Git and Java installed and configured on the target computer. You don't need to use it but the project also includes a Eclipse plug-in for browsing and following/working with the code, see the Scala IDE section.

1) Get the examples

git clone
cd mobile-sample

2) Update & Run Jetty

There is also a sbt.bat for windows users.

./sbt update ~container:start

3) Launch Your Browser


Scala IDE for Eclipse

Sbteclipse provides SBT command to create Eclipse project files

1) Usage

project$ ./sbt
> eclipse create-src

2) In eclipse do:

File ==> Import...
Select General ==> Existing Project into Workspace 
Use "Brows" to look up the project root ....
Something went wrong with that request. Please try again.