[Lift] Re: Namespace prefix error.

2009-05-23 Thread marius d.
Do you see any errors in the server console/logs? ... Do you have the XHTML markup that browser gets? Br's, Marius On May 24, 4:40 am, KaniniPazham wrote: > 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 colum

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

[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] 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 http://lift

[Lift] Re: Can't find scala jar

2009-05-23 Thread David Pollak
What version of Scala is in your pom.xml file and what version of Lift? On Sat, May 23, 2009 at 3:43 PM, Charles F. Munat wrote: > > 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 dir

[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 wrote: > On Sat, May 23, 2009 at 4:52 PM, David Pollak > wrote: >>> >>> > Getting the secondary menu items: >>> >   def secondaryMenuItems: Seq[MenuItem] = >>> >   for { >>> >     req <- S.request.toList >>> >     line <- req.buildMenu.lines >

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

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

[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 > wrote: > > > Can't find the compiler jar, either. I installed both locally, and now >

[Lift] Re: Can't find scala jar

2009-05-23 Thread David Pollak
Try: rm -rf ~/.m2 mvn -clean install Thanks, David On Sat, May 23, 2009 at 2:55 PM, Charles F. Munat wrote: > > 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

[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. 2

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

[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 artifact.

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

[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 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 ideas from [.

[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 http://groups.google.com/group/liftweb/browse_thread/thread/5d724fa1ab66a

[Lift] Re: New Lift Actor code

2009-05-23 Thread David Pollak
On Sat, May 23, 2009 at 7:39 AM, Martin Ellis wrote: > > On Sat, May 23, 2009 at 6:19 AM, David Pollak > 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, I'm totally > > cool with that. I'm not

[Lift] Re: Some questions about menu & MetaMegaProtoUser

2009-05-23 Thread Jeppe Nejsum Madsen
On Sat, May 23, 2009 at 4:52 PM, David Pollak wrote: [...] >> > def onLoginPage: Boolean = S.request.flatMap(_.location.map(_.name == >> > "Login)) openOr false >> > >> > override def screenWrap: Box[NodeSeq] = Full(if (onLoginPage) >> >     > > /> >> >         else > > />) >> >> Ahh di

[Lift] Re: New Lift Actor code

2009-05-23 Thread Martin Ellis
On Sat, May 23, 2009 at 6:19 AM, David Pollak 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, I'm totally > cool with that.  I'm not interested in owning or maintaining an Actor > library.  I am howe

[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 wrote: > > Thanks for the rapid feedback. A few comments below > > On Fri, May 22, 2009 at 6:12 PM, David Pollak > wrote: > > [...] > > > def onLoginPage: Boolean = S.request.flatMap(_.location.map(_.name == > > "Login)) openOr false > > > > ov

[Lift] Re: New Lift Actor code

2009-05-23 Thread David Pollak
On Sat, May 23, 2009 at 4:37 AM, Timothy Perrett wrote: > > 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] Re: LiftRules.unloadHooks problem

2009-05-23 Thread David Pollak
On Fri, May 22, 2009 at 11:31 PM, Ewan 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 > which sugge

[Lift] Re: project stockholm

2009-05-23 Thread David Pollak
On Sat, May 23, 2009 at 2:34 AM, Jostein Stuhaug wrote: > > 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 guess it's not the

[Lift] Re: project stockholm

2009-05-23 Thread Jostein Stuhaug
Off topic, but I could not help myself. The Nobel Peace Prize is in fact awarded in Oslo, all the others are given out in Stockholm. But I guess it's not the peace prize you are aiming for... Keep up the good work though, who knows what might happen.. Regards, Jostein. Charles F. Munat wrote

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

[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 wrote: > When I want to have user defined types,

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

[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" wrote: > Yes, I helped with the code! > > On Sat, May 23, 2009 at 9:28 PM, Timothy Perrett > wrote: >> >> >>

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

[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 wrote: > > > 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 familiar with them?

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

2009-05-23 Thread Timothy Perrett
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 familiar with them? Cheers, Tim On 23/05/2009 11:56, "Oliver Lambert" wrote: > JPA is a ORM tool. I think it wo

[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 wrote: [...] > def onLoginPage: Boolean = S.request.flatMap(_.location.map(_.name == > "Login)) openOr false > > override def screenWrap: Box[NodeSeq] = Full(if (onLoginPage) >     /> >  

[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: 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 = Model.creat