[Lift] broken app

2009-11-08 Thread Oliver Lambert
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

[Lift] Lift job

2009-09-24 Thread Oliver Lambert
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

[Lift] Re: You are not banned from this group!!

2009-09-24 Thread Oliver Lambert
...@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

[Lift] Re: You are not banned from this group!!

2009-09-23 Thread Oliver Lambert
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

[Lift] Re: Including jars into a liftweb project

2009-06-26 Thread Oliver Lambert
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

[Lift] Re: New mapper class: MappedEnumString

2009-06-25 Thread Oliver Lambert
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

[Lift] Re: New mapper class: MappedEnumString

2009-06-24 Thread Oliver Lambert
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

[Lift] Re: [scala] JPA question

2009-06-23 Thread Oliver Lambert
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

[Lift] Re: [scala] JPA question

2009-06-23 Thread Oliver Lambert
= _ ... } 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

[Lift] Re: JPA and auto generation of id

2009-06-22 Thread Oliver Lambert
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

[Lift] Re: prep for offline work

2009-06-22 Thread Oliver Lambert
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

[Lift] Re: Thoughts on separation of display from logic

2009-06-18 Thread Oliver Lambert
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 =

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-18 Thread Oliver Lambert
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

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-17 Thread Oliver Lambert
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

[Lift] QA, before merging code

2009-06-17 Thread Oliver Lambert
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?)

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-17 Thread Oliver Lambert
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

[Lift] Re: Develop / Production System

2009-06-16 Thread Oliver Lambert
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

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-16 Thread Oliver Lambert
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.

[Lift] directory structure

2009-06-16 Thread Oliver Lambert
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

[Lift] Re: scalajpa - while accessing two distincts databases, the second access is made with a connection to the first database

2009-06-16 Thread Oliver Lambert
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

[Lift] Re: Cheap Hosting

2009-06-15 Thread Oliver Lambert
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,

[Lift] Re: a href... optional query params

2009-06-15 Thread Oliver Lambert
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

[Lift] Re: Hiring Lift Developers

2009-06-15 Thread Oliver Lambert
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

[Lift] Re: Develop / Production System

2009-06-15 Thread Oliver Lambert
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

[Lift] Re: file upload

2009-06-12 Thread Oliver Lambert
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

[Lift] Re: security

2009-06-10 Thread Oliver Lambert
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

[Lift] Re: Record and Field

2009-06-01 Thread Oliver Lambert
: 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

[Lift] Re: Record with the new bind-immutable

2009-06-01 Thread Oliver Lambert
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

[Lift] Re: git ouch

2009-05-29 Thread Oliver Lambert
, 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

[Lift] Re: git ouch

2009-05-29 Thread Oliver Lambert
, 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

[Lift] Re: Record with the new bind-immutable

2009-05-29 Thread Oliver Lambert
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

[Lift] Re: Record with the new bind-immutable

2009-05-29 Thread Oliver Lambert
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

[Lift] Re: Record with the new bind-immutable

2009-05-29 Thread Oliver Lambert
Oh, and I think I now have a better understanding of why David wanted me to add this to the Record module. On Fri, May 29, 2009 at 11:32 PM, 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 detail. I hadn't

[Lift] Re: Record with the new bind-immutable

2009-05-29 Thread Oliver Lambert
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

[Lift] git ouch

2009-05-28 Thread Oliver Lambert
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

[Lift] Re: git ouch

2009-05-28 Thread Oliver Lambert
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

[Lift] Re: git ouch

2009-05-28 Thread Oliver Lambert
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

[Lift] Re: immutable bindings

2009-05-27 Thread Oliver Lambert
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

Fwd: [Lift] Re: immutable bindings

2009-05-27 Thread Oliver Lambert
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

[Lift] Re: Robust and clear ways to do performant JDBC?

2009-05-23 Thread Oliver Lambert
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

[Lift] Re: Robust and clear ways to do performant JDBC?

2009-05-23 Thread Oliver Lambert
: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

[Lift] Re: immutable bindings

2009-05-16 Thread Oliver Lambert
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

[Lift] Re: immutable bindings

2009-05-11 Thread Oliver Lambert
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...

[Lift] Re: garbage collection

2009-05-08 Thread Oliver Lambert
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

[Lift] garbage collection

2009-05-07 Thread Oliver Lambert
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?

[Lift] Re: garbage collection

2009-05-07 Thread Oliver Lambert
. 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

[Lift] Re: garbage collection

2009-05-07 Thread Oliver Lambert
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

