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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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.
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
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
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
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
34 matches
Mail list logo