Scalate + Lift

25 views
Skip to first unread message

Tony Kay

unread,
Feb 10, 2013, 1:48:32 AM2/10/13
to sca...@googlegroups.com
Hi,

The liftmodule for scalate basically disables Lift...making Lift nothing more than a filter for passing requests to Scalate.

I've just added an answer to this stack overflow question:


that explains how you can really integrate scalate into Lift to get the full power of both (e.g. Scalate generating html as template input for the Lift stack, which can then further add magic to the page).

The helloscalate example project and existing liftmodule are useless from a Lift perspective, since they do not do this.

As I get time, I will try to contribute a more production-ready lift module, as I think the combination has merit. For the time being, you might want to update your Lift-related pages to indicate the module will likely not do what (Lift) users would expect.

Tony

Ali S. Rashid

unread,
Feb 14, 2013, 4:10:25 AM2/14/13
to sca...@googlegroups.com
Hi Tony,

I've also been using the lift-scalate module modified with the changes proposed on the Lift mailing list plus a couple of fixes. 
See this gist for an example. Includes a sample default.jade file which should replace default.html in 'templates-hidden'.

Regards,
Ali
Reply all
Reply to author
Forward
0 new messages