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=gstq=attributes+bind#a261a2dfe0ae7207)
but I still think the default behaviour of - should be reconsidered if
at all possible. Here's
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
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-
Marcin Jurczuk mjurc...@gmail.com 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:
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
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
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
Excellent proposal!
Heiko
On Friday, November 27, 2009, Indrajit Raychaudhuri indraj...@gmail.com 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
I should have a fix in 30 minutes or so.
On Thu, Nov 26, 2009 at 9:56 AM, Mathias Sulser s...@suls.org 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
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
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
}
The
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 tyler.w...@gmail.com 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
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 dri...@gmail.com wrote:
A way you can get the Servlet context is like this:
LiftRules.context match {
case context:
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 jli...@gmail.com wrote:
Hi David,
Would you care to elaborate in what way Derby is inferior?
I understand H2 is
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 al...@xs4all.nl wrote:
Thanks Ross, I will try this! Is
I see. Thanks Derek.
On Fri, Nov 27, 2009 at 8:42 AM, Derek Chen-Becker
dchenbec...@gmail.com 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
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
File tempdir = (File)
config.getServletContext().getAttribute(javax.servlet.context.tempdir)
2009/11/27 jhonig al...@xs4all.nl
Dear Heiko,
According to the Servlet spec each webapp has got a private temporary
directory. I cannot remember exactly how to get this, maybe
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
dchenbec...@gmail.com wrote:
Derby has inferior support for binary data types (32k limit) and has a
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
On Thu, Nov 26, 2009 at 12:54 PM, jlist9 jli...@gmail.com 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
2009/11/27 Jim Barrows jim.barr...@gmail.com
2009/11/26 surfman chinasmile...@gmail.com
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
That's good to know. Thanks!
On Fri, Nov 27, 2009 at 10:50 AM, David Pollak
feeder.of.the.be...@gmail.com 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
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 jli...@gmail.com wrote:
Hi, I read from the list that Mapper is not supported on
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
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 feeder.of.the.be...@gmail.com
Sent: Wednesday, November 25, 2009 10:34 AM
To: liftweb@googlegroups.com
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 images
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/WABAPP-NAME.
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
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
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()
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 jli...@gmail.com wrote:
Still seeking an answer. I notice that the lift GAE
Oh. I thought bigtable is the only datastore available on GAE?
On Fri, Nov 27, 2009 at 3:55 PM, Timothy Perrett
timo...@getintheloop.eu 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
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 jli...@gmail.com wrote:
Oh. I thought bigtable is the only datastore available on GAE?
On Fri, Nov 27, 2009 at 3:55 PM, Timothy
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
timo...@getintheloop.eu wrote:
I'm not sure about that, but I know for sure that mapper does
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 dchenbec...@gmail.comwrote:
I should have a fix in 30 minutes or so.
On Thu, Nov 26, 2009 at 9:56 AM, Mathias Sulser s...@suls.org wrote:
I think the
Hi,
On Sat, Nov 28, 2009 at 10:10 AM, jlist9 jli...@gmail.com 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
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
I see. Thanks. That explains it.
On Fri, Nov 27, 2009 at 8:34 PM, Atsuhiko Yamanaka
atsuhiko.yaman...@gmail.com
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
Did anyone try to integrate with SSO?
On Sat, Nov 28, 2009 at 12:37 AM, Marcin Jurczuk mjurc...@gmail.com 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 tyler.w...@gmail.com wrote:
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 category.
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
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, so
43 matches
Mail list logo