[Lift] Binding Problem - Help

2008-12-14 Thread Oliver
would be getting called after doProcess() is called bind("hello", xhtml, "whoField" --> text(who.openOr(""), v => who(Full(v)) ), "submit" --> submit(?("Send"), ignore => doProcess

[Lift] Re: Binding Problem - Help

2008-12-14 Thread Oliver
Hi, Its Ubuntu Gutsy running a virtual vsx. The processor is a dual cpu 2.8 Theres 2GB of memory, but Apache tomcat has 500MB. I'm running on a snapshot of lift webkit frozen at 0.10-20080930.234135-129 I'll send the html in a moment. Cheers Oliver On Mon, Dec 15, 2008 at 10:28

[Lift] Re: Binding Problem - Help

2008-12-14 Thread Oliver
David Thanks for the prompt reply. I'll upgrade to the latest version of lift so I can use the fix when it comes in. Is everything relatively stable at the current snapshot? cheers Oliver On Mon, Dec 15, 2008 at 11:47 AM, David Pollak wrote: > Okay, > The problem is that your comp

[Lift] Re: Binding Problem - Help

2008-12-14 Thread Oliver
f the number I probably won't see the same error in the life of the universe, but you never know your luck. On Mon, Dec 15, 2008 at 12:36 PM, David Pollak wrote: > > > On Sun, Dec 14, 2008 at 5:06 PM, Oliver wrote: >> >> David >> >> Thanks for the prompt reply.

[Lift] error message tag

2008-12-15 Thread Oliver
I have the following to output an error message against When I have an error its all fine, but when I don't have an error I get the following html Is there any way of getting rid of the empty span? cheers Oliver --~--~-~--~~~---~--~~ You received this me

[Lift] context path

2008-12-15 Thread Oliver
I have a few links within my pages where I don't want lift to prepend the context path to the url. Is there any way to do this? cheers Oliver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" gr

[Lift] liftweb xml schema location

2008-12-16 Thread Oliver
I have a client doesn't want an external link like xmlns:lift="http://liftweb.net/"; Can I store the schema locally? How do I get it? cheers Oliver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &

[Lift] Re: liftweb xml schema location

2008-12-17 Thread Oliver
Thanks This is the information I need On Wed, Dec 17, 2008 at 11:29 PM, David Bernard wrote: > > It's not an external link nor a link to a schema but the definition of > a namespace : lift > > On Wed, Dec 17, 2008 at 10:07, Oliver Lambert wrote: >> Don't I ne

[Lift] Re: liftweb xml schema location

2008-12-17 Thread Oliver
I didn't know what xmlns:lift="http://liftweb.net/"; meant. My client was assuming something was happening along the lines of your *%#! Thanks for the info. On Thu, Dec 18, 2008 at 7:16 AM, Alex Cruise wrote: > > Viktor Klang wrote: >> Ah, I read "I have a client doesn't want an external link*/

[Lift] Re: liftweb xml schema location

2008-12-17 Thread Oliver
When I validate a lift page, via an XML validator (eg: Firefox Html Validator plugin) I get the following error "there is no attribute xmlns" Should I be concerned with this? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Lift] LiftRules.logAndReturnExceptionToBrowser doesnt alway work

2008-12-18 Thread Oliver
I was redirecting to an error page using LiftRules.logAndReturnExceptionToBrowser, but when I use a LoanWrapper to close a EntityManager and an error occurs when closing the entity manager, LiftRules.logAndReturnExceptionToBrowser doesn't appear to redirect to my error page. Can anyone think of a

[Lift] Re: LiftRules.logAndReturnExceptionToBrowser doesnt alway work

2008-12-18 Thread Oliver
let the exception in > the finally block propogate. > > On Thu, Dec 18, 2008 at 1:58 PM, Oliver wrote: >> >> I was redirecting to an error page using >> LiftRules.logAndReturnExceptionToBrowser, but when I use a LoanWrapper >> to cl

[Lift] JTA showSQL

2009-02-09 Thread Oliver
= { if (!execOnceSet.contains(key)) { execOnceSet += key execFn } } execOnce("findByEmail", Log.info(emailQuery.getQueryWithParams()) ) You can add the functionality if you find it useful cheers Oliver --~--~-~--~~

[Lift] Re: *** BREAKING CHANGES ***

2009-02-09 Thread Oliver
If I try to use the following, I get a reassignment to Val error - any ideas? LiftRules.exceptionHandler.prepend = { case (mode, state, ex) => RedirectResponse("/error") } On Wed, Dec 24, 2008 at 5:41 AM, Marius wrote: > > Folks, > > I just committed a couple of changes that may impact your

[Lift] Re: *** BREAKING CHANGES ***

2009-02-10 Thread Oliver
gt; 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 = { >>case (mode, state

[Lift] Re: *** BREAKING CHANGES ***

2009-02-10 Thread Oliver
58 AM, 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: >> Try (without the = sign): >> >> LiftRules.exceptionHandl

[Lift] Re: *** BREAKING CHANGES ***

2009-02-10 Thread Oliver
11, 2009 at 10:26 AM, David Pollak wrote: > > > 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.logAnd

[Lift] thanks

2009-02-12 Thread Oliver
plating paradigm, so I can see some interesting discussions ahead. cheers Oliver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubs

[Lift] Re: thanks

2009-02-12 Thread Oliver
ed in, let me know and I'll try to prioritize > it. > >> cheers >> Oliver >> >> > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To p

[Lift] maven scala plugin

2009-02-18 Thread Oliver
ideas what the maven scala plugin is doing? cheers Oliver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this g

[lift] Re: binding and validation

2008-08-29 Thread Oliver
27;ve come up with a way to abstract validation (form >> handling, etc) that would be cool. >> > > It's been a long-term project of mine to separate the pieces, but alas, I > have not had time to do it. :-( > > >> >> >> Derek >> >> >> O

[lift] Re: for loop in XHTML

2008-08-29 Thread Oliver
David, This helps - Thankyou cheers Oliver On Fri, Aug 29, 2008 at 3:02 AM, David Pollak <[EMAIL PROTECTED] > wrote: > Oliver, > > I've put together a complex example of templating with Lift. > > All the code is in sites/examples... but here goes. &g

[Lift] JPA and annotations

2008-09-01 Thread Oliver
When I try to use the following annotation in a JPA labled entity in a Scala class @Column("columnName") I get a error: wrong number of arguments for constructor Column: ()javax.persistence.Column Same thing for a @Table("tableName") Any i

[Lift] Re: Netbeans & /lift/

2008-09-01 Thread Oliver
to install/enable (via Tools/Plugins). Once this is done Netbeans will open your project and allow you to build it using Maven, without going back to the command line. Hope this helps Oliver On Mon, Sep 1, 2008 at 1:05 PM, Marc Boschma <[EMAIL PROTECTED]<[EMAIL PROTECTED]> > wrote:

[Lift] Re: Netbeans & /lift/

2008-09-01 Thread Oliver
Sorry, the archetypeVersion should be 0.9 as shown in http://liftweb.net/index.php/HowTo_start_a_new_liftwebapp On Mon, Sep 1, 2008 at 1:52 PM, Oliver <[EMAIL PROTECTED]> wrote: > Hi, > > Lift uses Maven 2 which doesn't require an IDE to run. It's probably > possibl

[Lift] Re: JPA and annotations

2008-09-01 Thread Oliver
Viktor Well spotted - I shouldn't rely on my memory to write emails. Unfortunately, @Column(name = "NAME") gives me exactly the same error. On Mon, Sep 1, 2008 at 6:32 PM, Viktor Klang <[EMAIL PROTECTED]> wrote: > Hi Oliver! > > I think you need to qualiify t

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

2008-09-03 Thread Oliver
What lifecycle managment on RequestVar does 0.10 add and can I read about it anywhere? Why is RequestVar a better solution that using a threadLocal? Oliver On Thu, Sep 4, 2008 at 8:12 AM, Derek Chen-Becker <[EMAIL PROTECTED]>wrote: > Technically, no. I use the Model object to also

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

2008-09-03 Thread Oliver
, within my application, has no requirement on lift at all - guess I'll have to decide sooner or later whether to swim with lift, and include it as a dependency to get RequestVar's and Can's. On Thu, Sep 4, 2008 at 9:58 AM, Oliver <[EMAIL PROTECTED]> wrote: > > What lifecy

[Lift] JPA

2008-09-03 Thread Oliver
, something like Derek's Model object as a starting point. If so, is it possible for others to get involved (if yes, how)? cheers Oliver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To pos

[Lift] Re: JPA

2008-09-03 Thread Oliver
a matter of interest, what Record/Field code? > > Oliver wrote: > > Hi > > > > I know Derek Chen-Becker has been working on the JPA example for Lift > > and this helped me a lot getting my own JPA layer up and running. > > There appear to be others who are interes

[Lift] Re: JPA

2008-09-03 Thread Oliver
On Thu, Sep 4, 2008 at 2:38 PM, David Pollak <[EMAIL PROTECTED]> wrote: > > > Oliver wrote: > > > > On Thu, Sep 4, 2008 at 2:16 PM, David Pollak <[EMAIL PROTECTED]> wrote: > >> >> At this point, there's no specific plans for JPA support. &g

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

2008-09-03 Thread Oliver
(and inject a ThreadLocal for testing), but if I use Can's, I have a dependency on Lift. Oliver On Thu, Sep 4, 2008 at 3:07 PM, Derek Chen-Becker <[EMAIL PROTECTED]>wrote: > The way I've structured the "demo" JPA project is as separate persistence > and webapp modu

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

2008-09-04 Thread Oliver
n and persistence utilities - just kidding :-) On Thu, Sep 4, 2008 at 3:32 PM, David Pollak <[EMAIL PROTECTED]>wrote: > > > On Wed, Sep 3, 2008 at 10:29 PM, Oliver <[EMAIL PROTECTED]> wrote: > >> Using your Model object as a starting point I created a JPA wrapper >&g

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

2008-09-04 Thread Oliver
see this will be useful for some apps, however many times Im only interested in bits of several entities to create a page. On Thu, Sep 4, 2008 at 4:07 PM, Oliver <[EMAIL PROTECTED]> wrote: > I guess it doesn't really matter but it drags in a lot of functionality > that would nor

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

2008-09-04 Thread Oliver
munity rejects a useful methodology just because it makes testing difficult. I think the modular programming section in the programming in Scala book, gives an example of how to mix in test classes. Im also working on Entity Manager stuff so will also have to cross this hurdle too. Oliver > &g

[Lift] Re: JPA w/Scala

2008-09-04 Thread Oliver
They aint plain and they aint old, So we have to call them all SO's On Fri, Sep 5, 2008 at 1:50 PM, Tim Perrett <[EMAIL PROTECTED]> wrote: > > I think Viktor was asking you to post the scala code for the entity; > or alternatively update the wiki page so that its correct > > Interestingly, didn't

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

2008-09-08 Thread Oliver
It looks a little like the RequestVar has had its lifecycle closing hook called by the time you call getSubscriptions Try touch/get the subscriptions before you pass them into the bind. cheers Oliver On Tue, Sep 9, 2008 at 7:31 AM, Kris Nuttycombe <[EMAIL PROTECTED]>wrote: > &g

[Lift] Re: JPA w/Scala

2008-09-08 Thread Oliver
Doesn't look right. The id is the primary key - it could now be inserted with a value of 100, always. I can do an insert here with @Id @GeneratedValue(){val strategy = GenerationType.AUTO} Still works without GeneratedValue being present. My pom dependencies are org.hibernat

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

2008-09-09 Thread Oliver
Actually, is this the essence of the cookie. Why has the object been detached in the example Kris gives - is there something wrong with RequestVar lifecycle? On Tue, Sep 9, 2008 at 5:27 PM, Viktor Klang <[EMAIL PROTECTED]> wrote: > Hello Kris, > > this is a quite common problem in the world of JP

[Lift] Re: JPA w/Scala

2008-09-09 Thread Oliver
Hi Derek, this is looking good On Wed, Sep 10, 2008 at 2:55 AM, Derek Chen-Becker <[EMAIL PROTECTED]>wrote: > OK, the code is merged in and the latest version is attached. I made a few > minor modifications to the JPA code that Oliver sent: > > 1. I made the openEM and closeE

[Lift] Re: snippets and html

2008-09-16 Thread Oliver
, xhtml, > "email" --> mixinAttributes(SHtml.text(email, email = _))) > > You can even give it a shorter name if you want. > > --j > > On Thu, Aug 14, 2008 at 7:46 AM, Oliver Lambert <[EMAIL PROTECTED]> <[EMAIL > PROTECTED]> wrote: > >

[Lift] Re: bind and enumerations

2008-09-17 Thread Oliver
When I saw this answer, I was really hoping it would work. Unfortunately, Gender.elements.toList.map(v => (v, v.toString)) gives me List((a.Gender(0),a.Gender(0)), (a.Gender(1),a.Gender(1))) On Thu, Sep 18, 2008 at 12:56 PM, David Pollak < [EMAIL PROTECTED]> wrote: > var g: Can[Gender] =

[Lift] Re: bind and enumerations

2008-09-18 Thread Oliver
s3: List[Gender.Value] = List(Unknown, Male, Female) > > scala> Gender.elements.toList.map(v => (v, v.toString)) > res4: List[(Gender.Value, java.lang.String)] = List((Unknown,Unknown), > (Male,Male), (Female,Female)) > > > > Oliver wrote: > > When I saw this an

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

2008-09-23 Thread Oliver
On Wed, Sep 24, 2008 at 5:35 AM, Charles F. Munat <[EMAIL PROTECTED]> wrote: > > Oliver Lambert wrote: > > Do/should validations stop at the first error message on the field, at > > least by default? > > I much prefer that they do not. It really irritates me when I&#

[Lift] mixin javascript call

2008-09-25 Thread Oliver
uot;goLite( this.form.name,this.name") ) cheers Oliver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this

[Lift] Re: JPA and enumerations

2008-10-01 Thread Oliver
't coded a user type in Scala before either and I couldn't find a way to generically do all enumerations as one user type - Scala is just too strict. hope that helps Oliver On Thu, Oct 2, 2008 at 6:58 AM, Derek Chen-Becker <[EMAIL PROTECTED]>wrote: > Hmmm. Oliver, I'm

[Lift] error page

2008-10-02 Thread Oliver
I don't want to display the default error page to the user. How do I replace it with my own? cheers Oliver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send e

[Lift] Re: JPA and enumerations

2008-10-02 Thread Oliver
setting genre to Genre.unknown makes its type "Genre.Val" > instead of "Genre.Value", but I have no idea how to fix it at this point. > > Thanks, > > Derek > > > > > On Wed, Oct 1, 2008 at 11:38 PM, Derek Chen-Becker <[EMAIL PROTECTED]>wrote

[Lift] Todays questions

2008-10-02 Thread Oliver
ld like to be made available to garbage collection. For instance, I have a table of html links - once one is selected, I can set the holding collection to null, but lift is still holding a reference for its history. cheers Oliver --~--~-~--~~~---~--~~ You rec

[Lift] Re: Todays questions

2008-10-02 Thread Oliver
Thanks for the answers Another related question - Is there any functionality in lift to prevent multiple submits (e.g. the browser is slow for whatever reason and the user presses the submit button multiple times)? cheers Oliver On Fri, Oct 3, 2008 at 10:15 AM, David Pollak <[EMAIL PROTEC

[Lift] Re: JPA and enumerations

2008-10-02 Thread Oliver
> On Wed, Oct 1, 2008 at 11:38 PM, Derek Chen-Becker <[EMAIL PROTECTED]>wrote: > >> Doh. I missed where you had extended it. It works now that I'm using it >> correctly (imagine that!) >> >> Thanks much, >> >> Derek >> >> >> On

[Lift] lift-webkit 0.10-SNAPSHOT

2008-10-07 Thread Oliver
When's this likely to be 0.10 and stable? cheers Oliver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe

[Lift] Re: JPADemo weird disappearing boot

2008-10-08 Thread Oliver
I'm getting the error too :( rotten boot On Wed, Oct 8, 2008 at 4:47 PM, Charles F. Munat <[EMAIL PROTECTED]> wrote: > > I figured this out (sort of). The problem was in the master pom.xml. Not > sure what it was, though. > > Chas. > > Charles F. Munat wrote: > > I seem to have lost my boot. > >

[Lift] Re: error message tag

2008-12-16 Thread Oliver Lambert
tand where you are coming from here. It makes me wonder how many "lifters" are working with an unadulterated version of the code-base. My own code style is also probably different from others and is likely going to diverge as I have a "mentor" pushing me to adopt a much more func

[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 wrote: > > I have a client doesn't want an ext

[Lift] Re: LiftRules.logAndReturnExceptionToBrowser doesnt alway work

2008-12-19 Thread Oliver Lambert
hat I am doing is bad design or coding, Im willing to change it. Oliver On 20/12/2008, at 1:12 AM, Derek Chen-Becker wrote: > What kind of error are you getting when the EM closes? As long as > you're not relying on the EM.close to commit your transaction > (something I'd

[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 O

[Lift] Re: url handling

2008-12-20 Thread Oliver Lambert
ion? ... or use RedirectWithState? > > Br's, > Marius > > On 20 Dec, 05:26, Oliver Lambert wrote: >> Hi >> >> I notice lift sometimes lift rewrites the url a little >> e.g. - >> http://localhost:9090/enterbecomeshttp://localhost:9090/enter?fnVT32

[Lift] Re: url handling

2008-12-20 Thread Oliver Lambert
Simple, I would like my url to be called without ?... tacked onto the end. On 20/12/2008, at 10:40 PM, Tim Perrett wrote: > > Oliver, > > Lift will only create these types of URL when you pass params when > creating a link. > > There is a very sophisticated rewriting

[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 expla

[Lift] Re: url handling

2008-12-20 Thread Oliver Lambert
you're not calling 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 > wrote: > > Simple, I would like my url to

[Lift] Re: url handling

2008-12-20 Thread Oliver Lambert
No, but as Derek suggests, it sounds a bit like the stateful snippet is doing it for me. On 21/12/2008, at 5:31 AM, Marius wrote: > > Yeah but there are 2 overloaded versions. Are you also pasing a > function to it? > > On 20 Dec, 14:31, Oliver Lambert wrote

[Lift] Re: Can or Box or something else

2008-12-20 Thread Oliver Lambert
flatMap, filter etc. So it can be used in a for > comphrension. I don't believe Either has those methods. Further, > Can has a bunch of helpers to turn Empty into Failure > > > On Dec 20, 2008 10:33 AM, "Oliver Lambert" wrote: > > Is Can a little less l

[Lift] Re: Can or Box or something else

2008-12-20 Thread Oliver Lambert
ingers. > > > On Dec 20, 2008 11:15 AM, "Oliver Lambert" 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

[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 Goo

[Lift] Re: LiftRules.logAndReturnExceptionToBrowser doesnt alway work

2008-12-20 Thread Oliver Lambert
What's the big advantage of using JTA over resource local transactions? On 21/12/2008, at 2:34 AM, Derek Chen-Becker wrote: > Also, if you want lazy transactions it means you can't use JTA; as > far as I know, a JTA-aware EM wants the transaction to already exist > at the time that the EM is

[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 &

[Lift] Re: error message tag

2008-12-23 Thread Oliver Lambert
I have a html/css developer who is claiming that is causing IE to go into quirks mode. He suggests would be OK On 23/12/2008, at 11:16 AM, David Pollak wrote: > > > On Mon, Dec 15, 2008 at 3:29 PM, Oliver wrote: > > I have the following to output an error message against >

[Lift] Re: error message tag

2008-12-23 Thread Oliver Lambert
; On Dec 23, 2008 12:55 AM, "Oliver Lambert" wrote: > > I have a html/css developer who is claiming that > is causing IE to go into quirks mode. > He suggests would be OK > > On 23/12/2008, at 11:16 AM, David Pollak wrote: > >> > > > On Mon, D

[Lift] Re: error message tag

2008-12-23 Thread Oliver Lambert
ound with us? > > On Dec 23, 10:55 am, Oliver Lambert wrote: >> I have a html/css developer who is claiming that >> is causing IE to go into quirks mode. >> He suggests would be OK >> >> On 23/12/2008, at 11:16 AM, David Pollak wrote: >> >> >> >

[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 > Just brainstorming here... not sure if we're beating a dead > hors

[Lift] Re: Lift AJAX and IE6

2009-04-09 Thread Oliver Lambert
On Thu, Apr 9, 2009 at 11:03 PM, David Pollak wrote: > > > On Thu, Apr 9, 2009 at 4:35 AM, olambo 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 turn this >> > > off? If so, how?

[Lift] stateful vs stateless snippet

2009-04-10 Thread Oliver Lambert
. Should I replace the stateful snippet with a stateless one - does a stateful snippet that isn't storing any state have any extra overhead over a stateless one? If I do use a stateless snipet can I still have a dispatch method? cheers Oliver --~--~-~--~~~---~--~---

[Lift] Re: stateful vs stateless snippet

2009-04-11 Thread Oliver Lambert
; > you can also say > > class Foo extends DispatchSniuppet { > > def dispatch = ... > } > > which is also a stateless snippet. > > Br's, > Marius > > On Apr 11, 7:21 am, Oliver Lambert wrote: > > I have a stateful snippet that doesn't always a

[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 wrote: > > > On Sat, Apr 11, 2009 at 8:36 PM, mal3 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 skills are not up to the task of doing

[Lift] Re: stateful vs stateless snippet

2009-04-12 Thread Oliver Lambert
ack button. > > > On Apr 12, 5:44 am, Oliver Lambert wrote: > > On Sun, Apr 12, 2009 at 7:14 AM, marius d. > wrote: > > > > > The StatefulSnippet is not a snippet instance that is always used in > > > the context of your session. > > > > Yike

[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 wrote: > >> >> >> On Sun, Apr 12, 2009 at 3:49 PM, marius d. wrote: >> >>> >>> As I said you CAN

[Lift] Re: stateful vs stateless snippet

2009-04-13 Thread Oliver Lambert
On Mon, Apr 13, 2009 at 4:35 AM, David Pollak wrote: > > > On Sun, Apr 12, 2009 at 7:30 AM, Oliver Lambert wrote: > >> >> >> On Sun, Apr 12, 2009 at 11:04 PM, David Pollak < >> feeder.of.the.be...@gmail.com> wrote: >> >>> >

[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 wrote: > > I was thinking tuples, but that didn't work. I'll try your suggestion. > BTW, for

[Lift] Re: scalar queries in Lift/JPA

2009-04-25 Thread Oliver Lambert
g formal constructors via hibernate's report queries, but thats more work and I'm lazy. cheers Oliver On Fri, Apr 24, 2009 at 6:11 AM, Derek Chen-Becker wrote: > Oliver, I've never done anything like that in JPA or Hibernate. Is that > actually possible? Can you "create"

[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: Where to add demos/examples

2009-05-02 Thread Oliver Lambert
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...@googlemail.com> wrote: > Hi, > I would like to add demo/example (well, also POC) projects to the > repository. Whe

[Lift] Re: Where to add demos/examples

2009-05-02 Thread Oliver Lambert
t; working code, host it on your own github account then when its working >> potentially move it into examples if appropriate. >> >> Cheers, Tim >> >> >> >> On 02/05/2009 12:53, "Oliver Lambert" wrote: >> >> > Interesting id

[Lift] garbage collection

2009-05-07 Thread Oliver Lambert
ng garbage collected? cheers Oliver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, s

[Lift] Re: garbage collection

2009-05-07 Thread Oliver Lambert
rbage collector. > > > Br's, > Marius > > On May 7, 10:15 am, Oliver Lambert 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? > > > >

[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. wrote: > > Please see LiftSession. > > On May 7, 1:41 pm, Oliver Lambert wrote: > > Thanks for this. I would like to look at the code that actually hol

[Lift] Re: garbage collection

2009-05-07 Thread Oliver Lambert
ixes the bug > related with namespaces.This was the main reason why we had to deviate > from Dave's original idea of using lift:gc attributes. > > Br's, > Marius > > On May 7, 3:47 pm, Oliver Lambert wrote: > > Ah, you mean messageCallback - The joys of private

[Lift] Re: garbage collection

2009-05-08 Thread Oliver Lambert
functions, under certain circumstances. > Br's, > Marius > > On May 7, 10:22 pm, Oliver Lambert 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 >

[Lift] Re: garbage collection

2009-05-08 Thread Oliver Lambert
On Fri, May 8, 2009 at 10:51 PM, David Pollak wrote: > > > On Fri, May 8, 2009 at 12:49 AM, Oliver Lambert wrote: > >> >> >> On Fri, May 8, 2009 at 6:51 AM, marius d. wrote: >> >>> >>> Personally I'd be very reluctant exposing that to a

[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 wrote: > Oliver, > > Please create a git branch and "go wild&

[Lift] Re: immutable bindings

2009-05-14 Thread Oliver Lambert
o do about the mixin binding that I use for html, that extends/modifies BindHelpers. Potentially I could modify BindHelpers, but, should I leave it out for now or include it as an optional and separate class in net.liftweb.html.immu? cheers Oliver --~--~-~--~~~---~--~---

[Lift] Re: immutable bindings

2009-05-16 Thread Oliver Lambert
On Sat, May 16, 2009 at 4:32 AM, David Pollak wrote: > > > On Thu, May 14, 2009 at 7:43 PM, Oliver Lambert wrote: > >> I've started integrating my immutable bindings, but have some questions >> >> On my build, I've placed the main immutable binding classe

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

2009-05-23 Thread Oliver Lambert
On Sat, May 23, 2009 at 9:53 AM, braver wrote: > > On May 22, 7:06 pm, Timothy Perrett wrote: > > Hey there, > > > > Is their a particular reason you wouldn't or couldn't use existing java > > persistence infrastructure inside your scala application? That's the > > recommended advice right now;

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

2009-05-23 Thread Oliver Lambert
iliar with them? > > Cheers, Tim > > On 23/05/2009 11:56, "Oliver Lambert" 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
x27;d like it to be immutable. In fact, maybe all entities should be, but thats probably too hard. I'm just taking about the lower layer of JPA that Derek's stuff hooks into - its OK for Java, it kind of sucks for Scala. Just my thoughts, don't expect anyone to agree. cheers Oliver

[Lift] Re: immutable bindings

2009-05-26 Thread Oliver Lambert
I've pushed my changes and additions back to my branch, hopefully for all to see (still learning git). I'll write an example app based on the changes soon. cheers Oliver On Tue, May 19, 2009 at 9:14 AM, David Pollak wrote: > Oliver, > > Good stuff... please make sure

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 Date: Wed, May 27, 2009 at 4:16 PM Subject: Re: [Lift] Re: immutable bindings To: liftweb@googlegroup

Re: Fwd: [Lift] Re: immutable bindings

2009-05-28 Thread Oliver Lambert
Hi Tim, My apologies about the fork vs branch stuff. If my knowledge about git is correct I don't have permission to create a branch yet, though David has agreed to make me a committer - maybe after the milestone release tomorrow. cheers Oliver On Wed, May 27, 2009 at 8:01 PM, Timothy Pe

[Lift] git ouch

2009-05-28 Thread Oliver Lambert
ar to have done something wrong. Any help (without curses) is greatly appreciated at this moment. cheers Oliver --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send e

[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 > > Git wouldn't let me create a branch of liftweb until I deleted and >> recreated my ssh keys - I believed all was good. >

  1   2   >