Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A sample for creating a Lift mobile site, not yet complete
Java Scala
Branch: trunk

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
project
src
README.md
build.sbt

README.md

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 http://groups.google.com/group/liftweb/browse_thread/thread/bdb91101ac9e5960

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 git@github.com:karma4u101/mobile-sample.git
cd mobile-sample

2) Update & Run Jetty

There is also a sbt.bat for windows users.

./sbt update ~container:start

3) Launch Your Browser

http://localhost:8080/

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.