Hi David,
I read your response, but I didn't replied. Sorry. I've to figure out,
what causes my problem. Seems like the CometActor update or something
doesn't work properly, in M6 it did. But I don't really know, yet.
thanks.
On Thu, Nov 12, 2009 at 11:37 AM, Hannes hannes.flo...@gmx.li
Hi all,
Is there a paginate plug in the lift ?
Just like the WillPaginate in the Rails.
Thanks for any suggestion !
Cheers, Neil
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this
I fixed it and it is on review board ...
Heiko
2009/11/13 Heiko Seeberger heiko.seeber...@googlemail.com
OK, I spotted the problem and will work on the issue ...
Heiko
2009/11/13 Heiko Seeberger heiko.seeber...@googlemail.com
maven-bundle-plugin? Well, that's my business, I guess. I will
Heiko Seeberger heiko.seeber...@googlemail.com writes:
I fixed it and it is on review board ...
Does this by any chance also fix
http://github.com/dpp/liftweb/issues#issue/167
They both seem to be related to the maven bundle config
/Jeppe
I cannot see, how the maven-bundle-plugin should affect the creation of the
source jar, but who knows ...
Locally my -SOURCE.jar files are OK. After I get a Ship it we will see how
the Hudson build behaves.
Heiko
2009/11/13 Jeppe Nejsum Madsen je...@ingolfs.dk
Heiko Seeberger
David,
Your call to Service.say is outside the scope of the Lift HTTP request, so
it's not wrapped with the transaction management stuff.
Exactly.
The thing that I want LiftFilter to wrap /messagebroker/*, so I will
get per-HTTP request
automatic transaction management and my code will
Heiko Seeberger heiko.seeber...@googlemail.com writes:
I cannot see, how the maven-bundle-plugin should affect the creation of the
source jar, but who knows ...
My bad..not knowing maven, I assumed the bundle plugin is the one that
creates jars. From a cursory look, I can see it seems to only
Heiko Seeberger heiko.seeber...@googlemail.com writes:
I cannot see, how the maven-bundle-plugin should affect the creation of
the
source jar, but who knows ...
My bad..not knowing maven, I assumed the bundle plugin is the one that
creates jars. From a cursory look, I can see it seems
Hi,
I seem to have a problem with SessionVars which I try to initialize in
a LocRewrite.
This is an entry point url to the app. It receives some parameters from
the url, picks out the parameters and puts them in SessionVars and
rewrites the request.
I have problems setting the SessionVar when
The correct command line:
git clone git://github.com/dpp/liftweb.git
On Thu, Nov 12, 2009 at 9:44 PM, ivan ivan.se...@gmail.com wrote:
I am trying to clone git lift repo and keep getting this error:
git clone http://github.com/dpp/liftweb.git
Initialized empty Git repository in
Open a ticket, as this should be configurable. In case you didn't find it,
the ** is taken from the MappedPassword object, field blankPw. This
should be a var and there should probably be a per-MappedPassword field
override as well.
Derek
On Sun, Nov 8, 2009 at 6:48 AM, george
That's really odd. As far as I know the only thing JPA related that might
have changed is for the JPA Demo site (pom Hibernate version change). The
transaction handling code is all in ScalaJPA, which also hasn't changed.
JndiEMF explicitly opens a transaction before it even retrieves the EM from
On Fri, Nov 13, 2009 at 3:08 AM, oshyshko oshys...@gmail.com wrote:
David,
Your call to Service.say is outside the scope of the Lift HTTP request,
so
it's not wrapped with the transaction management stuff.
Exactly.
The thing that I want LiftFilter to wrap /messagebroker/*, so I will
On Fri, Nov 13, 2009 at 5:21 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Hi,
I seem to have a problem with SessionVars which I try to initialize in
a LocRewrite.
This is an entry point url to the app. It receives some parameters from
the url, picks out the parameters and puts them in
I don't know how others feel, but I would like all bugs, even for unit
tests, to go through issue tracking and review board. Mostly this is so that
we have good documentation of what is happening to the codebase and why.
Derek
On Sat, Nov 7, 2009 at 11:45 AM, Joni Freeman
David Pollak feeder.of.the.be...@gmail.com writes:
[...]
Yes. The rewrite phase takes place very early in the HTTP request/response
cycle. It takes place before the statelessDispatch call. The
statelessDispatch call is very important for REST style APIs as it does
*not* cause the
Hi Lift Community,
I'm pretty new to the Scala/Lift world. My idea is to port a web
application written by me in PHP to Scala/Lift. Unfortunately, the PHP
version also has some functions which are used by some cronjob, i.e.
from the command line.
So my first question is: Is there any
MetaMapper.findAllFields may work for what you're doing, but with the
DAYOFWEEK conversion you may just have to go directly against the DB.
Derek
On Sun, Nov 8, 2009 at 11:44 PM, Neil.Lv anim...@gmail.com wrote:
Hi all,
There is some example code:
###
SELECT id, name, sex, created_at,
You should be able to specify the redirect, so this may be a bug. Where are
you setting the loginRedirect? It gets reset to the referred page when a
login is required, so you'll have to set it after that point.
Derek
On Mon, Nov 9, 2009 at 3:12 AM, opyate opy...@gmail.com wrote:
Hello guys,
The code in 1.1-SNAPSHOT already uses sequences for Oracle. Here's the
relevant code:
override def primaryKeySetup(tableName : String, columnName : String) :
List[String] = {
/*
* This trigger and sequence setup is taken from
http://www.databaseanswers.org/sql_scripts/ora_sequence.htm
Josh, ScalaJPA has the following distribution setup:
distributionManagement
repository
idscala-tools.org/id
urlhttp://nexus.scala-tools.org/content/repositories/releases/url
/repository
snapshotRepository
idscala-tools.org/id
Sorry if I'm the only one who didn't realize this before, but if you include
the text Closes #xxx in your Git commit message, Git will automatically
close the xxx ticket using your commit message.
--~--~-~--~~~---~--~~
You received this message because you are
Actually, I thought that Dumbster was more sophisticated than it is. I think
that your approach is fine for verifying that the message is created
properly.
On Thu, Nov 12, 2009 at 2:37 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
What's the advantage/purpose over they method I chose?
On
Could you send over your pom.xml if you're using Maven? It sounds like
maybe your build path is not correct.
-Ross
On Nov 13, 2009, at 12:09 AM, Jack Widman wrote:
David,
I'm using lift 1.1 and scala 2.5 now and the compiler says it cant
find CometListener when I import
On Fri, Nov 13, 2009 at 8:07 AM, Derek Chen-Becker dchenbec...@gmail.comwrote:
Sorry if I'm the only one who didn't realize this before, but if you
include the text Closes #xxx in your Git commit message, Git will
automatically close the xxx ticket using your commit message.
Yes... it's very
another question: is there any way (or need) to stop the Jetty server?
Usually running my tests Jetty starts up in about a second or two, but
once in a while it will take 10s or more, could this have to do with a
previous instance hanging around or not been shut down properly?
On Nov 11, 12:05
On Fri, Nov 13, 2009 at 8:30 AM, Alex Black a...@alexblack.ca wrote:
another question: is there any way (or need) to stop the Jetty server?
No.
Usually running my tests Jetty starts up in about a second or two, but
once in a while it will take 10s or more, could this have to do with a
Ah. I hadn't realized that part :(
On Fri, Nov 13, 2009 at 9:28 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Fri, Nov 13, 2009 at 8:07 AM, Derek Chen-Becker
dchenbec...@gmail.comwrote:
Sorry if I'm the only one who didn't realize this before, but if you
include the text
Hello David,
May be there can be a compromise solution.
A custom filter that has only these duties:
- to open LiftMapper-compatible transaction on HTTP-request (it will
be accessible from DB entities like User)
- call chain
- when all chain was processed
+ commit the transaction
+ in case
sure. Thanks Ross. I will send it tonight. Also what is the difference
between the CometListener and the CometListenee?
On Fri, Nov 13, 2009 at 11:14 AM, Ross Mellgren dri...@gmail.com wrote:
Could you send over your pom.xml if you're using Maven? It sounds like
maybe your build path is not
When running Lift-1.0.2 and Scala-2.7.5 I am able to compile and run
my code through maven. However, I am concerned about my inability to
run the mvn clean package command successfully without first running
the clean command in eclipse. I am afraid that this extra eclipse
step may be
On Thu, Nov 12, 2009 at 5:57 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Kris,
There was a bunch of changes in the net.liftweb.mapper.DB code for
transaction management, but I don't think that would impact JPA.
Also, in M7, there were changes in how RequestVars are handled during
Is there a some simple code ~?
Thanks very much!
Cheers,
Neil
On Nov 13, 10:50 pm, Derek Chen-Becker dchenbec...@gmail.com wrote:
MetaMapper.findAllFields may work for what you're doing, but with the
DAYOFWEEK conversion you may just have to go directly against the DB.
Derek
On
If you mean raw sql:
DB.runQuery(SELECT * FROM abc)
Cheers, Tim
On 13 Nov 2009, at 17:35, Neil.Lv wrote:
Is there a some simple code ~?
Thanks very much!
Cheers,
Neil
On Nov 13, 10:50 pm, Derek Chen-Becker dchenbec...@gmail.com wrote:
MetaMapper.findAllFields may work for
Looking at 81f1715f671e8b5ee4f6d3ce242cc9da272611d1, maybe the RequestVar
needs to be changed to an UnboundRequestVar. It's not clear from the
scaladocs on UnboundRequestVar, though, that this is the intent. It looks
like those scaladocs were just copied and pasted from RequestVar. If this
sounds
Hmmm is this now TransientRequestVar? It's private[http], but
could it be protected instead?
Kris
On Fri, Nov 13, 2009 at 11:22 AM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
Let me just try it out since I've got a test case, and if need be I'll
file the ticket commit.
Kris
On
Let me just try it out since I've got a test case, and if need be I'll
file the ticket commit.
Kris
On Fri, Nov 13, 2009 at 10:45 AM, Derek Chen-Becker
dchenbec...@gmail.com wrote:
Looking at 81f1715f671e8b5ee4f6d3ce242cc9da272611d1, maybe the RequestVar
needs to be changed to an
The site portion has not changed yet. I'm working on that ;)
- Josh
On Fri, Nov 13, 2009 at 11:04 AM, Derek Chen-Becker
dchenbec...@gmail.comwrote:
Josh, ScalaJPA has the following distribution setup:
distributionManagement
repository
idscala-tools.org/id
What is the order that the following three things happen in?
1)localSetup
2)the first time render is called
3)a piece of code in the CometActor that is not inside any method.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Looks like it. Probably private[liftweb] would work, too. In any case, the
scaladocs need to be updated to reflect what it's for.
On Fri, Nov 13, 2009 at 12:26 PM, Kris Nuttycombe kris.nuttyco...@gmail.com
wrote:
Hmmm is this now TransientRequestVar? It's private[http], but
could it be
On Fri, Nov 13, 2009 at 11:46 AM, Derek Chen-Becker
dchenbec...@gmail.com wrote:
Looks like it. Probably private[liftweb] would work, too. In any case, the
scaladocs need to be updated to reflect what it's for.
On Fri, Nov 13, 2009 at 12:26 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com
Hi,
Do you think it would worth having a better support for setting HTTP
headers for Ajax requests ? I mean some REST API's may use some meta
information in the HTTP headers and it migh be handy to set this up
from lift code when using Ajax calls.
Thoughts?
Br's,
Marius
On Fri, Nov 13, 2009 at 12:12 PM, Kris Nuttycombe kris.nuttyco...@gmail.com
wrote:
On Fri, Nov 13, 2009 at 11:46 AM, Derek Chen-Becker
dchenbec...@gmail.com wrote:
Looks like it. Probably private[liftweb] would work, too. In any case,
the
scaladocs need to be updated to reflect what it's
On Fri, Nov 13, 2009 at 3:42 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Fri, Nov 13, 2009 at 12:12 PM, Kris Nuttycombe
kris.nuttyco...@gmail.com wrote:
On Fri, Nov 13, 2009 at 11:46 AM, Derek Chen-Becker
dchenbec...@gmail.com wrote:
Looks like it. Probably private[liftweb]
On Fri, Nov 13, 2009 at 1:37 PM, Marius marius.dan...@gmail.com wrote:
Hi,
Do you think it would worth having a better support for setting HTTP
headers for Ajax requests ? I mean some REST API's may use some meta
information in the HTTP headers and it migh be handy to set this up
from lift
On Fri, Nov 13, 2009 at 9:15 AM, DavidV david.v.villa...@gmail.com wrote:
When running Lift-1.0.2 and Scala-2.7.5 I am able to compile and run
my code through maven. However, I am concerned about my inability to
run the mvn clean package command successfully without first running
the clean
On Thu, Nov 12, 2009 at 9:08 PM, Jim McBeath goo...@j.jimmc.org wrote:
Assuming I prune it down to an example that requires only a few
files, which would probably include an SQL script for creating a test
database that has the appropriate schema in it, is there a procedure
for submitting
Hi Tim,
Let's do that. See you next week.
Bill
On Wed, Nov 11, 2009 at 3:33 PM, Timothy Perrett
timo...@getintheloop.eu wrote:
Bill, can I propose you and I get together at devoxx and discuss the
options?
I belive my talk is not long after yours!
Cheers, Tim
Sent from my iPhone
On
Ah, nice, just checking if you knew about it as an option.
On Nov 13, 8:08 am, Jack Widman jack.wid...@gmail.com wrote:
I did and its actually in the code I attached. In one place I use Dispatch
and in another place I use httpclient directly. I intend to use Dispatch for
everything.
On
Julian,
The short answer to your question is to create separate projects that depend
on one another.
So, you can put all your business logic in a module and package it up as a
JAR file (this is the basic unit of packaging for JVM-based applications).
Then you can build a a web based application
On Sun, Nov 8, 2009 at 5:48 AM, george geo...@mattandgeorge.com wrote:
I'm using MegaProtoUser which has a MappedPassword field.
When the sign up form is displayed, the password field is pre-
populated to '***' which is proving very confusing for some users.
The reason for the design
On Fri, Nov 13, 2009 at 6:46 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
David Pollak feeder.of.the.be...@gmail.com writes:
[...]
Yes. The rewrite phase takes place very early in the HTTP
request/response
cycle. It takes place before the statelessDispatch call. The
FWIW regarding naming, since the change I've started to mentally
rename RequestVar to PageVar. I don't think it's reasonable to
rename the actual class, since everybody uses it, but I found it was a
helpful mnemonic to remember what scope it has.
-Ross
On Nov 13, 2009, at 6:00 PM, Kris
Here is my pom.xml
On Fri, Nov 13, 2009 at 12:09 PM, Jack Widman jack.wid...@gmail.com wrote:
sure. Thanks Ross. I will send it tonight. Also what is the difference
between the CometListener and the CometListenee?
On Fri, Nov 13, 2009 at 11:14 AM, Ross Mellgren dri...@gmail.com wrote:
I have a some code in a CometActor that I want to run right after
render is called for the first time. What is the best way to do this?
I could set a boolean variable in the render method and then send a
message back to the CometActor to tell it to run the code. I suspect
there is a better way?
Your pom specifies lift 1.0, not 1.1 for the majority of lift modules.
You are using 1.1-M6 for lift-textile. In addition, you don't have the
snapshots repository configured.
To fix this, first add the snapshot repository to repositories:
repository
idscala-tools.org.snapshots/id
Thanks Ross.
On Fri, Nov 13, 2009 at 11:55 PM, Ross Mellgren dri...@gmail.com wrote:
Your pom specifies lift 1.0, not 1.1 for the majority of lift modules. You
are using 1.1-M6 for lift-textile. In addition, you don't have the snapshots
repository configured.
To fix this, first add the
Ok, Thanks for all your suggestion!
I'll try it again,
:)
Cheers,
Neil
On Nov 14, 2:52 am, harryh har...@gmail.com wrote:
You'll be better off if you don't do it that way. Compute the day of
week from created_at in your scala code (personally I prefer joda time
for this sort of
Hi all,
How to save the uploaded image into the folder via fileUpload in
Lift?
I don't want to save it in the database, the example code in the
Pocketchangeapp
###
val receiptOk = fileHolder match {
case Full(FileParamHolder(_, null, _, _)) = true
case
59 matches
Mail list logo