[Lift] Re: Yahoo Lift error

2009-05-23 Thread Charles F. Munat
I'm getting it in Firebug when I try to use AJAX. It was working fine a month or two ago. Here's the code that calls the AJAX. It adds or deletes a venue from an event. def getVenuesBlock: NodeSeq = { val items = Model.createNamedQuery[Venue](findAllVenues).findAll val ev =

[Lift] Re: Some questions about menu MetaMegaProtoUser

2009-05-23 Thread Jeppe Nejsum Madsen
Thanks for the rapid feedback. A few comments below On Fri, May 22, 2009 at 6:12 PM, David Pollak feeder.of.the.be...@gmail.com wrote: [...] def onLoginPage: Boolean = S.request.flatMap(_.location.map(_.name == Login)) openOr false override def screenWrap: Box[NodeSeq] = Full(if

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

2009-05-23 Thread Oliver Lambert
Yes, I helped with the code! On Sat, May 23, 2009 at 9:28 PM, Timothy Perrett timo...@getintheloop.euwrote: To what degree are you wanting to re-invent the wheel? Derek has done amazing work with JPA and Scala - the resulting output being scala-jpa and the jpa archetypes for lift. Are you

[Lift] Re: New Lift Actor code

2009-05-23 Thread Timothy Perrett
David, this is extremely interesting. Given the points you outlined this makes perfect sense to move from scala.actors - however, if come the 2.8 release EPFL fix the actors library so that it then becomes acceptable to use within lift again, would you want to move back to it? IMO, and as you

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

2009-05-23 Thread Timothy Perrett
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! On Sat, May 23, 2009 at 9:28 PM, Timothy Perrett

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

2009-05-23 Thread Oliver Lambert
When I want to have user defined types, I have to write them as a Hibernate hack to JPA - Id rather not be wedded to Hibernate.When I get a collection out of a returned entity, I have to use JCL to wrap it. I'd rather, have everything in Scala collections. When I have a read only entity, I'd like

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

2009-05-23 Thread Timothy Perrett
Interesting... Have you seen jorge's scala utils? Perhaps we could do some magic with that to manage translations between java.util.list etc to native scala types...? Cheers, Tim Sent from my iPhone On 23 May 2009, at 12:58, Oliver Lambert olambo...@gmail.com wrote: When I want to have

[Lift] LiftRules.unloadHooks problem

2009-05-23 Thread Ewan
After banging my head trying to get Jetty to shutdown cleanly having been playing with actors I came across this entry in the wiki http://wiki.liftweb.net/index.php/FAQ#How_do_I_execute_code_when_my_application_is_unloaded.3F which suggests adding your own function to LiftRules.unloadHooks

[Lift] Re: project stockholm

2009-05-23 Thread David Pollak
On Sat, May 23, 2009 at 2:34 AM, Jostein Stuhaug jost...@solidsystem.nowrote: Off topic, but I could not help myself. Speaking of off topic, too bad there's not a Nobel Geek Prize... :-) The Nobel Peace Prize is in fact awarded in Oslo, all the others are given out in Stockholm. But I

[Lift] Re: LiftRules.unloadHooks problem

2009-05-23 Thread David Pollak
On Fri, May 22, 2009 at 11:31 PM, Ewan ehar...@gmail.com wrote: After banging my head trying to get Jetty to shutdown cleanly having been playing with actors I came across this entry in the wiki http://wiki.liftweb.net/index.php/FAQ#How_do_I_execute_code_when_my_application_is_unloaded.3F

[Lift] Re: Some questions about menu MetaMegaProtoUser

2009-05-23 Thread David Pollak
On Sat, May 23, 2009 at 4:20 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: Thanks for the rapid feedback. A few comments below On Fri, May 22, 2009 at 6:12 PM, David Pollak feeder.of.the.be...@gmail.com wrote: [...] def onLoginPage: Boolean = S.request.flatMap(_.location.map(_.name ==

[Lift] Re: New Lift Actor code

2009-05-23 Thread David Pollak
On Sat, May 23, 2009 at 7:39 AM, Martin Ellis ellis@gmail.com wrote: On Sat, May 23, 2009 at 6:19 AM, David Pollak feeder.of.the.be...@gmail.com wrote: I am happy to share the Lift Actor code with EPFL and if it makes it into the Scala distribution as SimpleActors or something similar,

[Lift] Problems with redirect after login and protected pages

2009-05-23 Thread Jeppe Nejsum Madsen
Hi. I want to protect all pages in the app (except login :-) so if you try to access a page, you get to the login page and after successful login, you get redirected back to the requested page. I'm combining the ideas from

[Lift] Re: Problems with redirect after login and protected pages

2009-05-23 Thread Jeppe Nejsum Madsen
On Sat, May 23, 2009 at 6:22 PM, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Hi. I want to protect all pages in the app (except login :-) so if you try to access a page, you get to the login page and after successful login, you get redirected back to the requested page. I'm combining the

[Lift] Re: New Lift Actor code

2009-05-23 Thread Jonas Bonér
First, and most important to Lift, a conceptual framework for doing concurrency.  Without the Actor model, Lift would not have such a rich model for building interactive applications. A design that keeps true to the Erlang Actor model in that it supports linking, run states, and other things

[Lift] Can't find scala jar

2009-05-23 Thread Charles F. Munat
I used the lift-archetype-jpa-blank archetype to build a new Lift app, then tried to compile and run it. I get an error from Maven that says it can't find scala 2.7.4: [ERROR] BUILD ERROR [INFO] - [INFO] Failed to resolve

[Lift] Re: truncated urls

2009-05-23 Thread Channing Walton
done http://github.com/dpp/liftweb/issues/#issue/23 --~--~-~--~~~---~--~~ 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, send

[Lift] Re: Can't find scala jar

2009-05-23 Thread Charles F. Munat
Can't find the compiler jar, either. I installed both locally, and now when I run the app I get this: [INFO] Starting jetty 6.1.16 ... 2009-05-23 14:49:09.691::INFO: jetty-6.1.16 2009-05-23 14:49:09.877::INFO: No Transaction manager found - if your webapp requires one, please configure one.

[Lift] Re: Can't find scala jar

2009-05-23 Thread Charles F. Munat
Nope. Still can't find it. David Pollak wrote: Try: rm -rf ~/.m2 mvn -clean install Thanks, David On Sat, May 23, 2009 at 2:55 PM, Charles F. Munat c...@munat.com mailto:c...@munat.com wrote: Can't find the compiler jar, either. I installed both locally, and now

[Lift] jpa blank archetype

2009-05-23 Thread Charles F. Munat
Another weird thing about the JPA blank archetype: there is an index.html file that calls the default template, but the templates-hidden folder is missing (along with the default template). Chas. --~--~-~--~~~---~--~~ You received this message because you are

[Lift] Re: Can't find scala jar

2009-05-23 Thread Charles F. Munat
Here is more detail on this error: 2009-05-23 15:41:20.856::INFO: Logging to STDERR via org.mortbay.log.StdErrLog [INFO] Context path = / [INFO] Tmp directory = determined at runtime [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml [INFO] Web overrides = none [INFO] Starting

[Lift] Re: Some questions about menu MetaMegaProtoUser

2009-05-23 Thread Jeppe Nejsum Madsen
On Sat, May 23, 2009 at 5:54 PM, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: On Sat, May 23, 2009 at 4:52 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Getting the secondary menu items:   def secondaryMenuItems: Seq[MenuItem] =   for {     req - S.request.toList     line -

[Lift] The new LiftActor code is live

2009-05-23 Thread David Pollak
Folks, The new LiftActor-based Lift is live in the new_actor branch in the repository. I'm running the new code on http://demo.liftweb.net If all goes well, I'll cut the main Lift branch over to the new code on Wednesday. Thanks, David -- Lift, the simply functional web framework

[Lift] Namespace prefix error.

2009-05-23 Thread KaniniPazham
I am keep on getting the following error. Please help me. I have read enough blogs to solve this... stll clueless for my limited knowledge. error on line 81 at column 35: Namespace prefix question on subject is not defined error on line 86 at column 26: Namespace prefix question on detail is not

[Lift] Namespace prefix error.

2009-05-23 Thread KaniniPazham
I guess my previous post didn't reach. I have tried enough to my lift knowledge, but need someone's help. error on line 81 at column 35: Namespace prefix question on subject is not defined error on line 86 at column 26: Namespace prefix question on detail is not defined My snippet in QS.Scala.