[Lift] Re: Can't find Javascript files using LiftRules.resourceServerPath

2009-04-09 Thread marius d.
In your boot try this: ResourceServer.allow { case jquery-tabs.js :: Nil = true case jquery-ui-1.7.1.custom.min.js :: Nil = true } On Apr 9, 12:17 am, glenn gl...@exmbly.com wrote: What am I doing wrong? I'm trying to implement tabs using the jquery-tabs.js (the JqueryTabs Plugin), but

[Lift] Re: Can't find Javascript files using LiftRules.resourceServerPath

2009-04-09 Thread glenn
Problem solved. It seems you can't just put your js files in the path src/main/resources/toserver. You need to put them in a subfolder of toserve and specify the subfolder in ResourceServer.allow in your Boot class. I think improved documentation is needed in this area. Glenn Silverman On Apr

[Lift] NetBeans How-To for Lift

2009-04-09 Thread Randy Syring
I have downloaded NetBeans and the Scala plugin and it is working with a Hello World application. I would now like to start working with Lift in NetBeans, but I am completely lost as to how to run a Lift project from within NetBeans. Would it be possible for someone to help me run this

[Lift] Re: Rails - Lift

2009-04-09 Thread Warren Henning
You're proposing to scrap working code? Isn't that trying to fix something that isn't broken? Warren On Wed, Apr 8, 2009 at 8:58 PM, Charles F. Munat c...@munat.com wrote: I'm writing a proposal for a presentation on moving from Rails to Lift.

[Lift] Re: Where to start

2009-04-09 Thread Darren Hague
You may also wish to have a look at ESME, an Apache Incubator project which expands on Skittr in a number of ways. There is OpenID sign-on, search (via Lucene/Compass), a DSL for filtering routing messages, an HTTP-based API, and much more. Check out http://blog.esme.us and

[Lift] Re: NetBeans How-To for Lift

2009-04-09 Thread Caoyuan
http://blogtrader.net/dcaoyuan/entry/run_debug_lift_web_app On Thu, Apr 9, 2009 at 2:21 PM, Randy Syring rsyr...@gmail.com wrote: I have downloaded NetBeans and the Scala plugin and it is working with a Hello World application.  I would now like to start working with Lift in NetBeans, but I

[Lift] Re: Rails - Lift

2009-04-09 Thread Jacob Grydholt Jensen
No, he is talking about *developers* switching from rails to lift, not projects. /grydholt --~--~-~--~~~---~--~~ 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

[Lift] Re: Can't find Javascript files using LiftRules.resourceServerPath

2009-04-09 Thread marius d.
that to :) ... the above should also work as well if you leave your files in toserve. ResourceServer is also discussed in the upcoming Lift book. If one understands how ResourceServer works there is no need for further explanations of sub-folders etc. Relevant examples can be found in

[Lift] Re: Rails - Lift

2009-04-09 Thread Charles F. Munat
Sorry, but I haven't got a clue what you're talking about. Chas. Warren Henning wrote: You're proposing to scrap working code? Isn't that trying to fix something that isn't broken? Warren On Wed, Apr 8, 2009 at 8:58 PM, Charles F. Munat c...@munat.com wrote: I'm writing a proposal

[Lift] Re: Rails - Lift

2009-04-09 Thread Alexander Kellett
actually my biggest blocker (and still my blocker) is getting a working coding environment. there is so much contradictory information on which ide is the best. it would be really nice to have a document that talks about the pro's and con's of each ide. in the rails/osx world its easy: use

[Lift] Re: Lift AJAX and IE6

2009-04-09 Thread olambo
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? No... it's also used for Garbage Collection. :-( I've also noticed this running. Is this Garbage Collection of javascript or a

[Lift] Object typecast to Mapper

