Thanks that appears to have most of the build working, it now fails with the
below error. However I can build the module I need to, so if there is no
immediate answer don't worry.
Thanks again for you help.
Cheers
Jono
[INFO] [INFO]
Great! Next up move to Maven 2.2.1.
Cheers, Indrajit
On 28/01/10 2:15 PM, Jonathan Ferguson wrote:
Thanks that appears to have most of the build working, it now fails with
the below error. However I can build the module I need to, so if there
is no immediate answer don't worry.
Thanks again
Hi,
I want to upload files in AJAX, is there a way to set the
multipart=true?
I checked the html code generated by the ajaxForm:
form id=F347910659087FDI
action=javascript://
onsubmit=liftAjax.lift_ajaxHandler(jQuery
('#'+quot;F347910659087FDIquot;).serialize(), null, null,
I don't think it's possible to do files upload via Ajax. There are
workarounds but not directly with Ajax. If it would be possible Lift
would have expose it already. Please look into widgets project on the
upload widget. It does a fiel upload ajax-like including progress bar.
Br's,
Marius
On Jan
Thats it !
Cheers
Jono
2010/1/28 Indrajit Raychaudhuri indraj...@gmail.com
Great! Next up move to Maven 2.2.1.
Cheers, Indrajit
On 28/01/10 2:15 PM, Jonathan Ferguson wrote:
Thanks that appears to have most of the build working, it now fails with
the below error. However I can build
aw anth...@whitford.com writes:
Would it make sense to have the ConnectionIdentifier play a role?
(Including DefaultConnectionIdentifier.)
Because, for me, the decision to use snake_case or camelCase depends
on the capabilities of the database. If I have an application with
multiple
David Pollak feeder.of.the.be...@gmail.com writes:
but I'm running into a problem with the test cases. Since the names of
the Mapped objects are fixed once determined, it's hard to reuse the
different models in MapperSpecs for the different naming conventions.
I was thinking about adding
aw anth...@whitford.com writes:
One thing that bugs me is how all the logging comes from one logger:
lift [Slf4jLogger.scala:110]
As a result, you don't have the granularity to adjust just
org.liftweb.http or org.liftweb.mapper, for example.
Indeed. That is one of the things I would try to
+1
On Jan 27, 11:59 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Hi,
I was thinking about some improvements to Lift's logging code:
1) Make the slf4j logging configurable in the same way as log4j (ie with
dev, prod logback files)
2) Add support for MDC to Lift's logging interface (and
Also another logging-related problem that I sometimes have is that if an ajax
call throws an exception, nothing is shown in the container logs. I can only
see the stacktrace when I open up the ajax call's response in firebug. This
sometimes takes time to figure out as at first it seems that
Naftoli Gugenheim naftoli...@gmail.com writes:
MetaMapper has a findAll method, which creates a statement based on its
parameters, and then iterates over the ResultSet creating Mappers and
putting them into a List.
It would be neat if it was possible to process the generated Mappers one by
Strom strommo...@gmail.com writes:
Where exactly is the code? I don't see anything about image resizing
here.
Try here
http://github.com/dpp/liftweb/tree/master/framework/lift-modules/lift-imaging/
/Jeppe
--
You received this message because you are subscribed to the Google Groups
Lift
Hello,
I just found something very strange. I have my own loc, which extends Loc[Unit].
If the default value is empty (def defaultValue = Empty), then the loc won't be
shown in the menu (I don't have any LocParams). If the default value is
Full(()), then it is shown.
I have other locs with
def findMap[T](by: QueryParam[A]*)(f: A = Box[T])
Your function, f, will be called as each row is pulled back from the
database. If your function returns Empty, the row will not be included in
the final result. You can also do fun stuff like:
MyModel.findMap(){
row - row.name.is match {
This sounds like behavior introduced when Kris changed the default Loc type
parameter... I wonder if Kris has any thoughts.
On Thu, Jan 28, 2010 at 4:06 AM, Adam Warski a...@warski.org wrote:
Hello,
I just found something very strange. I have my own loc, which extends
Loc[Unit].
If the
On Wed, Jan 27, 2010 at 10:15 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Could some people take LiftTicket for a spin and comment? To clarify, it's
already pretty functional.
Here are some things not yet working or partially working, according to
Derek:
- File attachments
-
On 28 January 2010 15:06, David Pollak feeder.of.the.be...@gmail.comwrote:
I can host an instance. The big issue as I see it is have a reliable
maintainer. In order to use LiftTicket, we need someone who is around most
of the time (46+ weeks a year), can fix bugs in a few days, has a solid
Hi,all:
I am newbie for lift web framework and I hope * there are some open source
web apps based on lift to practice or refer ,so is there any open source
projects based on lift ? maybe,the offical site lists them !!!*
--
Boern Parx
--
You received this message because you are subscribed to
Hello,
I am a newbie in OSGi and lift and trying to get up to speed.
I was trying to work through the example by Heiko, where he put lift
on OSGi using Pax-Runner. I discovered it in the mailing list.
However I am not sure how to get the example app sites/examples-osgi/
hello
I would
Yeah - you can't do file submit via ajax. The browsers don't support it.
James
On Thu, Jan 28, 2010 at 2:17 AM, Marius marius.dan...@gmail.com wrote:
I don't think it's possible to do files upload via Ajax. There are
workarounds but not directly with Ajax. If it would be possible Lift
http://github.com/dpp/liftweb/tree/master/examples/examples-osgi/hello/
On Jan 28, 10:53 am, Murtaza Rampurawala murtaz...@gmail.com wrote:
Hello,
I am a newbie in OSGi and lift and trying to get up to speed.
I was trying to work through the example by Heiko, where he put lift
on OSGi using
Boern cayso...@gmail.com writes:
Hi,all:
I am newbie for lift web framework and I hope * there are some open source
web apps based on lift to practice or refer ,so is there any open source
projects based on lift ? maybe,the offical site lists them !!!*
ESME http://incubator.apache.org/esme/
And there's a simpler example mentioned here,
http://www.mail-archive.com/liftweb@googlegroups.com/msg15536.html
alex
On Thu, Jan 28, 2010 at 7:55 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Boern cayso...@gmail.com writes:
Hi,all:
I am newbie for lift web framework and I hope * there
You might also want to look at http://swfupload.org/
On Jan 28, 2010, at 10:51 AM, James Harman wrote:
Yeah - you can't do file submit via ajax. The browsers don't support it.
James
On Thu, Jan 28, 2010 at 2:17 AM, Marius marius.dan...@gmail.com wrote:
I don't think it's possible to
What do you mean these functions are called only on submit? Is that
when the POST goes through and the page is rendered again?
On Jan 27, 1:57 am, Adam Warski a...@warski.org wrote:
Hello,
What's the purpose of RequestVars and StatefulSnippet? I thought the
values were retained anyway
Thanks for pointing out the location. ImageHelpers is a good idea. As
far as want to see, is there any way to effectively group this helper
with Image serving and uploading and make them have some sort of
caching? That would be really useful to be able to have a decently
working image cache with
In request 1, the page is rendered the first time and registers form functions.
In request 2--the result of submitting--they are executed, and later the form
is rendered again.
When the functions are executed, they can capture references from request 1. If
they reference a field or local
By caching, I assume that you mean persistent storage? You could store onto
the file system after resizing.
I was snooping around Ross's github projects and noticed this example for
serving images back from the filesystem:
Hello,
Admitted Scala and Lift newbie here. I've been searching and reading
(Lift book and this newsgroup about 10 times day :-) about how to do
this for over a month and have yet to find an answer (or at least one
that I recognized :-) This list seems very friendly to us newbies, so
here goes.
On Thu, Jan 28, 2010 at 3:09 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
David Pollak feeder.of.the.be...@gmail.com writes:
but I'm running into a problem with the test cases. Since the names of
the Mapped objects are fixed once determined, it's hard to reuse the
different models in
On Thu, Jan 28, 2010 at 11:45 AM, Rogelio rogbo...@gmail.com wrote:
Hello,
Admitted Scala and Lift newbie here. I've been searching and reading
(Lift book and this newsgroup about 10 times day :-) about how to do
this for over a month and have yet to find an answer (or at least one
that I
By caching I mean like EHCache, where you serve an image from the
cache (some folder on the file system) instead of retrieving the blob
from the db to reduce db fetching. So I guess it would be stored in
the file system :)
I might just be tempted to implement EHCache anyways, but I'll take a
Thanks for the quick reply. I think it points me in the right (ie.
different than what
I was thinking) direction. I don't have an authentication server
(yet), so my apps would
all be under Glassfish or Jetty on the same server. So I'm off to
read about JSESSIONID
with these containers now.
Rog
Hi,
Looking at the loggers, I see
var loggerByClass: Class[AnyRef] = LiftLogger
How can you get a Class[AnyRef]?
Using loggerByClass(classOf[C]) yields:
console:7: error: type mismatch;
found : java.lang.Class[C]
required: Class[AnyRef]
Should this signature be Class[_] = LiftLogger
On Thu, Jan 28, 2010 at 1:11 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Hi,
Looking at the loggers, I see
var loggerByClass: Class[AnyRef] = LiftLogger
How can you get a Class[AnyRef]?
Using loggerByClass(classOf[C]) yields:
console:7: error: type mismatch;
found :
Last logging question, I promise!
I'm about to implement MDC in Lift's logging, but it seems more and more
layers are introduced.
So before adding another adapter on top of e.g. Slf4j which is already
an adapter on top of e.g. logback I thought I would see if there are any
objections to making
No more APIs on top of APIs!
slf4j is very OSGi friendly, by the way.
If side effects are minimal, I vote for it.
Heiko
On Thursday, January 28, 2010, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Last logging question, I promise!
I'm about to implement MDC in Lift's logging, but it seems more
On Thu, Jan 28, 2010 at 2:11 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
Last logging question, I promise!
I'm about to implement MDC in Lift's logging, but it seems more and more
layers are introduced.
So before adding another adapter on top of e.g. Slf4j which is already
an adapter on
When trying to use datepicker on a form, I found a post (by Derek Chen-Becker)
from august which says:
OK, the key there is the entrydate id. If you look at
src/main/webapp/index.html, you'll see the markup in the Add Entry form:
tde:dateOf e:id=entrydate e:maxlength=10//td
That
Dear David,
Did the jars get pushed up to the Scala-tools.org Maven repository?
Best wishes,
--greg
On Wed, Jan 27, 2010 at 1:01 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
Lift is currently building against Scala 2.8 Beta1 and currently runs the
examples/example app
Neat. So it's a flatMap?
Should we replace the pattern used often in binding lists
Author.findAll.flatMap { a = bind ... }
with
Author.findMap() { a = bind ... }
when the list is large or its elements are big?
-
David Pollakfeeder.of.the.be...@gmail.com wrote:
Dear Greg,
It would be, in next couple of hours or so.
Cheers, Indrajit
On 29/01/10 5:42 AM, Meredith Gregory wrote:
Dear David,
Did the jars get pushed up to the Scala-tools.org Maven repository?
Best wishes,
--greg
On Wed, Jan 27, 2010 at 1:01 PM, David Pollak
The Lift 2.0 snapshot jars for Scala 2.8 are now available on
scala-tools Maven repository. Feel free to try your Lift application
against 2.0-scala280-SNAPSHOT jars.
You can change Lift artifact dependencies version to
2.0-scala280-SNAPSHOT in you application pom and proceed to build as
it appears that the user still creates a new User. it is because I
tell it to do that each time a new request is made.
// Set up a requestVar to track the user object
object userVar extends RequestVar(new User())
So I guess my question is how prevent it from doing that and still
pass a User
You didn't answer my question. At the time the closure passed to redirectTo is
executed, what is the value of 'user'?
-
Jay Caincain@gmail.com wrote:
it appears that the user still creates a new User. it is because I
tell it to do that each time a new
See LiftRules.exceptionHandler
On Jan 29, 12:33 am, Yu-Shan Fung ambivale...@gmail.com wrote:
Hi All,
A bit of a shot in the dark, but is there an easy way to setup email
notification on an lift app whenever an uncaught exception occurs? Seems
like a common enough use-case, just wonder if
Got error when I run it:
D:\MySource\oterh\myliftmvn jetty:run
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO] artifact org.apache.maven.plugins:maven-jetty-plugin: checking for
updates from central
[INFO]
Yu-Shan Fung ambivale...@gmail.com writes:
Hi All,
A bit of a shot in the dark, but is there an easy way to setup email
notification on an lift app whenever an uncaught exception occurs? Seems
like a common enough use-case, just wonder if there's a standard way to do
it before I roll my
David Pollak feeder.of.the.be...@gmail.com writes:
On Thu, Jan 28, 2010 at 2:11 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
[...]
So before adding another adapter on top of e.g. Slf4j which is already
an adapter on top of e.g. logback I thought I would see if there are any
objections to
I suppose it's your first run of mvn jetty:run.
try : mvn jetty:run -U to force download of jetty.
see http://wiki.github.com/dpp/liftweb/about-maven-mini-guide
/davidB
On Fri, Jan 29, 2010 at 04:04, tomLee tomcatl...@gmail.com wrote:
Got error when I run it:
D:\MySource\oterh\myliftmvn
50 matches
Mail list logo