lift Questions
6
Solved
For a little educational project intended as a community resource to help people learn Scala I am looking for a simple way to serve and process web pages in a background thread.
Minimal background...
Ascocarp asked 29/3, 2012 at 20:42
3
Solved
In SBT .7, you could do
~jetty-run
in order to get your files to auto compile and reload the web app whenever something changes. In SBT .11, You can do
~container:start
which also re-compile...
Potpie asked 17/12, 2011 at 15:35
2
Solved
I would like to use an autocomplete with ajax. So my goal is to have:
When the user types something in the text field, some suggestions provided by the server appear (I have to find suggestions ...
2
Solved
I'm trying to develop a form of social network in Lift, could someone please suggest a good starting point without reinventing (most of) the wheel, e.g., user management? Is there a CMS available?
...
Meloniemelony asked 6/12, 2011 at 1:40
2
Solved
I have a JSON file containing quite a lot of test data, which I want to parse and push through an algorithm I'm testing. It's about 30MB in size, with a list of 60,000 or so elements. I initially t...
5
Solved
I would like to know if there is a way to do some complex SQL queries using Mapper in Liftweb.
In fact what I would like to do is to perform a Join query from databases Employes and Departments us...
7
Solved
I find myself in a bit of a conundrum. I'm building a new, modern, web-based application and not only do I have to pick a technology, I have to pick an architecture. I think it is fair to say that ...
Fowler asked 9/2, 2012 at 21:43
1
I'm trying to write a Specs2 test that will test a snippet's output in response to different parameters which would normally be passed in from a template, but I haven't been able to figure out how ...
5
Solved
I'm looking for open source applications written for the Lift Web framework. I want to read their code, and learn the best Lift-ish coding style from those.
Anyone knows good open source Lif...
Methylnaphthalene asked 30/6, 2010 at 20:35
2
Solved
A have lift app starting ssh daemon in Boot.scala.
Here is the problem: when i run container:restart / in sbt session I get Address alread in use exception.
Now two questions:
Is it right way to ...
Anticipate asked 29/1, 2012 at 19:35
5
Solved
I have been using Grails for the past few months and I really like it, specially GORM. However, I am getting interested into Scala's Lift. Therefore, I would like to know your opinion about w...
2
Solved
I've encountered a strange piece of syntax in Scala, could someone explain it to me what does ampersand mean when aplied bettween functions that are passed as argument to other function?
partialUp...
2
What are the options for MongoDB schema migrations/upgrades?
We (my colleagues and I) have a somewhat large (~100 million record) MongoDB collection. This collection is mapped (ORM'd) to a Scala l...
3
Solved
I am going through a book Lift in action and I encountered something I don't quite understand: _ ::
object permanent_link extends MappedString(this, 150){
override def validations =
valMinLen(3,...
1
Solved
I have a server, which shall serve some web content as a part of it's duties. It was working using embedded Jetty, and I want to add some Lift's beauty to it (templates, actors, etc).
The problem ...
Prentice asked 25/12, 2011 at 6:28
1
Solved
In "Simply Lift" REST examples we can find
case Nil JsonGet _ => Item.inventoryItems: JValue
but
case Nil JsonPut Item(item) -> _ => Item.add(item): JValue
Why -> _ => instead ...
1
Solved
A standard "Symply Lift" RestHelper example project features code, code.lib and code.model and bootstrap.liftweb.Boot namespaces. I've changed those to mycompany.myproject.code e t.c. Now the proje...
Osorio asked 18/11, 2011 at 3:52
3
Solved
First of all, I'd like to ask to correct my question title if something better comes into your mind.
Let's take a Lift REST web service example from the Simply Lift book by David Pollak here.
If ...
1
Solved
I want to create a list of items and have a hyperlink on each of them that performs some action, e.g. remove the item from the list.
My template looks like this:
<lift:surround with="default" ...
1
Solved
I've created a blank project via sbt using the most basic guide, specifically:
> cd xyz
> sbt # here we create a new project w/ Scala 2.8.1
> *lift is org.lifty lifty 1.6.1
> lift crea...
Acanthopterygian asked 9/10, 2011 at 11:13
2
Solved
I want to read xml file in my lift app:
val data = XML.load(new java.io.InputStreamReader(new java.io.FileInputStream(filename), encoding));
However, I am getting java.io.FileNotFoundException...
Milesmilesian asked 25/9, 2011 at 16:31
18
Solved
I've just started learning Scala, and the first thing I'm going to implement is a tiny web application. I've been using Erlang for the last year to implement server-side software, but I've ne...
Sophronia asked 28/9, 2009 at 17:50
2
I was a little surprised when I started using Lift how heavily it uses reflection (or appears to), it was a little unexpected in a statically-typed functional language. My experience with JSP was s...
Lutes asked 5/9, 2011 at 5:3
3
Solved
3
Solved
I have the following XML literal:
<input type='radio'
name={funcName}
value='true' />
I'd like to include checked='checked' if cond is true.
I've tried this,
<input type='radio'
na...
© 2022 - 2024 — McMap. All rights reserved.