How do I compile the lift snapshot from the git repository?
Is there a maven config or wiki entry?
On Aug 31, 7:18 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
There are known issues with Lift 1.0 and GAE.
My understanding is that Lift 1.1-SNAPSHOT will work/may work on GAE.
On
Hello!
I modified those two lines of code this morning :
local - SHtml.selectObj(teamOptions, Empty, (team:Team) =
{localTeam = team; println(localTeam: + team)}),
visitor - SHtml.selectObj(teamOptions, Empty, (team:Team) =
{visitorTeam = team; println(visitorTeam: + team)}),
I obtained the
Hi all.
I have some text I read in from an uploaded file using
scala.io.Source. I then have something like
div
{(str.split(\n).map(x = div{x}/div))}
/div
with str some portion of text from the input file containing HTML
formatting tags like i or b.
Now, characters like are being escaped to
div
{(str.split(\n).map(x = div{x}/div))}
/div
{x} is an expression that returns a String. Assuming that x is a well-
formed XML node you could try something like:
div
{(str.split(\n).map(x = div{XML.loadString(x)}/div))}
/div
Br's,
Marius
On Sep 1, 7:24 am, KP
After updating I have this error:
=
[INFO] use java command with args in file forced : false
/home/dorin/work/todo/src/main/scala/bootstrap/liftweb/Boot.scala:42:
error: type mismatch;
found : (javax.servlet.http.HttpServletRequest) = Unit
required:
Additionally, you need to adjust the Boot.scala
1. Add: import _root_.net.liftweb.http.provider._
2. Remove: all of import _root_.javax.servlet.http._
3 Change the req argument type in makeUtf8 to HTTPRequest instead of
HttpServletRequest so that the signature looks thus:
private def
Hi,
I'm writing a wizard to be used for data import into our app. The data
files are not huge, but large enough (1-5mb) that I shouldn't hold on to
them longer than necessary :-)
Basically the wizard has a few steps:
1) Select the file
2) Show results of parsing the file, errors, warnings etc
Tried it - works great for me. Thanks.
Richard
On Thu, Aug 27, 2009 at 4:31 PM, David
Pollakfeeder.of.the.be...@gmail.com wrote:
On Thu, Aug 27, 2009 at 7:07 AM, Richard Dallaway dalla...@gmail.com
wrote:
As Props.userName is public, it would be good if it didn't include a
trailing . in the
It's on the github wiki:
http://wiki.github.com/dpp/liftweb
Cheers, Tim
Sent from my iPhone
On 1 Sep 2009, at 07:23, Andreas andreas.heissenber...@gmail.com
wrote:
How do I compile the lift snapshot from the git repository?
Is there a maven config or wiki entry?
On Aug 31, 7:18 pm,
Thank you, I was able to run 1.1 SNAPSHOT and it fixed the Ajax bug.
Indrajit Raychaudhuri wrote:
Additionally, you need to adjust the Boot.scala
1. Add: import _root_.net.liftweb.http.provider._
2. Remove: all of import _root_.javax.servlet.http._
3 Change the req argument type in
David,
I'm still investigating options, but I wanted to restate my main issue
simply. It is the requirement snippets have on global data; that is it.
The way they receive data from and expose data to templates is really
nice. However, without the use of global objects (including lift
How does an Actor stop itself from running. That is to say, stop its act
method as soon as possible?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to
On Mon, Aug 31, 2009 at 11:35 PM, xabi xavier.ta...@gmail.com wrote:
Hello!
I modified those two lines of code this morning :
local - SHtml.selectObj(teamOptions, Empty, (team:Team) =
{localTeam = team; println(localTeam: + team)}),
visitor - SHtml.selectObj(teamOptions, Empty,
Okay... you've pushed me over the edge... I'll roll out the first bit of
Wizard today... ;-)
On Tue, Sep 1, 2009 at 3:15 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Hi,
I'm writing a wizard to be used for data import into our app. The data
files are not huge, but large enough (1-5mb)
Folks,
I read this blog post this morning:
http://blog.asmartbear.com/blog/youre-a-little-company-now-act-like-one.html
While this list is mainly for discussing Lift, I thought I'd share the
link. It's great advice, IMHO, for small startups.
Enjoy.
Thanks,
David
--
Lift, the simply
Call self.exit(message)
Br's,
Marius
On Sep 1, 6:27 pm, Jack Widman jack.wid...@gmail.com wrote:
How does an Actor stop itself from running. That is to say, stop its act
method as soon as possible?
--~--~-~--~~~---~--~~
You received this message because you are
On Aug 31, 10:45 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Aug 31, 2009 at 3:06 PM, Michel Klijn michel.kl...@gmail.comwrote:
On Aug 31, 5:39 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Aug 31, 2009 at 2:32 PM, Michel Klijn
SWT! Can you post when its pushed? Im getting on the road
shortly and want to do a pull before I go offline for a few days
Cheers, Tim
On 1 Sep 2009, at 16:30, David Pollak wrote:
Okay... you've pushed me over the edge... I'll roll out the first
bit of Wizard today... ;-)
On
Very nice article !
On Sep 1, 6:38 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Folks,
I read this blog post this
morning:http://blog.asmartbear.com/blog/youre-a-little-company-now-act-like-o...
While this list is mainly for discussing Lift, I thought I'd share the
link. It's
It seems that MappedField._toForm method changed recently in 1.1-
Snapshot to return Box[scala.xml.Elem] instead of a Box[NodeSeq].
I'm getting a type mismatch error in my code when it was working
before.
override def _toForm = super._toForm.map(_.flatMap(addElemClass
(_,style,height: 65px;
The problem was that JBoss was not returning the correct modified date for
the JAR/WAR-based resource. I've worked around the issue:
http://github.com/dpp/liftweb/commit/ea1fda384deb095c6d2eb247f71cb51ba473499c
http://github.com/dpp/liftweb/commit/ea1fda384deb095c6d2eb247f71cb51ba473499cThe
Oops, looks like my error. I didn't see any change in the source.
On Sep 1, 9:43 am, glenn gl...@exmbly.com wrote:
It seems that MappedField._toForm method changed recently in 1.1-
Snapshot to return Box[scala.xml.Elem] instead of a Box[NodeSeq].
I'm getting a type mismatch error in my
I've found my stupid error in my template where i had repeated
m:local / two times. Sorry for this stupid topic.
By the way, I'm really enjoying learning Lift and Scala.
Thank you!
On 1 sep, 17:31, David Pollak feeder.of.the.be...@gmail.com wrote:
On Mon, Aug 31, 2009 at 11:35 PM, xabi
A possble enhancement to the basic archetype: DBVendor.createOne makes use of
Props.get to try to determine the database connection. Maybe it would be
valuable to include a sample properties file?
--~--~-~--~~~---~--~~
You received this message because you are
Here are a couple of good posts on seting up CRUDify, I thought
initiates like myself might benefit.
http://neuralmonkey.blogspot.com/search/label/lift
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift
On Tue, Sep 1, 2009 at 9:43 AM, glenn gl...@exmbly.com wrote:
It seems that MappedField._toForm method changed recently in 1.1-
Snapshot to return Box[scala.xml.Elem] instead of a Box[NodeSeq].
I'm getting a type mismatch error in my code when it was working
before.
override def _toForm =
David,
So, it looks like I no longer need my helper function addElemClass.
Cool.
Glenn...
On Sep 1, 10:30 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Tue, Sep 1, 2009 at 9:43 AM, glenn gl...@exmbly.com wrote:
It seems that MappedField._toForm method changed recently in 1.1-
On Tue, Sep 1, 2009 at 10:05 AM, xabi xavier.ta...@gmail.com wrote:
I've found my stupid error in my template where i had repeated
m:local / two times. Sorry for this stupid topic.
I've only done that 50 million times...
By the way, I'm really enjoying learning Lift and Scala.
Thanks
Now, I'm not sure what is going on?
The latest source for BaseMappedField
has
def _toForm: Box[NodeSeq]
But MappedTextarea overrides this as:
def _toForm: Box[Elem].
How can that be?
On Sep 1, 10:10 am, glenn gl...@exmbly.com wrote:
Oops, looks like my error. I didn't see any change in
Elem actually inherits from NodeSeq, so this is covariant return type,
probably.
-Ross
On Sep 1, 2009, at 1:26 PM, glenn wrote:
Now, I'm not sure what is going on?
The latest source for BaseMappedField
has
def _toForm: Box[NodeSeq]
But MappedTextarea overrides this as:
def
On Tue, Sep 1, 2009 at 5:56 AM, Chris Lewis burningodzi...@gmail.comwrote:
David,
I'm still investigating options, but I wanted to restate my main issue
simply. It is the requirement snippets have on global data; that is it.
The way they receive data from and expose data to templates is
David,
Actually, I kind of like the ability to fix MappedField styles in the
object itself
for some situations, rather than add them in for each view, so I
changed
my util function to:
def addElemClass(in: Node, name:String, value:String): Box[Elem] = in
match {
case e: Elem = Full(e %
On Tue, Sep 1, 2009 at 10:52 AM, glenn gl...@exmbly.com wrote:
David,
Actually, I kind of like the ability to fix MappedField styles in the
object itself
for some situations, rather than add them in for each view, so I
changed
my util function to:
def addElemClass(in: Node, name:String,
On Tue, Sep 1, 2009 at 1:46 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
David Pollak feeder.of.the.be...@gmail.com writes:
Chris,
I agree with Marius' comments. By using Scala's functions and partial
functions, I have not found any need for Dependency Injection or many of
the
I am trying to map a MappedDouble object to a postgres database and I
get the following error:
Exception in thread main org.postgresql.util.PSQLException: ERROR:
type double does not exist
I am looking through the Schemifier to try and figure out where the
database type is assigned and how to
David Pollak feeder.of.the.be...@gmail.com writes:
Okay... you've pushed me over the edge... I'll roll out the first bit of
Wizard today... ;-)
Nice! Let me know if you need someone to test it out :-)
/Jeppe
--~--~-~--~~~---~--~~
You received this message
I found an old post that addresses this problem. I am still using
Lift-1.0, so I'll update and that should fix the problem.
-David
On Sep 1, 5:11 pm, DavidV david.v.villa...@gmail.com wrote:
I am trying to map a MappedDouble object to a postgres database and I
get the following error:
Not to discourage you from updating :) but I think there is a bugfix update to
1.0.
-
DavidVdavid.v.villa...@gmail.com wrote:
I found an old post that addresses this problem. I am still using
Lift-1.0, so I'll update and that should fix the problem.
-David
Thanks for taking a look at this issue. If the solution is as simple
as clearing/removing a cookie, that's great news. I'll give it a try
and let you know how it worked. Thanks again!
- Mark
On Aug 26, 2:57 am, Atsuhiko Yamanaka atsuhiko.yaman...@gmail.com
wrote:
Hi,
On Mon, Aug 17, 2009 at
I wrote code in MappedOneToMany that calls primeObj on each child's foreign
key. Do you think that makes sense?
Yes, this makes sense.
-harryh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post
There's 1.0.1-SNAPSHOT, and tomorrow I'll be rolling out 1.0.1 (final). Both
of these have the fix.
On Tue, Sep 1, 2009 at 3:45 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Not to discourage you from updating :) but I think there is a bugfix update
to 1.0.
Ah, this is exactly what I'm looking for. Thank you both!
-KP
On Sep 1, 10:20 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
If you have a String that you know is valid XHTML but don't want to go
through the parsing/unparsing phase:
import scala.xml._
val s: String =
Hello,
I've recently discovered how to add syntax highlighting to the wiki
(http://wiki.github.com/dpp/liftweb).
First, you simply added this to the top of the article:
link
href='http://scala-tools.org/scaladocs/liftweb/1.0/_highlighter/SyntaxHighlighter.css'
rel='stylesheet' type='text/css'/
thanks for your share
-
mawei...@gmail.com
13585201588
http://maweis.com
On Wed, Sep 2, 2009 at 8:10 AM, Xavi Ramirezxavi@gmail.com wrote:
Hello,
I've recently discovered how to add syntax highlighting to the wiki
Ok, I had never looked at the source for S or LiftRules, but just poked
around in S and some dots connected. Assign different functions to the S
var members and you change functionality. Cool! Different than what my
mind defaults to, but so simple.
(You can see I have some baggage, and I am
At work we're implementing a multi-module server using lots of Java
and some new Scala components with and without Lift. To manage the
service swapability using the JBoss container by deploying SARs and
WARs.
I'm not sure what kind of design you're going for, but I figured I'd
throw in
I was able to confirm that clearing the cookie gets rid of the
ClassNotFoundException.
I have a hypothesis as to what happened: It appears that sometime
after the M4 milestone, the SessionToServletBridge moved from the
net.liftweb.http package to net.liftweb.http.provider.servlet. So, the
M4
I was able to confirm that clearing the cookie gets rid of the
ClassNotFoundException.
I have a hypothesis as to what happened: It appears that sometime
after the M4 milestone, the SessionToServletBridge moved from the
net.liftweb.http package to net.liftweb.http.provider.servlet. So, the
M4
48 matches
Mail list logo