[Lift] Re: Where to add demos/examples

2009-05-02 Thread Oliver Lambert
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

[Lift] Re: immutable bindings

2009-04-30 Thread Oliver Lambert
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 --~--~-~--~~~---~--~~

[Lift] Re: scalar queries in Lift/JPA

2009-04-25 Thread Oliver Lambert
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

[Lift] Re: scalar queries in Lift/JPA

2009-04-23 Thread Oliver Lambert
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

[Lift] Re: stateful vs stateless snippet

2009-04-13 Thread Oliver Lambert
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

[Lift] Re: stateful vs stateless snippet

2009-04-12 Thread Oliver Lambert
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

[Lift] Re: stateful vs stateless snippet

2009-04-12 Thread Oliver Lambert
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 Lambert olambo...@gmail.comwrote: On Sun, Apr 12, 2009 at 3:49 PM, marius d. marius.dan...@gmail.comwrote: As I said you CAN use it to span the same snippet

[Lift] Re: stateful vs stateless snippet

2009-04-11 Thread Oliver Lambert
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

[Lift] Re: JPA or JDO best for us on Google App Engine?

2009-04-11 Thread Oliver Lambert
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

[Lift] stateful vs stateless snippet

2009-04-10 Thread Oliver Lambert
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

[Lift] Re: Lift AJAX and IE6

2009-04-09 Thread Oliver Lambert
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

[Lift] Re: Can or Box or something else

2008-12-27 Thread Oliver Lambert
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

[Lift] Re: error message tag

2008-12-23 Thread Oliver Lambert
I have a html/css developer who is claiming that span id=errMsg/ is causing IE to go into quirks mode. He suggests span id=errMsg/span would be OK On 23/12/2008, at 11:16 AM, David Pollak wrote: On Mon, Dec 15, 2008 at 3:29 PM, Oliver ola...@gmail.com wrote: I have the following to output

[Lift] Re: error message tag

2008-12-23 Thread Oliver Lambert
23, 10:55 am, Oliver Lambert ola...@gmail.com wrote: I have a html/css developer who is claiming that span id=errMsg/ is causing IE to go into quirks mode. He suggests span id=errMsg/span would be OK On 23/12/2008, at 11:16 AM, David Pollak wrote: On Mon, Dec 15, 2008 at 3:29 PM, Oliver

[Lift] Re: LiftRules.logAndReturnExceptionToBrowser doesnt alway work

2008-12-21 Thread Oliver Lambert
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

[Lift] Re: url handling

2008-12-20 Thread Oliver Lambert
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

[Lift] Can or Box or something else

2008-12-20 Thread Oliver Lambert
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

[Lift] Re: url handling

2008-12-20 Thread Oliver Lambert
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

[Lift] Re: Can or Box or something else

2008-12-20 Thread Oliver Lambert
. 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

[Lift] Re: Can or Box or something else

2008-12-20 Thread Oliver Lambert
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

[Lift] Re: LiftRules.logAndReturnExceptionToBrowser doesnt alway work

2008-12-19 Thread Oliver Lambert
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

[Lift] url handling

2008-12-19 Thread Oliver Lambert
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

[Lift] Re: liftweb xml schema location

2008-12-17 Thread Oliver Lambert
Don't I need the xsd or dtd specification? On 17/12/2008, at 7:50 PM, Viktor Klang wrote: Why not just add a hosts entry and redirect that host to an internal machine? On Wed, Dec 17, 2008 at 7:26 AM, Oliver ola...@gmail.com wrote: I have a client doesn't want an external link like

[Lift] Re: error message tag

2008-12-16 Thread Oliver Lambert
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

[Lift] Re: error page

2008-10-02 Thread Oliver Lambert
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

[Lift] Re: Making Record a reality [was: Validations, Server side controls etc]

2008-09-24 Thread Oliver Lambert
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

[Lift] Re: RBAC in Lift

2008-09-11 Thread Oliver Lambert
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

[Lift] Re: JPA w/Scala

2008-09-09 Thread Oliver Lambert
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

[Lift] Re: One further: JPA + JTA + Lift

2008-09-09 Thread Oliver Lambert
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

[Lift] Re: JPA w/Scala

2008-09-08 Thread Oliver Lambert
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

[Lift] Re: JPA w/Scala

2008-09-08 Thread Oliver Lambert
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 =

[Lift] Re: JPA w/Scala

2008-09-08 Thread Oliver Lambert
, 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

[Lift] Re: Problems with persistence context (Lift/JPA)

2008-09-04 Thread Oliver Lambert
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.