On 04/09/2008, at 11:28 PM, David Pollak wrote:
On Wed, Sep 3, 2008 at 11:37 PM, Oliver [EMAIL PROTECTED] wrote:
Actually to extend on that, Can would be a useful addition to a non
lift library.
One of the projects that DavidB was working on was splitting up Lift
Webkit into modules.
You know I always forget those long winded archetype creation commands
and
thinking about this I guess I would hope for something more. Something
like specify
a set of tables (and stuff) and have LiftBuilder go and create
mappings, validation and default html
for me. I haven't looked at it
I think sql server uses
@GeneratedValue(strategy=GenerationType.IDENTITY)
You could try this instead of GenerationType.AUTO (though this should
translate to the above)
Oliver
On 09/09/2008, at 12:43 AM, Tim Perrett wrote:
Hmmm, I've tried:
@Id
@GeneratedValue(){val strategy =
, at 4:05 AM, Oliver Lambert wrote:
I think sql server uses
@GeneratedValue(strategy=GenerationType.IDENTITY)
You could try this instead of GenerationType.AUTO (though this
should translate to the above)
Oliver
On 09/09/2008, at 12:43 AM, Tim Perrett wrote:
Hmmm, I've tried:
@Id
On 09/09/2008, at 7:47 PM, Tim Perrett wrote:
I agree - its strange and not what we would expect.
What version of SQL server are you running? Im using 2005 Enterprise
here...
I think thats what they are using at my company
Its just a really strange thing, the 100 is always ignored... I
Now, now lets not get testi ;-)
On 09/09/2008, at 9:34 PM, Viktor Klang wrote:
On Tue, Sep 9, 2008 at 10:09 AM, Oliver [EMAIL PROTECTED] wrote:
Actually, is this the essence of the cookie. Why has the object been
detached in the example Kris gives - is there something wrong with
I'm also interested in authorization and authentication. If your
going to
use a application server like Glassfish, JAAS is possibility.
However, I'm trying to decide whether to use Acegi (without Spring)
or look at something like JSecurity. Any thoughts as to which would
be a better fit with
Hey Chas,
No worries, I re-read too and understood the tone of your reply.
I'm playing devils advocate on validation to try to get a flexible
framework for everyone to use.
Ol
On 24/09/2008, at 4:07 PM, Charles F. Munat wrote:
Charles F. Munat wrote:
Running Ajax calls between fields for
I tried
LiftRules.logAndReturnExceptionToBrowser = {
case (request, e) = println(what is going on);
RedirectResponse(/)
case _ = println(whatis going on 2); RedirectResponse(/)
}
No change in behavior
On 02/10/2008, at 6:03 PM, Marius wrote:
Or you can use
On 16/12/2008, at 3:30 PM, Charles F. Munat wrote:
I copied and pasted the error message code into my own error message
utility and then changed the blank output to Text(). I also wanted
to
rewrite other parts of it.
Im trying to get a html programmer to come up with a css fix before I
Ha, very observant - I am relying on it to commit or rollback or do
nothing.
I note your recommendation, but I'd rather not have transaction
support code littered around.
For my application, I want a transaction lazily created and closed
after each request, if it was created.
If what I
Hi
I notice lift sometimes lift rewrites the url a little
e.g. - http://localhost:9090/enter becomes
http://localhost:9090/enter?fnVT32KHAJRTHI5RNQ2XBY=_
What are the rules for when this happens?
Is there anyway to write a lift application where it doesn't happen?
cheers
Oliver
RedirectWithState?
Br's,
Marius
On 20 Dec, 05:26, Oliver Lambert ola...@gmail.com wrote:
Hi
I notice lift sometimes lift rewrites the url a little
e.g. -
http://localhost:9090/enterbecomeshttp://localhost:9090/enter?fnVT32KHAJRTHI5RNQ2XBY=_
What are the rules for when this happens
Is Can a little less like Option and more like scala.Either, where the
left side is used to indicate failure?
On 21/12/2008, at 1:43 AM, David Pollak wrote:
Folks,
Over the year that Lift has had Can[T] as a replacement for Scala's
Option[T], the name Can has required a lot of
it explicitly (i.e. using just
redirectTo), the this version of redirectTo on StatefulSnippet
may be firing.
Derek
On Sat, Dec 20, 2008 at 5:36 AM, Oliver Lambert ola...@gmail.com
wrote:
Simple, I would like my url to be called without ?... tacked onto the
end.
On 20/12/2008, at 10:40
.
On Dec 20, 2008 11:15 AM, Oliver Lambert ola...@gmail.com wrote:
Ok so Can is not either an Either or an Option, its a Can. I kind of
wondered when I first used Can, and it was described as an enhanced
Option, why it wasn't called something like Option+ with None, Some
and Failure
Perhaps we should rename Can to Option and get the Scala guys to
rename theirs, OptionWithoutFailure :)
On 21/12/2008, at 6:50 AM, Charles F. Munat wrote:
OptionWithFailure
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Cool, Thanks
On 21/12/2008, at 6:20 PM, Marius wrote:
You already got good advices to your particular problem still an
exception thrown from LoanWrapper-s should be caught by and your
function called. I'll look into it tomorrow.
Br's,
Marius
On 18 Dec, 23:58, Oliver ola...@gmail.com
Ha :), I really think you've let the Can out of the Box by raising
this thread. Don't we all get a vote?
After reading all the threads -
+1 Box
On 27/12/2008, at 10:06 AM, David Pollak wrote:
2008/12/26 Alex Boisvert boisv...@intalio.com
Just brainstorming here... not sure if we're
On Thu, Apr 9, 2009 at 11:03 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Thu, Apr 9, 2009 at 4:35 AM, olambo olambo...@gmail.com wrote:
Also, is the Lift AJAX script necessary for anything other than Comet?
If I have a site that's using no AJAX or Comet, can I just
I have a stateful snippet that doesn't always appear to work with the back
button.
Sometimes, when the back button is used, a new stateful snippet instance
appears to be created. Has this happened to anyone else?
Anyway, I've converted what I had to use a SessionVar to store the state.
Should I
dispatch = ...
}
which is also a stateless snippet.
Br's,
Marius
On Apr 11, 7:21 am, Oliver Lambert olambo...@gmail.com wrote:
I have a stateful snippet that doesn't always appear to work with the
back
button.
Sometimes, when the back button is used, a new stateful snippet instance
On Sun, Apr 12, 2009 at 2:54 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Sat, Apr 11, 2009 at 8:36 PM, mal3 malcolm.gor...@gmail.com wrote:
We are going to use the Google App Engine (GAE) for our app using GWT
with the new Google GWT Eclipse plugin support.
Our Scala and
12, 5:44 am, Oliver Lambert olambo...@gmail.com wrote:
On Sun, Apr 12, 2009 at 7:14 AM, marius d. marius.dan...@gmail.com
wrote:
The StatefulSnippet is not a snippet instance that is always used in
the context of your session.
Yikes! in that case, I wrote a whole application based
On Mon, Apr 13, 2009 at 4:35 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Sun, Apr 12, 2009 at 7:30 AM, Oliver Lambert olambo...@gmail.comwrote:
On Sun, Apr 12, 2009 at 11:04 PM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Sun, Apr 12, 2009 at 5:29 AM, Oliver
Is there anything to stop you defining an class/entity {answer: String,
countAnswer: Int} and to directly create it from JPA (of course, it's read
only).
On Wed, Apr 22, 2009 at 9:36 AM, Charles F. Munat c...@munat.com wrote:
I was thinking tuples, but that didn't work. I'll try your
On Thu, Apr 23, 2009 at 2:47 PM, Charles F. Munat c...@munat.com wrote:
I'm not really sure how I would go about this, but I'll think about it
when I have time to get back to that code.
Thanks, Oliver.
Chas.
Oliver Lambert wrote:
Is there anything to stop you defining an class/entity
I just realized, I removed the header comments to the classes under the
package scalame and had removed credit to Lift for SBind (modifying Bind).
My apologies, and I understand my code is nowhere near as well written as
the original.
Oliver
--~--~-~--~~~---~--~~
it into examples if appropriate.
Cheers, Tim
On 02/05/2009 12:53, Oliver Lambert olambo...@gmail.com wrote:
Interesting idea, perhaps you could get the examples hosted on the lift
demo
website too.
Oliver
On Sat, May 2, 2009 at 7:48 PM, Heiko Seeberger
heiko.seeber
I'm trying to get an understanding how garbage collection is implemented in
Lift.
Any pointers on what scala classes do the actual work?
While I'm at it, S.functionMap appears to only return functions that were
recently bound. Does S._functionMap, contain the functions being garbage
collected?
.
Br's,
Marius
On May 7, 10:15 am, Oliver Lambert olambo...@gmail.com wrote:
I'm trying to get an understanding how garbage collection is implemented
in
Lift.
Any pointers on what scala classes do the actual work?
While I'm at it, S.functionMap appears to only return functions
Ah, you mean messageCallback - The joys of private variables.
thanks again
Ol
On Thu, May 7, 2009 at 9:55 PM, marius d. marius.dan...@gmail.com wrote:
Please see LiftSession.
On May 7, 1:41 pm, Oliver Lambert olambo...@gmail.com wrote:
Thanks for this. I would like to look at the code
circumstances.
Br's,
Marius
On May 7, 10:22 pm, Oliver Lambert olambo...@gmail.com wrote:
Any chance of exposing a getter on messageCallback that would return some
statistics (the number of functions being stored would be a good starting
point)?
On Thu, May 7, 2009 at 11:21 PM, marius
I've created a git branch, cloned it on my machine and built lift - built in
9 minutes with no errors (1 more tick for maven). Will go wild soon.
On Tue, May 12, 2009 at 9:26 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
Oliver,
Please create a git branch and go wild on the branch...
On Sat, May 16, 2009 at 4:32 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Thu, May 14, 2009 at 7:43 PM, Oliver Lambert olambo...@gmail.comwrote:
I've started integrating my immutable bindings, but have some questions
On my build, I've placed the main immutable binding classes
familiar with them?
Cheers, Tim
On 23/05/2009 11:56, Oliver Lambert olambo...@gmail.com wrote:
JPA is a ORM tool. I think it would be great if someone would create a
Scala solution using JPA as the starting point - any takers
:41 PM, Timothy Perrett timo...@getintheloop.euwrote:
Lol! Sorry oliver... I remember now :)
What did you have in mind for “scala solution using JPA”? Is this not what
we have already?
Cheers, Tim
On 23/05/2009 12:33, Oliver Lambert olambo...@gmail.com wrote:
Yes, I helped with the code
that your branch is available on the GitHub
repository for all to see and use.
Thanks,
David
On Sat, May 16, 2009 at 1:36 AM, Oliver Lambert olambo...@gmail.comwrote:
On Sat, May 16, 2009 at 4:32 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
On Thu, May 14, 2009 at 7:43 PM
Added immutable binding example application to sites module, in my branch
(didn't take long, must have done something right).
-- Forwarded message --
From: Oliver Lambert olambo...@gmail.com
Date: Wed, May 27, 2009 at 4:16 PM
Subject: Re: [Lift] Re: immutable bindings
To: liftweb
Git wouldn't let me create a branch of liftweb until I deleted and recreated
my ssh keys - I believed all was good.
I thought I was following the documentation, to create my own branch, which
appeared to be correct on my machine. But, when I just pushed what I thought
was my branch, I appear to
heiko.seeber...@googlemail.com wrote:
Some more details, please: What git commands did you enter?
2009/5/29 Oliver Lambert olambo...@gmail.com
Git wouldn't let me create a branch of liftweb until I deleted and
recreated my ssh keys - I believed all was good.
I thought I was following
ago. Are you seeing some error on your end?
Derek
On Thu, May 28, 2009 at 11:19 PM, Oliver Lambert olambo...@gmail.comwrote:
Git wouldn't let me create a branch of liftweb until I deleted and
recreated my ssh keys - I believed all was good.
I thought I was following the documentation
, 2009 at 3:50 PM, Oliver Lambert olambo...@gmail.com wrote:
When I look at the liftweb network graph, it looks like I'm working on the
main liftweb master line and have renamed it.
On Fri, May 29, 2009 at 3:38 PM, Derek Chen-Becker
dchenbec...@gmail.comwrote:
I just looked at Git and I show
, May 29, 2009 at 4:22 PM, Heiko Seeberger
heiko.seeber...@googlemail.com wrote:
Oliver,
But that's perfect! What's your problem?
There is one LOCAL wip-ol-immu branch and one REMOTE. That's how it is
expected to be for a branch you pushed.
Heiko
2009/5/29 Oliver Lambert olambo
I'm aware of S.error and my ValidationError uses it when I'm ready to show
errors. I've briefly looked at the ValidationFunction and the thing I might
stumble on is the errorType which I rely on.
I may be able to refactor the code to use List[FieldError] as I don't think
I rely on errorType at
On May 29, 11:01 am, Oliver Lambert olambo...@gmail.com wrote:
I'm aware of S.error and my ValidationError uses it when I'm ready to
show
errors. I've briefly looked at the ValidationFunction and the thing I
might
stumble on is the errorType which I rely on.
I may be able to refactor the code
a seamless way to do client-side validation
for validators (e.g., min len, max len, regex) that only rely on client-side
data.
On Fri, May 29, 2009 at 6:32 AM, Oliver Lambert olambo...@gmail.comwrote:
Hi Marius,
To try and answer your question, I had to go and look at the Record code
in
more
: wrong number of arguments
On Mon, Jun 1, 2009 at 10:05 PM, marius d. marius.dan...@gmail.com wrote:
what Java version are you using?
On Jun 1, 1:58 pm, Oliver Lambert olambo...@gmail.com wrote:
When I try to run createRecord on a net.liftweb.record.Record, I get
On Sat, May 30, 2009 at 2:05 AM, marius d. marius.dan...@gmail.com wrote:
On May 29, 4:32 pm, Oliver Lambert olambo...@gmail.com wrote:
Hi Marius,
To try and answer your question, I had to go and look at the Record code
in
more detail. I hadn't recently written the Binder Validator, so
would be involved in using a
whitelist in a location aware multilingual way, but perhaps it could be done
as a default.
Br's,
Marius
On Jun 10, 5:43 am, Oliver Lambert olambo...@gmail.com wrote:
Looks like I might have a requirement for implementing OWASP secure
coding
practices
Whats serious uploading? I uploaded 15,000 records using it today - seemedto
handle it OK.
On Fri, Jun 12, 2009 at 9:48 AM, Timothy Perrett timo...@getintheloop.euwrote:
FYI - its not a streaming upload at the moment, so its great for
smallish files, but you wouldnt want to do much serious
Thats good value - might use it too sometime.
On Mon, Jun 15, 2009 at 1:56 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:
Mark,
You should be able to host a moderately trafficked site (400 unique
visitors an hour) with a $20 slicehost.com account.
Thanks,
David
On Sun, Jun 14,
I don't think any of the Liftweb's binding is going to survive a server
restart,
but, why are you worried about a server restart?
On Tue, Jun 16, 2009 at 8:59 AM, Ewan ehar...@gmail.com wrote:
Hi all
I have bind that renders a link and at the moment I want the link to
include a couple of
As probably is Sydney, Australia.
It might be useful knowing where people are who are looking for jobs - the
company
I work for is small, but, might be interested in hiring sometime in the
future.
On Tue, Jun 16, 2009 at 8:51 AM, KWright kev.lee.wri...@googlemail.comwrote:
I suspect that
Maven stores project dependencies in a repository (by default, its called
.m2). When you move a Lift application from one system to another, the
repository on the new system may need to be updated, hence your requirement
to do a mvn clean install.
Don't know what you changed on the pom.xml (if
Sometimes (is this, folk-tale or truth?) the maven repository around the
application you'reworking on may get slightly out of sync. Then you might
need to delete the part of
the repository that your application is installed into.
On Tue, Jun 16, 2009 at 7:25 PM, Tobias Daub hannes.flo...@gmx.li
I think you have just volunteered to help refactor this code to make it more
composition friendly :)
On Wed, Jun 17, 2009 at 9:38 AM, Meredith Gregory
lgreg.mered...@gmail.comwrote:
Derek,
soapbox
You have just demonstrated a process that i have been talking about for the
last 15 years.
In Boot.scala can I call LiftRules.addToPackages multiple times to add
multiple directories with snippets in them?
Do I have to have a directory structure ending with snippet, for snippets?
Do I need the directories comet, model and view, when they are just empty?
cheers
Oliver
2009/6/17 Meredith Gregory lgreg.mered...@gmail.com
Jeremy,
Most excellent question award to you, sir!
How to bootstrap thinking compositionally... this is what i did
- learn some compositional idioms by heart
- do you know the shape of the paradoxical combinator by heart
You made an assumption and programmed a solution based on the knowledge you
had at the time. Thats fine and there is nothing wrong with it - start with
the simplest solution that fits. If it need to be changed due to changing
requirements, thats fine too. There is a tradeoff in creating a overly
Hi,
Seems theres been a little bit of discussion about methodologies of coding
and development processes in the latest threads which is cool
and makes me think about my current coding efforts.
I created a branch a while ago where I put in my take on a slightly
alternative (or complementary?)
into compositional thinking is whether this is happening. Is your
approach to compositional thinking beginning to yield whole new aspects of
computing, and new 'wholes' of computation, new forms of organization.
2009/6/16 Oliver Lambert olambo...@gmail.com
2009/6/17 Meredith Gregory lgreg.mered
I modified the BindHelper in the branch, I am working on some time back to
allow automatic mixin binding by name.
If you have in your html
input name=favourite:yourName size=20 maxlength=40/,
then it will accept in the snippet
bind(favourite, xhtml, yourName - SHtml.text(show string, s =
perfectly with the DSL stuff i've been working on.
My feeling is that we are at a point where things could really start to
happen. The ideas are 'in the air' so to speak.
Best wishes,
--greg
2009/6/17 Oliver Lambert olambo...@gmail.com
2009/6/18 Meredith Gregory lgreg.mered...@gmail.com
What sort of database are you trying to use Hibernate against (look at the
property hibernate.dialect in the file persistence.xml)?
I think the error may mean that your trying to use GenerationType.AUTO
against a database that doesn't support it.
On Mon, Jun 22, 2009 at 7:08 PM, David Persons
Check you can work offline before you go with the command Tim details (mvn
-o clean install).
If you are running against a snapshot of Lift consider changing to a release
instead, otherwise
Maven will want to download a new snapshot every day (you could freeze at a
snapshot version,
but thats more
I don't understand from the code sample why AbstractContainer has to be an
entity or
have a table or id annotation. I'd be looking at just using the
@MappedSuperclass annotation.
On Wed, Jun 24, 2009 at 9:27 AM, Meredith Gregory
lgreg.mered...@gmail.comwrote:
Kris,
Thanks for this code
= _
...
}
EM.createNativeQuery[RoEntity](nativeQueryStr, classOf[RoEntity])
If I want to save it, I populate an entity that really has an underlying
table.
cheers
Oliver
On Wed, Jun 24, 2009 at 9:55 AM, Oliver Lambert olambo...@gmail.com wrote:
I don't understand from the code sample why AbstractContainer has
Looks very nice.
One thing I'm wondering, what if I wanted the displayed value outside of the
mapper, such as TestTypes.Item1.displayValue. Would you use an implicit
conversion to provide this or is the
display value conceptually always part of a mapper object.
I have a rough implementation
On Thu, Jun 25, 2009 at 10:49 PM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote:
On Thu, Jun 25, 2009 at 1:12 AM, Oliver Lambert olambo...@gmail.com
wrote:
Looks very nice.
One thing I'm wondering, what if I wanted the displayed value outside of
the mapper, such as TestTypes.Item1
If I have an application thats not in a Maven repository, I usually put it
in my local (or company) repository - for instance adding functionaljava.jar
mvn install:install-file -DgroupId=org.other -DartifactId=functionaljava
-Dversion=2.17 -Dpackaging=jar -Dfile=functionaljava.jar
On Tue, Sep 22, 2009 at 7:21 AM, David Pollak feeder.of.the.be...@gmail.com
wrote:
I will gladly buy beer/coffee/food for anyone who gets such a notice. I
sincerely apologize for any problems this is causing.
Can you send me such a notice, I'd like a beer!
Oh, and I've been away for a
Hi all,
The company I work for, Paycorp, is based in Sydney Australia and has a job
with a significant Lift / Scala component. The job description is posted on
http://www.scalacareers.com/
cheers
Oliver
--~--~-~--~~~---~--~~
You received this message because you
...@munat.com wrote:
Funny, I was just wondering what happened to you maybe two days ago. Are
you back, or just checking in?
Chas.
Oliver Lambert wrote:
On Tue, Sep 22, 2009 at 7:21 AM, David Pollak
feeder.of.the.be...@gmail.com mailto:feeder.of.the.be...@gmail.com
wrote:
I
Hi
Over the last couple of days I have been getting the following error on Lift
1.0 using scala 2.7.3 when I try to deploy an application to a Glassfish (or
Tomcat) server (Jetty works ok)
: Exception starting filter LiftFilter
java.lang.IncompatibleClassChangeError: Class scala.List$$anon$1
75 matches
Mail list logo