Yep, it appears that was the mistake I somehow made.
Thanks!
- Spencer
On Jul 4, 2009, at 6:21 PM, Peter Robinett wrote:
I think I got the same thing once before when referring to the
companion object (singleton) instead of my specific instance. Perhaps
you're doing the same thing?
here are the two files, thanks!
Send me the file and I'll debug it.
On Fri, Jul 3, 2009 at 3:06 AM, Tobias Daub hannes.flo...@gmx.li
mailto:hannes.flo...@gmx.li wrote:
Thanks Dave, but still getting this error:
Thanks, Marius.
Now, is there something similar for writing XML to a file. I saw
nothing on LiftRules that
seems to apply.
Glenn...
On Jul 4, 12:36 am, marius d. marius.dan...@gmail.com wrote:
Try LiftRules.loadResourceAsXml
Br's,
Marius
On Jul 4, 1:11 am, glenn gl...@exmbly.com wrote:
Marius, Glen,
Can I wade in here and suggest that if Glenn wants to use an XML
datasource, then writing an XML backend for Record would be the best
way to go and maintain CRUD semantics out of the box?
Cheers, Tim
On Jul 5, 8:40 pm, glenn gl...@exmbly.com wrote:
Thanks, Marius.
Now, is
Why would lift interfere with file io? Resource server is probably for static
http. If you're getting file not found I can't imagine it's lift's fault. Try
dumping new java.io.File(.).listFiles() or .getAbsolutePath etc. to see what
directory is the default. What kind of server are you using?
Douglas,
Please see: http://wiki.liftweb.net/index.php/Maven_Mini_Guide
We contemplated wrapping this crap (to use your words), but in the
interests of exploiting the best of our maven based build system the
following is the recommended command for project creation:
mvn archetype:generate
If you need to get the absolute path where the exploded war is living,
you can get that via ServletContext I do believe. Generally speaking,
Lift provides no mechanism for writing stuff to the filesystem and
does not interfere with file i/o.
Cheers, Tim
On Jul 5, 9:15 pm, Naftoli Gugenhem
On Fri, Jul 3, 2009 at 4:00 PM, Douglas Quaid lee.ami...@gmail.com wrote:
I heard some good vibes about Lift and then I saw this gem in the
Getting Started documentation for creating a project:
From a command prompt, type:
mvn archetype:generate -U \
-DarchetypeGroupId=net.liftweb \
On Fri, Jul 3, 2009 at 10:38 AM, Kris Nuttycombe
kris.nuttyco...@gmail.comwrote:
Hi, David,
Thanks for taking some time to look at this problem. I'm a little
concerned about the approach, though - should Lift really behave
significantly differently in test mode than it does in production
Your email did not meet this standard.
dpp, I'm glad you addressed this. My initial response, which I
deleted, would not have helped the situation. Yours was measured and
mature.
Ty
On Jul 5, 4:32 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
On Fri, Jul 3, 2009 at 4:00 PM,
In general I would appreciate if people would refrain from inappropriate
vocabulary.
-
TylerWeirtyler.w...@gmail.com wrote:
Your email did not meet this standard.
dpp, I'm glad you addressed this. My initial response, which I
deleted, would not have
On Jul 3, 6:38 pm, Kris Nuttycombe kris.nuttyco...@gmail.com wrote:
With respect to unit testing, Lift's singletons depend upon underlying
thread-local variables (via ThreadGlobal) to maintain state. I'm just
musing here, but do you think it might be possible to inject a layer
of indirection
Hi guys,
I saw some posts on Scala website about helping newcomers and I was
wondering if some of you would be kind enough to help me out to start
with Scala/Lift.
My main problem is I am not a programmer yet but I really really want
to be, I've been studying Ruby/Rails,
I would say that the main advantage knowledge of Java over a similar language
gives you is knowledge of the Java environment and system, but you can pick
that up via scala too.
As far as turning theory into actual programming, my personal advice is to take
one small sample, get it running, and
The broader issue is that how a WAR file is exploded (converted from WAR/Zip
format to an on-disk representation) is a servlet-container specific issue.
Putting an XML file in your WAR and reading from it is totally cool. The
abstraction that Marius pointed to is the correct one... and more
Hey all,
I hope this isn't considered spammy, but I wanted to send out a link
to a new website I built using Lift and share my experiences as a
Scala and Lift newbie.
I've played around with Scala off and on for over a year now, and also
looked at Lift once or twice during that time.
16 matches
Mail list logo