Lift is perfect for these kind of REST abstractions... its what I do
almost exclusively and I find Lift makes this process very smooth.
My advice would be to go for a JSON api - nice and lightweight for
streaming to an iPhone.
Cheers, Tim
On Jul 9, 1:43 am, Raphael erzengelr...@googlemail.com
DFectuoso is correct - I must get around to removing JR from the lift
installers. Sorry about that.
Cheers, Tim
On Jul 9, 4:05 am, DFectuoso santiago1...@gmail.com wrote:
The license of javaRebel packed with lift expired a couple of days
ago, there's already a couple of solutions (you can
You can also use REST + Record Please see here:
http://groups.google.com/group/liftweb/browse_thread/thread/b125f9d4e9ca10c8/5f871b2cf9f7099b?lnk=gstq=REST+%26+Record#5f871b2cf9f7099b
It is a mechanism for automatically building Record objects from REST
query string params. Hence Lift
Good point marius - I know DPP committed to completing record DB
support before 1.1, but any ideas when he is planning to implement it?
Id say thats the next big lift feature.
Cheers, Tim
On Jul 9, 9:27 am, marius d. marius.dan...@gmail.com wrote:
You can also use REST + Record Please see
On Jul 9, 12:14 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Good point marius - I know DPP committed to completing record DB
support before 1.1, but any ideas when he is planning to implement it?
Id say thats the next big lift feature.
Not sure yet but AFAIK he's also thinking to
That would be pretty sweet - although right now I think most people would be
happy with some base level persistence :-)
Record is exciting though - especially looking forward to having a unified
crud model for various backends.
Cheers, Tim
On 09/07/2009 11:12, marius d. marius.dan...@gmail.com
So there is no framework like ActiveRecord in Rails that both builds
the objects and persists them to a DB?
On 9 Jul., 10:27, marius d. marius.dan...@gmail.com wrote:
You can also use REST + Record Please see
here:http://groups.google.com/group/liftweb/browse_thread/thread/b125f9d4e...
What conditions the existent Mapper does not currently satisfy in
terms of builds the objects and persists them to a DB? ... build
Mapper objects from query strings?
Br's,
Marius
On Jul 9, 3:13 pm, Raphael erzengelr...@googlemail.com wrote:
So there is no framework like ActiveRecord in Rails
Hey guys,
Im getting the following trace from my application:
java.lang.InterruptedException
at scala.actors.LinkedQueue.put(Unknown Source)
at scala.actors.FJTaskRunnerGroup.execute(Unknown Source)
at scala.actors.FJTaskScheduler2.execute
(FJTaskScheduler2.scala:156)
You also need to remove the .lic file - until JavaRebel provide a solution,
our hands are a little tied for users who have an existing install. You can
of course remove JavaRebel if you so wish - just delete the JAR, and change
your MAVEN_OPTS.
Thanks
Tim
On 09/07/2009 11:16, Sy
I'm trying to learn about lift using the eclipse plugin but not really
getting far... Currently trying to build a project hangs eclipse which
is obviously something of a shortcoming.
Eclipse 3.4.2
Scala plugin 2.7.5
Maven plugin Q4E (IAM) 0.10
So I create a new lift project externally using
Hey Lifters,
I wanna set the defaultValue for this object:
object status extends MappedLongForeignKey(this, OrderStateMetaObj){
override def defaultValue =
OrderStateMetaObj.find(By(OrderStateMetaObj.name, NEW)) openOr 0L
}
The problem is, that the referenced OrderState object doesn't
On Thu, Jul 9, 2009 at 5:34 AM, Timothy Perrett timo...@getintheloop.euwrote:
Hey guys,
Im getting the following trace from my application:
java.lang.InterruptedException
at scala.actors.LinkedQueue.put(Unknown Source)
at scala.actors.FJTaskRunnerGroup.execute(Unknown
No. The Lift Actor stuff is completely independent of the Scala Actor
stuff.
This I understand of course.
First, it looks like your app is 2.7.4, I'd suggest switching to 2.7.5.
2.7.5 using the java.util.concurrent package for actor scheduling rather
than some random version of the Fork
mvn eclipse:eclipse doesn't seem to like scala. Why don't you initialize
everything from the IAM GUI?
-
Dan Gravelldan.grav...@talk21.com wrote:
I'm trying to learn about lift using the eclipse plugin but not really
getting far... Currently trying to build
On Thu, Jul 9, 2009 at 8:08 AM, Timothy Perrett timo...@getintheloop.euwrote:
No. The Lift Actor stuff is completely independent of the Scala Actor
stuff.
This I understand of course.
First, it looks like your app is 2.7.4, I'd suggest switching to 2.7.5.
2.7.5 using the
Hi Dan,
I don't have an answer to your question, but maybe a suggestion.
Eclipse does not work well with maven/scala/lift, and I really doubt
it will anytime soon. According to exchanges on this list, IntelliJ
IDEA apparently has the best working implementation so far. I've been
using NetBeans
All
I am trying to create an email using a velocity template all wired up
with Apache Camel. The camel stuff aside I can't seem to get velocity
to render Scala lists along the lines of:
#foreach($email in $headers.emailAddresses)
hello $email
#end
where headers is a map and emailAddresses
On Thu, Jul 9, 2009 at 9:27 AM, Kevin Wright
kev.lee.wri...@googlemail.comwrote:
The fabled 2.8 eclipse plugin will be the one to use when it's here, should
be any day now...
This is normally my cue to rant about the state of the Eclipse plugin.
First some background... I've been part of the
On Thu, Jul 9, 2009 at 5:45 PM, David
Pollakfeeder.of.the.be...@gmail.com wrote:
But, until Martin's magic brain has yielded code for us, I would recommend
avoiding Eclipse for Scala and Lift related development.
Unsurprisingly I disagree.
Bug reports and more contributions to documentation
Ellis ellis.whiteh...@gmail.com writes:
Hi Dan,
I don't have an answer to your question, but maybe a suggestion.
Eclipse does not work well with maven/scala/lift, and I really doubt
it will anytime soon.
I don't know about the Maven part, but Eclipse works with Scala
Lift. It's not nearly
Miles Sabin mi...@milessabin.com writes:
On Thu, Jul 9, 2009 at 5:45 PM, David
Pollakfeeder.of.the.be...@gmail.com wrote:
But, until Martin's magic brain has yielded code for us, I would recommend
avoiding Eclipse for Scala and Lift related development.
Unsurprisingly I disagree.
Bug
On Thu, Jul 9, 2009 at 6:14 PM, Jeppe Nejsum Madsenje...@ingolfs.dk wrote:
A major show stopper atm is that Lift, afaik, doesn't work with Scala
2.8 which makes it difficult to actually use the trunk plugin. It is my
(maybe incorrect?) impression that there's not a lot of activity
happening
The code looks OK. Stylistically I would do things a little differently for
getJndiSession:
import net.liftweb.util.{Box,Full,Failure,Helpers}
import Helpers._
private def getJndiSession: Box[Session] = jndiName.flatMap {
jndiSessionName =
tryo(thrown = Log.error(Cannot lookup session from
Folks,
This mailing list is the official support channel for Lift. The IRC channel
is a popular, but unofficial, support channel for Lift.
The following are not ways to get support for Lift (or my positive
attention):
- Personal email unless we know each other (if you have a question about
On Thu, Jul 9, 2009 at 10:14 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Miles Sabin mi...@milessabin.com writes:
On Thu, Jul 9, 2009 at 5:45 PM, David
Pollakfeeder.of.the.be...@gmail.com wrote:
But, until Martin's magic brain has yielded code for us, I would
recommend
avoiding
I think we should sticky this thread.
On Jul 9, 1:28 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Folks,
This mailing list is the official support channel for Lift. The IRC channel
is a popular, but unofficial, support channel for Lift.
The following are not ways to get support
Hi,
Has anyone made a typesafe JSON builder?
Many Javascript libraries provides support for extensive customization,
usually via a JSON object
(eg. http://www.jqplot.com/docs/files/optionsTutorial-txt.html#Options_Tutorial
It would be nice to generate this from Scala which would then give you
Bit of googling and came across some wicket/scala folks having a
similar problem who got around the problem with the following:
implicit def listToJavaList[T](l: Seq[T]) = l.foldLeft(new
java.util.ArrayList[T](l.size)){(al, e) = al.add(e); al}
and magically I can pull out the value now. What
I'm using eclipse for lift. I'm not saying it's perfect but it's very usable.
My understanding is that the important thing is not to use mv eclipse:eclipse.
-
Miles Sabinmi...@milessabin.com wrote:
On Thu, Jul 9, 2009 at 5:45 PM, David
On Wed, Jul 8, 2009 at 7:40 PM, fbettag fr...@bett.ag wrote:
using CDATA makes maven compile break. Altho i've been coding
javascript for quite some time (like 8 years), and i've never seen IE
complaining about double quotes ;)
Please provide an example of the CDATA making Maven break.
Completion works for me, when there are no basic syntax errors in the file
(mismatched bracketd etc.).
Also, I use lift without running maven from the command line. I create the
project with m2eclipse, and I don't recall having to set M2_REPO.
-
Jeppe Nejsum
Naftoli Gugenhem naftoli...@gmail.com writes:
Completion works for me, when there are no basic syntax errors in the file
(mismatched bracketd etc.).
Also, I use lift without running maven from the command line. I create the
project with m2eclipse, and I don't recall having to set M2_REPO.
Yep, removing .lic file works. But now after successful 'mvn
jetty:run', I point my
browser to 'http://localhost:8080/'. Then I get 'Welcome to Jetty 7'
page instead of
'Welcome to your project!' index.html page from helloworld/src/main/
webapp/, ??
My apology for another newbie question, I
On Tue, Jul 7, 2009 at 1:21 PM, glenn gl...@exmbly.com wrote:
The command line I used is:
mvn archetype:generate -U -DarchetypeGroupId=net.liftweb
-DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=1.1-SNAPSHOT
-DremoteRepositories=http://
scala-tools.org/repo-snapshots
On Thu, Jul 9, 2009 at 12:00 PM, DFectuoso santiago1...@gmail.com wrote:
that unless you
are a committer and you have written the code yourself, it doesn't
get into
So maybe it would be a good idea to know how one becomes a committer!
Is it just by new modules? working close to the
Ok... my feelings are that is not so much the scala stuff as the maven
plugin that was borking eclipse. So I took Jeppe's advice, which seems
to be to use maven outside of eclipse. At least it doesn't seem to
hang anymore, which is a significant step forward!
Thanks everyone for their thoughts.
So maybe we can say... either use it only outside or only inside...
On Thu, Jul 9, 2009 at 4:00 PM, Dan Gravell dan.grav...@talk21.com wrote:
Ok... my feelings are that is not so much the scala stuff as the maven
plugin that was borking eclipse. So I took Jeppe's advice, which seems
to be to
Folks,
Commercial Users of Functional Programming Workshop (CUFP) 2009 Functional
Programming As a *Means*, Not an *End* Call for Participation Sponsored by
SIGPLAN http://www.acm.org/sigs/sigplan/
Co-located with ICFP 2009 http://www.cs.nott.ac.uk/%7Egmh/icfp09.html
Whoops. Forgot about this one. I just pushed a fix in scalajpa 1.2-SNAPSHOT
that adds a shutdown method to LocalEMF. Please let me know if that works as
expected or if there are any other issues.
Derek
On Thu, Jul 9, 2009 at 2:05 PM, Ryan Donahue donahu...@gmail.com wrote:
Hi Derek, just
40 matches
Mail list logo