2009-04-09 Thread Amit Kumar Verma
Hi All, I am trying to type cast an scala object to its mapper object 1 def getJSONString(anyObject :Object):NodeSeq = { 2 var obj = anyObject.asInstanceOf[anyObject.getClass ().getName()]; 3 obj.findAll.map(userdetails = { // some code will go

[Lift] Re: Rails - Lift

2009-04-09 Thread David Pollak
On Thu, Apr 9, 2009 at 2:38 AM, Alexander Kellett lypa...@gmail.com wrote: actually my biggest blocker (and still my blocker) is getting a working coding environment. there is so much contradictory information on which ide is the best. it would be really nice to have a document that talks

[Lift] Re: How to use the new Record framework and Jackrabbit

2009-04-09 Thread Josh Suereth
Glenn, Given what I know of the existing Scala OSGi bundles, I don't see any issues with what you're attempting, but I have not tried that personally. As Tim mentioned, the stuff Heiko and I are working on will hopefully unify the existing OSGi solutions and provide a little bit easier

[Lift] Re: Lift AJAX and IE6

2009-04-09 Thread David Pollak
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 turn this off? If so, how? No... it's also used for Garbage Collection. :-( I've

[Lift] Re: Rails - Lift

2009-04-09 Thread Timothy Perrett
On the contrary... Im coding in TextMate right now: it works perfect! I run scala:cc in a terminal window and just code away in TextMate. Job done. Tim On 09/04/2009 10:38, Alexander Kellett lypa...@gmail.com wrote: in the rails/osx world its easy: use textmate unless you have a

[Lift] Re: Object typecast to Mapper

2009-04-09 Thread David Pollak
Howdy, Scala is a static language, so the class for casting must be known at compile time. It's not possible to construct a String at runtime and cast an object into a class represented by that String. However, casting to a known class is easy in Scala... and it's done primarily using pattern

[Lift] Re: Rails - Lift

2009-04-09 Thread Clemens Oertel
I don't think it's necessary to make a final decision about your IDE at any time. AFAIK, all major IDEs work quite well with Maven's pom files, so it's very easy to switch IDEs at any time. I for instance used NetBeans until last month, when JetBrains updated their Scala plugin - then I

[Lift] Re: Rails - Lift

2009-04-09 Thread Josh Suereth
On Thu, Apr 9, 2009 at 9:42 AM, Clemens Oertel clemens.oer...@gmail.comwrote: I don't think it's necessary to make a final decision about your IDE at any time. AFAIK, all major IDEs work quite well with Maven's pom files, so it's very easy to switch IDEs at any time. WOAAAH I beg to

[Lift] Re: NetBeans How-To for Lift

2009-04-09 Thread Randy Syring
Thank you for the reply. Unfortunately, that post assumes one already has the project setup in NetBeans and they just want to debug it. I am not even sure how to get the project setup in NetBeans. The quick start tutorial says I should run a (very long) mvn command to setup the project

[Lift] Re: NetBeans How-To for Lift

2009-04-09 Thread bradford
Step 1: Create the project via mvn archetype:create or mvn archetype:generate. The wiki is still down, but you can see the lift book for more information about this. The tutorial you are looking at says to generate the lift-archetype-blank. Step 2: In NetBeans go to file - open - and select

[Lift] Re: How to use the new Record framework and Jackrabbit

2009-04-09 Thread Heiko Seeberger
Glenn, We have just started OSGi-fying Scala and Lift and there is still some way to go ... If you need a properly OSGi-fied Scala library right now then take a look at ScalaModules (www.scalamodules.org). But as Josh mentioned we will hopefully soon see the official Scala JARs being OSGi

[Lift] Re: NetBeans How-To for Lift

2009-04-09 Thread Randy Syring
Bradford, Thanks, that helps. Note, on Step 2 it should be File - Open Project... On Apr 9, 10:33 am, bradford fingerm...@gmail.com wrote: Step 1:  Create the project via mvn archetype:create or mvn archetype:generate.  The wiki is still down, but you can see the lift book for more

[Lift] Re: Rails - Lift

2009-04-09 Thread Charles F. Munat
Ah, I get it now. Jacob Grydholt Jensen wrote: No, he is talking about *developers* switching from rails to lift, not projects. /grydholt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To

[Lift] Re: Rails - Lift

2009-04-09 Thread Charles F. Munat
This is interesting. I'll think about this. Thanks. Chas. Alexander Kellett wrote: actually my biggest blocker (and still my blocker) is getting a working coding environment. there is so much contradictory information on which ide is the best. it would be really nice to have a document

[Lift] Re: Rails - Lift

2009-04-09 Thread Charles F. Munat
I was thinking that I'd start with Textmate, since I've used that the most and it's what most Rails developers use, and then move to NetBeans, since that seems to be pretty popular. But I could take a quick look at Eclipse, too. David Pollak wrote: On Thu, Apr 9, 2009 at 2:38 AM,

[Lift] Re: Rails - Lift

2009-04-09 Thread TylerWeir
It's not an editor/IDE war unless someone brings up Vim or Emacs, so... I've been using Vim+Scala+Ctags since I started. I'd recommend not getting hung-up on which editor is the best just start coding. On Apr 9, 3:01 pm, Charles F. Munat c...@munat.com wrote: I was thinking that I'd start

[Lift] Is the demo supposed to be not working?

2009-04-09 Thread d...@felstar.com
i.e. http://demo.liftweb.net/ Gives Bad gateway. --~--~-~--~~~---~--~~ 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] Big Domain Model - Lift and Persistence

2009-04-09 Thread Tim P
Hi I'm embarking on a web project with a big domain model (50+ classes - supply chain application). I was all set to go using a combination of Java domain classes, a bit of mixin via ClassFileTransformer, Hibernate and Grails as a web framework. Someone said if you're looking at mixin look at

[Lift] Re: Is the demo supposed to be not working?

2009-04-09 Thread TylerWeir
Can you give it another shot? It looks fine to me. The server is recovering from a bit of unpleasantness, so this may be transient. On Apr 9, 2:19 pm, d...@felstar.com d...@felstar.com wrote: i.e. http://demo.liftweb.net/ Gives Bad gateway.

[Lift] Re: Big Domain Model - Lift and Persistence

2009-04-09 Thread Derek Chen-Becker
The Hibernate Validations section is in there to show one approach. Given the breadth of people's requirements for validation it would be hard to say that one way is always preferable over the other. On you original question, my experience with Mapper says that for a schema that big (and, I'm

[Lift] Re: Is the demo supposed to be not working?

2009-04-09 Thread d...@felstar.com
Fine now, was dead a a doornail before. Dino. --~--~-~--~~~---~--~~ 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 email to

[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: Rails - Lift

2009-04-09 Thread Charles F. Munat
Can't do them all, but I'd mention Emacs and Vim. Maybe show a slide of what they look like. Chas. TylerWeir wrote: It's not an editor/IDE war unless someone brings up Vim or Emacs, so... I've been using Vim+Scala+Ctags since I started. I'd recommend not getting hung-up on which editor