Try (without the = sign):
LiftRules.exceptionHandler.prepend {
case (mode, state, ex) => RedirectResponse("/error")
}
--j
On Mon, Feb 9, 2009 at 10:47 PM, Oliver wrote:
>
> If I try to use the following, I get a reassignment to Val error - any
> ideas?
>
> LiftRules.exceptionHandler.prepend
Otherwise you can enable it in the logging:
log4j.logger.org.hibernate.SQL=DEBUG
On Tue, Feb 10, 2009 at 7:50 AM, Derek Chen-Becker wrote:
> Interesting idea. I'll look into adding something like this (configurable
> at boot and/or runtime) into scalajpa.
>
> Derek
>
>
> On 2/9/09, Oliver wrote
Yes, but that only works for Hibernate. I use Hibernate from everything, but
I'm trying to keep the library usable for any JPA provider.
Derek
On 2/10/09, Viktor Klang wrote:
>
> Otherwise you can enable it in the logging:
>
> log4j.logger.org.hibernate.SQL=DEBUG
>
> On Tue, Feb 10, 2009 at 7:50
Is there a JPA defined way to turn loggin of DML on?
On Tue, Feb 10, 2009 at 3:45 PM, Derek Chen-Becker wrote:
> Yes, but that only works for Hibernate. I use Hibernate from everything,
> but I'm trying to keep the library usable for any JPA provider.
>
> Derek
>
> On 2/10/09, Viktor Klang wrote
Folks,
Al Thompson just checked in support for SQL Server and Oracle. Please test
these configurations.
Thanks,
David
On Mon, Feb 9, 2009 at 9:12 AM, David Pollak
wrote:
>
>
> On Sun, Feb 8, 2009 at 10:16 PM, Amit Kumar Verma wrote:
>
>>
>> Hi,
>>
>> do lift support MSSQL db ?
>
>
> Lift's ma
Folks,
We are in the last few weeks before we launch Lift 1.0.
The current 0.11-SNAPSHOT is pretty much Lift 1.0, but I'd like to get it
tested as much as possible.
Please update your projects to use 0.11-SNAPSHOT and report whatever bugs
you can find.
Thanks,
David
--
Lift, the simply funct
Eric,
You fixed it in 1.4.3-SNAPSHOT.
Please let us know when you've upgraded 1.4.3 to release.
Thanks,
David
On Mon, Feb 2, 2009 at 12:40 AM, etorreborre wrote:
>
> Hi David and Rickard,
>
> If you replace property(...) by Prop.forAll(...), the warnings should
> disappear.
>
> On the other
Lee,
The build error on Macs problem is gone and we've been working on reducing
the number of warnings.
Thanks,
David
On Fri, Jan 30, 2009 at 7:36 PM, mighdoll wrote:
>
> Hey folks, I'm trying to build the lift sources. It mostly works, but
> I see more errors and warnings than I expected.
Chris/David,
Thanks very much for the example!
Have you two discussed how to mix authorization into this example?
When I talked with David about this topic, it seemed that restful
services couple credentials with the request.
For example, could you use BasicAuth with a username/password as part
Dano,
That's a good question.
I am looking at using these web services to expose functionality of an
application that is built using the Spring framework (sorry @dpp :-) ).
My default approach is to use Spring Security/Acegi filter to handle
authentication.
And, I would have passed the credentials
Awesome - I use both of these and get defo test the MSSQL drivers
2moro (GMT)...
On 10 Feb 2009, at 18:51, David Pollak wrote:
> Folks,
>
> Al Thompson just checked in support for SQL Server and Oracle.
> Please test these configurations.
>
> Thanks,
>
> David
>
> On Mon, Feb 9, 2009 at 9:1
Doesn't look right and If I do this I get the following error -
constructor cannot be instantiated to the expected type
On Tue, Feb 10, 2009 at 8:57 PM, Jorge Ortiz wrote:
> Try (without the = sign):
>
> LiftRules.exceptionHandler.prepend {
>case (mode, state, ex) => RedirectResponse("/error
Oliver,
What version of Lift are you using?
Thanks,
David
On Tue, Feb 10, 2009 at 2:58 PM, Oliver wrote:
>
> Doesn't look right and If I do this I get the following error -
> constructor cannot be instantiated to the expected type
>
> On Tue, Feb 10, 2009 at 8:57 PM, Jorge Ortiz
> wrote:
> >
I've just updated my code to rely on the stable version of lift 0.10
rather than an earlier snapshot.
Unfortunately the removal of LiftRules.logAndReturnExceptionToBrowser
and non working status of
LiftRules.exceptionHandler.prepend means my choices now are
1) To back out my reliance on the stabl
On Tue, Feb 10, 2009 at 3:13 PM, Oliver wrote:
>
> I've just updated my code to rely on the stable version of lift 0.10
> rather than an earlier snapshot.
> Unfortunately the removal of LiftRules.logAndReturnExceptionToBrowser
> and non working status of
> LiftRules.exceptionHandler.prepend means
My apologies, it works as shown by your code and in the way Jorge
described. I had changed simply cut and pasted Marius's example
and deleted it when it didn't work. Then I changed my own code without
modifying the case statement correctly. Sometimes I can't
add 1 + 1
On Wed, Feb 11, 2009 at 10:2
On Tue, Feb 10, 2009 at 3:52 PM, Oliver wrote:
>
> My apologies, it works as shown by your code and in the way Jorge
> described. I had changed simply cut and pasted Marius's example
> and deleted it when it didn't work. Then I changed my own code without
> modifying the case statement correctly.
I just removed my maven repository in ~/.m2 , "git clone git://
github.com/dpp/liftweb.git"
and
Mac:liftweb marc$ mvn -e -U clean install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Lift
[INFO] Lift Utils
[INFO] Lift WebKit
[INFO]
Everything I've ever seen has been provider-specific.
On 2/10/09, Viktor Klang wrote:
>
> Is there a JPA defined way to turn loggin of DML on?
>
> On Tue, Feb 10, 2009 at 3:45 PM, Derek Chen-Becker
> wrote:
>
>> Yes, but that only works for Hibernate. I use Hibernate from everything,
>> but I'm
I recently added a Record version of the Decimal support on
wip-dcb-decimal-maprec branch but I haven't had time to test either class
yet. As close as we are to 0.11 GA it seems like this is something that
should wait for the next cycle. Agreed?
Derek
On 1/7/09, David Pollak wrote:
>
> Derek,
>
20 matches
Mail list logo