I have the same issue, is add this statement into /home/jetty6/bin/
jetty.sh
###
echo "JAVA_OPTIONS=-Drun.mode=production" >> /home/jetty6/bin/
jetty.sh
###
then restart the jetty server, but it alwasy show the Development
Mode information
"The requested page was not defined in your SiteMap,
If you're using Maven to manage your Lift project and especially
testing things with the mvn jetty:run target, run mvn scala:cc in
another shell. It will run fsc, detect source file changes and
recompile them, reloading classes or restarting Jetty as necessary. It
works very well, though I find tha
Hi there,
is it possible, to create a select statement like "SELECT user_id,
count(*) FROM table GROUP BY user_id" with the MetaMapper?
I want to let users get statistical information about some tables like
"how many news did that guy / the top 5 posters write" or "how many
news are in each catego
Did anyone try to integrate with SSO?
On Sat, Nov 28, 2009 at 12:37 AM, Marcin Jurczuk wrote:
> That is amazing :)
>
> Probably I will need to bind to AD in near future, so this module is
> like fallen from heavens :)
>
>
> On 27 Lis, 15:11, TylerWeir wrote:
> > http://jgoday.wordpress.com/2009
I see. Thanks. That explains it.
On Fri, Nov 27, 2009 at 8:34 PM, Atsuhiko Yamanaka
>> Hmmm. I wonder how the database demo in the lift GAE demo was implemented...
>> is the source available somewhere?
>> http://lift-example.appspot.com/database
> It is running with H2 in-memory mode.
--
You
Does anybody use fsc instead of scalac? I find scalac slow. Are there
any known issues with using fsc with Lift?
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this grou
Hi,
On Sat, Nov 28, 2009 at 10:10 AM, jlist9 wrote:
> Hmmm. I wonder how the database demo in the lift GAE demo was implemented...
> is the source available somewhere?
>
> http://lift-example.appspot.com/database
It is running with H2 in-memory mode.
Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
http://reviewboard.liftweb.net/r/129/
I'll check this in to master in the morning.
On Fri, Nov 27, 2009 at 8:53 AM, Derek Chen-Becker wrote:
> I should have a fix in 30 minutes or so.
>
>
> On Thu, Nov 26, 2009 at 9:56 AM, Mathias Sulser wrote:
>
>> I think the MappedBoolean isn't properly done
Hmmm. I wonder how the database demo in the lift GAE demo was implemented...
is the source available somewhere?
http://lift-example.appspot.com/database
On Fri, Nov 27, 2009 at 5:00 PM, Timothy Perrett
wrote:
> I'm not sure about that, but I know for sure that mapper does not work
> with big tab
I'm not sure about that, but I know for sure that mapper does not work
with big table ;-)
Cheers, Tim
Sent from my iPhone
On 28 Nov 2009, at 00:43, jlist9 wrote:
> Oh. I thought bigtable is the only datastore available on GAE?
>
> On Fri, Nov 27, 2009 at 3:55 PM, Timothy Perrett
> wrote:
>>
Oh. I thought bigtable is the only datastore available on GAE?
On Fri, Nov 27, 2009 at 3:55 PM, Timothy Perrett
wrote:
> I cant think of a reason why mapper would not work on GAE?
>
> Mapper does not work with bigtable. You could write a record
> implementation if you really wanted to use bigtabl
I cant think of a reason why mapper would not work on GAE?
Mapper does not work with bigtable. You could write a record
implementation if you really wanted to use bigtable.
Cheers, Tim
On Nov 27, 7:52 pm, jlist9 wrote:
> Still seeking an answer. I notice that the lift GAE example has a database
Here's a nugget of information for you that will help (as I do something
similar to what you want in one of my applications):
val protectionDomain: ProtectionDomain =
classOf[bootstrap.liftweb.Boot].getProtectionDomain()
val location: URL = protectionDomain.getCodeSource().getLocation()
Pr
Hmm, I like this approach marius - its more elegant than what we have now.
What would be the overhead of such a system? It seems like this would better
fit the lift configuration idioms also.
Cheers, Tim
On 27 Nov 2009, at 21:52, Marius wrote:
> For a default behavior this is a reasonable app
For a default behavior this is a reasonable approach. But from a
framework perspective this is a little limiting.
In order to be more extensible I think we should allow users to plug
in their own splitting functions (say a LiftRules RulesSeq of
functions) and essentially determine what is suffix a
Job,
This directory is managed by the servlet container and as far as I know
there is little you can do to configure the location. If you use Tomcat you
are able to specify CATALINA_BASE and it will be somewhere beneath that
directory, I believe it is work/Catalina/localhost/.
Regarding serving i
Heiko,
In the meantime, I found that solution as well... I tried it, and
the default seems to
be a "work" directory in "target". I guess I can set another value
for the attribute
if I manage to convince jetty to do that for me. What I forgot to
mention is that
the directory is to contain imag
By the way Microsoft uses some really long suffixes, e.g., MS Access Developer
Extension Deployment Wizard files, and Pocket PC emulator.
-Original Message-
From: David Pollak
Sent: Wednesday, November 25, 2009 10:34 AM
To: liftweb@googlegroups.com
Subject: Re: [Lift] Beef with LiftRul
Yeah, IIRC what happened was that it was trying to read tables from the schema
with the user's name (assuming it was the default) while when it actually
created them they went into the actual default, PUBLIC. I think this resulted
in Schemifier trying to create tables that existed maybe.
So the
Still seeking an answer. I notice that the lift GAE example has a database
demo. Does it use Mapper and read from/write to bigtable?
http://lift-example.appspot.com/database
On Thu, Nov 26, 2009 at 12:51 PM, jlist9 wrote:
> Hi, I read from the list that Mapper is not supported on Google App Engin
That's good to know. Thanks!
On Fri, Nov 27, 2009 at 10:50 AM, David Pollak
wrote:
> I needed to do a lot more "work arounds" for Derby in Mapper/Schemifier...
> H2 was more true to the SQL spec.
>
> I have had a few instances of Derby databases getting corrupt during unclean
> shutdowns... that
2009/11/27 Jim Barrows
> 2009/11/26 surfman
>
> So, if I want to use nosql database with LIFT, what I have to use is
>> JDBC driver, am I right?
>> Any experienced suggestion? Google has very little searching result on
>> it.
>> I'd appreciate any idea on this topic. Thanks.
>>
>
> No, you can u
On Thu, Nov 26, 2009 at 12:54 PM, jlist9 wrote:
> Hi David,
>
> Would you care to elaborate in what way Derby is inferior?
> I understand H2 is probably faster as speed is one of its main
> design goals. Does Derby have any other issues?
>
I needed to do a lot more "work arounds" for Derby in Ma
Again, thanks for the quick response -- finally got it! Here's what I
did and what ended up being the problem (maybe an obvious one, but
wasn't to me since I'm new to scala/lift):
1. Ran 'git pull' then 'git reset --hard'
2. Ran 'mvn clean install' from liftweb root
3. Several projects built fine
Anything larger than 32k should probably be a BLOB anyway (for which
Derby has full support).
However, I'm going to take a look at H2 anyway.
On Fri, Nov 27, 2009 at 11:42 AM, Derek Chen-Becker
wrote:
> Derby has inferior support for binary data types (32k limit) and has a
> couple of other issu
File tempdir = (File)
config.getServletContext().getAttribute("javax.servlet.context.tempdir")
2009/11/27 jhonig
> Dear Heiko,
>
> > According to the Servlet spec each webapp has got a private temporary
> > directory. I cannot remember exactly how to get this, maybe
> > ServletContext.getTmpDir
Dear Heiko,
> According to the Servlet spec each webapp has got a private temporary
> directory. I cannot remember exactly how to get this, maybe
> ServletContext.getTmpDir(). Please take a look at the spec.
I started reading the spec, but didn't find it yet. ServletContext
doesn't
have any obvi
I see. Thanks Derek.
On Fri, Nov 27, 2009 at 8:42 AM, Derek Chen-Becker
wrote:
> Derby has inferior support for binary data types (32k limit) and has a
> couple of other issues that I can't remember off the top of my head.
>
> On Thu, Nov 26, 2009 at 1:54 PM, jlist9 wrote:
>>
>> Hi David,
>>
>>
According to the Servlet spec each webapp has got a private temporary
directory. I cannot remember exactly how to get this, maybe
ServletContext.getTmpDir(). Please take a look at the spec.
Heiko
On Friday, November 27, 2009, jhonig wrote:
> Thanks Ross, I will try this! Is there a generic way
Derby has inferior support for binary data types (32k limit) and has a
couple of other issues that I can't remember off the top of my head.
On Thu, Nov 26, 2009 at 1:54 PM, jlist9 wrote:
> Hi David,
>
> Would you care to elaborate in what way Derby is inferior?
> I understand H2 is probably fast
Thanks Ross, I will try this! Is there a generic way to get to a
kind
of "sandbox" directory where snippets can read/write files?
Job
On Nov 27, 5:12 pm, Ross Mellgren wrote:
> A way you can get the Servlet context is like this:
>
> LiftRules.context match {
> case context: HTTPServletCon
That is amazing :)
Probably I will need to bind to AD in near future, so this module is
like fallen from heavens :)
On 27 Lis, 15:11, TylerWeir wrote:
> http://jgoday.wordpress.com/2009/11/27/lift-ldap/
> "One of the requisites to start using Lift at my work, was to use LDAP
> authentification.
A way you can get the Servlet context is like this:
LiftRules.context match {
case context: HTTPServletContext => // do something with
context.ctx which is the javax.servlet.ServletContext
case _ => // do something when the context is not a servlet
context, perhaps log an error
}
Th
I'm not sure if this addresses your points, but I figured I'd throw
out what I've been doing in case it helps.
I don't use -%>, but I do use something similar along with another
implicit so I can place the attrs in exactly the right place, and it
automagically combines class and style attrib
I should have a fix in 30 minutes or so.
On Thu, Nov 26, 2009 at 9:56 AM, Mathias Sulser wrote:
> I think the MappedBoolean isn't properly done in the OracleDriver:
>
> scala> User.findAll(By(User.superUser, false))
> java.sql.SQLException: Invalid column type
>at oracle.jdbc.driver.Data
LS,
After Ross' kind invitation to post any other questions I might have,
I'll start with
this one:
The web application I am developing needs a scratch directory to white
scaled
images to. I first try to use a subdir of /tmp and put a symbolic
link in place to
access that directory from my proje
Excellent proposal!
Heiko
On Friday, November 27, 2009, Indrajit Raychaudhuri wrote:
> Folks,
>
> In continuation to the refactoring initiative and following up on the
> discussion that we had on the last committers call, here we have the
> next round of broad based project structure refactoring
2009/11/26 surfman
> So, if I want to use nosql database with LIFT, what I have to use is
> JDBC driver, am I right?
> Any experienced suggestion? Google has very little searching result on
> it.
> I'd appreciate any idea on this topic. Thanks.
>
No, you can use whatever Java driver the nosql da
I'd love to see it incorporated as well.
On Thu, Nov 26, 2009 at 8:57 AM, Timothy Perrett wrote:
> Agreed - Kirs' idea is a nice one. It would be good to incorporate such a
> pattern in the lift examples.
>
> Cheers, Tim
>
> On 26 Nov 2009, at 15:42, Jim Barrows wrote:
>
> > Excellent. He's alre
http://jgoday.wordpress.com/2009/11/27/lift-ldap/
"One of the requisites to start using Lift at my work, was to use LDAP
authentification.
So i wrote a little module lift-ldap for that and a sample app, it was
damn simple!"
http://github.com/jgoday/lift-ldap
http://github.com/jgoday/sample_lift_ld
Folks,
In continuation to the refactoring initiative and following up on the
discussion that we had on the last committers call, here we have the
next round of broad based project structure refactoring proposal. This
is themed around the idea of splitting the build system into separate
smaller 'pr
Hello,
When I use bind(namespace, template, bindings*) in an Ajax call, if
there is a binding error (for example, a misspelled word in the
template), I can't see any error, nor in the web broswer as it the case
for such error outside Ajax Call, nor in the console log.
I know that I can use fir
Marcin Jurczuk writes:
> Hello,
>
> I'm trying to first test deploy of my app :)
>
> I created package (mvn package), uploaded created war as root.war in
> webapp folder of jetty server and when running app it looks that lift
> app is running in development mode (no 404 is showed but:
> "The requ
Fixed in snapshot repo :)
The following command should give you a good project now.
mvn archetype:generate -DarchetypeRepository=http://scala-tools.org/
repo-snapshots -DremoteRepositories=http://scala-tools.org/repo-
snapshots -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-
archetype-
Hello,
I'm trying to first test deploy of my app :)
I created package (mvn package), uploaded created war as root.war in
webapp folder of jetty server and when running app it looks that lift
app is running in development mode (no 404 is showed but:
"The requested page was not defined in your Site
Hi,
I know this has been discussed somewhat at length (e.g. here
http://groups.google.com/group/liftweb/browse_thread/thread/27aed5f45faf759/a261a2dfe0ae7207?lnk=gst&q=attributes+bind#a261a2dfe0ae7207)
but I still think the default behaviour of -> should be reconsidered if
at all possible. Here's
46 matches
Mail list logo