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 wrote:
>
> Got error when I run it:
>
> D:\MySource\oterh\mylift>mvn jetty:run
> [INFO
David Pollak writes:
> On Thu, Jan 28, 2010 at 2:11 PM, Jeppe Nejsum Madsen wrote:
[...]
>> 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 Lift always log through Slf4j?
>
Yu-Shan Fung 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 own.
I have it set
Got error when I run it:
D:\MySource\oterh\mylift>mvn 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]
--
This was considered later on a defect, and not a feature. To preserve
markup attributes in your bind use -%> instead of ->
Br's,
Marius
On Jan 29, 12:38 am, Adam Warski wrote:
> When trying to use datepicker on a form, I found a post (by Derek
> Chen-Becker) from august which says:
>
> "OK, the
See LiftRules.exceptionHandler
On Jan 29, 12:33 am, Yu-Shan Fung 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 there's a standard
You didn't answer my question. At the time the closure passed to redirectTo is
executed, what is the value of 'user'?
-
Jay Cain wrote:
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.
//
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 obje
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 usual
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
mailto:feeder.of.the.be...
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 Pollak wrote:
def findMap[T](by: QueryPa
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 wrote:
> Folks,
>
> Lift is currently building against Scala 2.8 Beta1 and currently runs the
> examples/example app (the app that's at http://demo
That totally clears it up. Thanks so much.
On Jan 28, 11:08 am, Naftoli Gugenheim wrote:
> 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 ar
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 own.
Thanks!
Yu-Shan.
--
You received this message
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:
That e:id attribute gets merged so that the res
On Thu, Jan 28, 2010 at 2:11 PM, Jeppe Nejsum Madsen wrote:
> 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.
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 wrote:
> Last logging question, I promise!
>
> I'm about to implement MDC in Lift's logging, but it seems more and more
> lay
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 Li
On Thu, Jan 28, 2010 at 1:11 PM, Jeppe Nejsum Madsen wrote:
> Hi,
>
> Looking at the loggers, I see
>
> var loggerByClass: Class[AnyRef] => LiftLogger
>
> How can you get a Class[AnyRef]?
>
> Using loggerByClass(classOf[C]) yields:
>
> :7: error: type mismatch;
> found : java.lang.Class[C]
> r
Hi,
Looking at the loggers, I see
var loggerByClass: Class[AnyRef] => LiftLogger
How can you get a Class[AnyRef]?
Using loggerByClass(classOf[C]) yields:
:7: error: type mismatch;
found : java.lang.Class[C]
required: Class[AnyRef]
Should this signature be Class[_] => LiftLogger instead?
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
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
gande
On Thu, Jan 28, 2010 at 11:45 AM, Rogelio 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 recognized :-
On Thu, Jan 28, 2010 at 3:09 AM, Jeppe Nejsum Madsen wrote:
> David Pollak 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
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.
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:
http://github.com/Dridus/test-image/blob/master/src/main/scala/test/Im
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 variabl
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 mu
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 wrote:
> Hello,
>
> > What's the purpose of RequestVars and StatefulSnippet? I thought the
> > values were retained anyway through POST. T
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 wrote:
> I don't think it's possible to do files upload v
I'm also working on adding some additional functionality and merging it with
the function in ImageHelpers.
Let me know if there's anything you want to see.
Here's what I have so far:
http://github.com/dpp/liftweb/commit/63614a64a053c619c4330a8bad364677af49e8a2
On Jan 28, 2010, at 6:38 AM, Jepp
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 wrote:
> Boern writes:
>
> > Hi,all:
> > I am newbie for lift web framework and I hope * there are some open
> source
> > we
Boern 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/ is probably the
http://github.com/dpp/liftweb/tree/master/examples/examples-osgi/hello/
On Jan 28, 10:53 am, Murtaza Rampurawala 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 Pax-Runner. I
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 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
> would have expose it alr
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 apprecia
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 th
On 28 January 2010 15:06, David Pollak wrote:
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
> Internet connection, etc. I
On Wed, Jan 27, 2010 at 10:15 PM, Naftoli Gugenheim wrote:
> 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
>- Possibly user com
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 wrote:
> Hello,
>
> I just found something very strange. I have my own loc, which extends
> Loc[Unit].
> If the default value i
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 {
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 othe
Strom 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" group.
To post to
Naftoli Gugenheim 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
> one instead of lo
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 clic
+1
On Jan 27, 11:59 pm, Jeppe Nejsum Madsen 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 the log4j
aw 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 remedy
http://git
David Pollak 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 some kind of "reset" me
aw 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 database connections,
Thats it !
Cheers
Jono
2010/1/28 Indrajit Raychaudhuri
> 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 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
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:
...
There is no such option.
Then I checked in:
framework/lift-base/lift-webkit/src/main/scala/net/liftweb/http/
SHtml.scala
it seems none of the
def ajaxForm(.
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 fo
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]
-
54 matches
Mail list logo