Is there a way to set the authToken in the instance rather than
globally?
On Sep 23, 12:29 pm, Tim Perrett [EMAIL PROTECTED] wrote:
Hey guys,
Ok, i've abstracted it all out into a class which you call a little
like this:
var paypal: PayPal = new PayPal(sandbox)
to be used on the meta object
(the liftbook example shows the trait on the class)?
Thanks,
Jon
--~--~-~--~~~---~--~~
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
I've been working on the provider side of oauth to authenticate api
calls.
I was looking at the http-authentication example, but I'm not sure if
want to go that route. I would like to be able to specify
authentication for paths in the same place that I define them (in a
DispatchPF).
I'd also
no idea what the problem was.
Their deployment mechanism is war/ear based (ear built locally, then
uploaded). It would be cool if they supported standard mvn layouts
and could just build your war from source. I'm on a 512kb max upload
and lift-example took 5 minutes to deploy.
- Jon
On Jun 24
to use all the lift goodies out of the
box.
- Jon
On Jun 29, 6:58 am, marius d. marius.dan...@gmail.com wrote:
On Jun 29, 1:13 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Steven,
Welcome to lift.
Lift doesn't use the JSESSIONID in the URL... that is, lift does not
require
this message:
The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
exist ...
The PocketChange problems also occurred with the included maven.
Sincerely,
Jon Kleiser
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi,
I've just started to look at Lift, and I have played with the sample
app's like todo and PocketChange. Now I would like to try some simple
things on an existing Orcale database. Is that possible with Lift 1.0?
Are there any examples or descriptions available?
/Jon
I've now logged it as an issue.
/Jon
--~--~-~--~~~---~--~~
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
liftweb
I'm using Lift 1.0.
/Jon
On Jul 23, 5:08 pm, Derek Chen-Becker dchenbec...@gmail.com wrote:
Based on this line:
oracle.jdbc.driver.
OraclePreparedStatement.setObject(OraclePreparedStatement.java:9316)
I have a feeling that we're handing an Object to the driver that doesn't map
correctly
Hi,
Is it possible to dump/log all SQL statements going to the database,
so that one can see all the SELECTs, INSERTs etc.?
/Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group
I was interested in. ;-)
/Jon
--~--~-~--~~~---~--~~
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
liftweb+unsubscr
Hi Derek,
For me this sounds fine, but then I'm still a Lift and Scala newbie. I
think the best way is just to try it. ;-)
Whenever you have something that I can try, let me know.
/Jon
On Jul 23, 10:02 pm, Derek Chen-Becker dchenbec...@gmail.com wrote:
OK, I think that this is happening
) /showPersons took 1418 Milliseconds
/Jon
On Jul 24, 12:27 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
...
Strange...On 1.1-SNAPSHOT I use essentially the same and get this:
DB.addLogFunc ((q, t) = Log.info(Query(+t+): +q))
INFO - Query(46): SELECT users.id, users.firstname, users.lastname
I should be able to do the pulling and building myself, but a few
directions on how to do it will be necessary. The pulling/building I
can try quite soon, but the actual testing may have to wait a few
days. (I'll let you know.)
/Jon
On Jul 24, 3:41 pm, Derek Chen-Becker dchenbec...@gmail.com
.
When I click at The CircleShare Blog, I get this:
Services for this domain have been discontinued
Has CircleShare moved, or have they cashed in?
/Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group
From http://groups.google.com/group/liftweb/msg/a66e58b85523a1d9
Add to Boot:
+// Do not insert Javascript-based GC
+LiftRules.enableLiftGC = false;
+
+// Do not include Ajax include
+LiftRules.autoIncludeAjax = _ = false;
On Aug 4, 8:38 pm, Naftoli Gugenheim
I'd like to do something like
def findAll[T : LongKeyedMapper[T],M : LongKeyedMetaMapper[T]]
(metaObject: M): List[T] = {
metaObject.findAll
}
val users:List[User] = findAll(User)
val foos:List[Foo] = findAll(Foo)
But the compiler won't have it.
] = findAll[User,User](User)
-- type arguments [com.x.lift.model.User,com.x.lift.model.User] do
not conform to method findAll's type parameter bounds [T :
net.liftweb.mapper.LongKeyedMapper[T],M :
net.liftweb.mapper.LongKeyedMetaMapper[T]]
thanks,
jon
On Aug 6, 3:12 pm, Ross Mellgren dri...@gmail.com
...@gmail.com wrote:
What complaint does the compiler have?
-Ross
On Aug 6, 2009, at 2:06 PM, jon wrote:
I'd like to do something like
def findAll[T : LongKeyedMapper[T],M : LongKeyedMetaMapper[T]]
(metaObject: M): List[T] = {
metaObject.findAll
}
val
excellent!
thank you both.
- jon
On Aug 6, 3:47 pm, Ross Mellgren dri...@gmail.com wrote:
Naftoli's suggestion is good, but I think your problem now is that
User is not : LongKeyedMapper, it's : KeyedMapper. Here's one that
compiles:
object Test {
def findAll[T](m
with javarebel. It works
well when changing non-singletons-- Better than using jetty on a
scanInterval which leaks permgen when it reloads the context.
- Jon
On Aug 6, 6:27 pm, Jonathan A Ferguson j...@spiralarm.com wrote:
See if the following configuration helps you as it solved most of my
Hi David,
What strategies would you employ to protect yourself against such an
attack?
Thanks
- Jon
On Aug 7, 9:30 am, David Pollak feeder.of.the.be...@gmail.com wrote:
It's up. Please try again.
Occasionally, the site gets session-bombed (some external system creates
thousands of new
snippet.
Thanks,
Jon
--~--~-~--~~~---~--~~
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
liftweb+unsubscr
submit.
- Jon
--~--~-~--~~~---~--~~
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
liftweb+unsubscr
?
-
David Pollakfeeder.of.the.be...@gmail.com wrote:
On Mon, Aug 10, 2009 at 1:44 PM, jon jonhoff...@gmail.com wrote:
Hi,
I have a template with the following
lift:Snippit
t:name shorten=true /
t:foo form=POST
form:name/
...
/t:foo
wanted the JS code to vary depending on input from the
whole form submission.
On Aug 11, 8:17 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Tue, Aug 11, 2009 at 3:31 PM, jon jonhoff...@gmail.com wrote:
Hi,
I'm not sure if this behavior already exists via some other mechanism
)))
}
}
- Jon
--~--~-~--~~~---~--~~
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
liftweb+unsubscr...@googlegroups.com
That is surprising...
revised function:
def ajaxForm(body: NodeSeq,func: ()=JsCmd) = {
SHtml.ajaxForm(body ++ SHtml.hidden(func))
}
very cool!
thanks,
- jon
On Aug 12, 11:51 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Wed, Aug 12, 2009 at 8:14 AM, jon jonhoff
Thanks Ross! that works.
On Aug 12, 1:59 pm, Ross Mellgren dri...@gmail.com wrote:
BindHelpers.currentNode is a Box[NodeSeq] that gives you the node that
bind is currently replacing.
-Ross
On Aug 12, 2009, at 11:02 AM, jon wrote:
Hi,
I actually solved by wrapping the node i
One possibility is to do Baz.findAllBy{PreparedStatement,InsecureSql}
(section 6.3.2 of lift book)
I am also curious if there is a safe way to construct a join.
- Jon
On Aug 13, 3:41 pm, harryh har...@gmail.com wrote:
I have 3 classes like so
class Foo extends LongKeyedMapper[Foo] with IdPK
Hi,
How do I tell lift to serve /foo.html directly (without parsing xml
or adding javascript) where foo.html is a file that lives in my
webapp folder? I still want lift to process the rest of my html
files.
- Jon
--~--~-~--~~~---~--~~
You received this message
Hi,
The AutoComplete widget leaves a trailing , in the javascript that
causes IE to complain and not function. Or, at least i think that's
the only reason that it's not functioning in IE.
Has anyone else noticed this problem?
AutoComplete.scala:124
- Jon
btw, i removed the trailing , and confirmed that it fixes the IE
problem.
- jon
On Aug 19, 3:38 pm, marius d. marius.dan...@gmail.com wrote:
If no other committer wants to look into this I'll look on it. Tim,
would this interest you ?
Br's,
Marius
On Aug 19, 9:13 pm, jon jonhoff
Hi Jeppe,
I did something similar with the following code:
trait HasUser [T : HasUser[T]] extends KeyedMapper[Long, T]{
self: T=
object user extends MappedLongForeignKey(this, User) {
override def dbColumnName = user_id
}
}
trait HasUserMetaMapper[T : HasUser[T]] {
/sparklines.min.js}/
{
Script(OnLoad(sparkExp(id, graphStyle, data, opts)))
}
/head
}
def toJsExp(id: String, graphStyle: SparklineStyle.Value, data:
JsArray, opts: JsObj): JsExp = JsRaw(
new + graphStyle + ( + id.encJs + , + data.toJsCmd + , +
opts.toJsCmd + ).draw())
- Jon
Hi,
I think the _showAllTemplate should wrap the header and footer rows in
thead and tfoot blocks respectively so that the table plays nice
with the TableSorter widget.
- Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
You could also do this:
trait HasCreated [T : HasCreated[T]] extends KeyedMapper[Long, T] {
self: T =
object created_at extends MappedDateTime(this)
}
//mix into your meta object:
trait HasCreatedMetaMapper[T : HasCreated[T]] {
self: T with LongKeyedMetaMapper[T] =
import
Hey,
Just wondering if there are plans to create a new milestone sometime
soon, or if there is some other way to freeze my lift libraries to a
stable build of 1.1-SNAPSHOT while still using maven to manage the
dependencies.
- Jon
--~--~-~--~~~---~--~~
You
Hi all,
If you happen to be developing under windows you will notice that mvn
jetty:run locks files and prevents editing while the server is
running. Super annoying. The problem is that jetty memory maps files
by default and windows locks memory mapped files. The solution is to
turn off the
Done:
http://wiki.github.com/dpp/liftweb/how-to-fix-file-locking-problem-with-jettyrun-in-windows
On Sep 7, 1:49 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Jon, good stuff - perhaps write this up on the wiki:
http://wiki.github.com/dpp/liftweb
Cheers, Tim
On Sep 7, 6:09 pm, jon
/
div
amp;
©
quot;
»
lt;
gt;
/div
The rendered characters are problematic in IE7. A fix or workaround
would be much appreciated.
Thanks,
- Jon
--~--~-~--~~~---~--~~
You received this message because
(makeUtf8) in Boot. And the page
includes ?xml version=1.0 encoding=UTF-8?
Any ideas?
Thanks,
Jon
On Sep 8, 9:26 am, David Pollak feeder.of.the.be...@gmail.com wrote:
On Mon, Sep 7, 2009 at 11:38 PM, jon jonhoff...@gmail.com wrote:
Hi,
I've noticed that some special char xml tags are being
Mailer.authenticator = Full(new Authenticator(){
override def getPasswordAuthentication = new
PasswordAuthentication(f...@foo.com,bar)
})
Mailer.buildProps would return the Properties the Mailer is currently
using.
- Jon
On Sep 8, 2:29 pm, Tim Nelson tnell...@gmail.com wrote:
You need to set
this should be the default?
Thanks!
On Sep 8, 2:45 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
On Tue, Sep 8, 2009 at 10:37 AM, jon jonhoff...@gmail.com wrote:
Ah, IE7 seems to be confused about the character encoding of the
page. When the encoding is set to Auto Select it chooses
Hi,
I have my js and css in my webapp directory and for a long time I had
been blissfully assuming that everything was nicely minified in my
deployed wars. So, I was very shocked to notice that although yui
compressor appears to be doing its magic during the compile stage, its
output is
Is this ok?
$ curl -I demo.liftweb.net
HTTP/1.1 200 OK
Server: nginx/0.6.32
Date: Tue, 15 Sep 2009 06:37:32 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=4ybw6k5861ab;Path=/
Content-Length: 8061
Expires: Tue, 15
Hi,
Is anyone running lift behind apache with proxy_balancer? I'm trying
to get that setup, but seeing a really odd problem where the
javascript on the page seems to cause continuous reloading on some
pages. I haven't yet fully investigated the problem, but am wondering
if anyone has some
the problem was with the config below,
though the duplicate ProxyPass / balancer://cluster/ was probably
not helping
- Jon
On Sep 16, 7:05 pm, jon jonhoff...@gmail.com wrote:
Hi,
Is anyone running lift behind apache with proxy_balancer? I'm trying
to get that setup, but seeing a really odd
application, but have forked to
speak json and added a few extra calls.
- Jon
On Sep 15, 8:02 pm, Keith K quasike...@gmail.com wrote:
I don't see any thing obviously wrong in the facebook package's method
def genSignature(allParams: List[(String, Any)], secret: String).
Wish I did!
-Keith
Is there a syntax problem in one of your javascript files?
On Oct 5, 1:23 pm, Peter Robinett pe...@bubblefoundry.com wrote:
Hi all,
I've been compiling and running my Lift app on my personal machine
without any problems but when I try to run it on another machine
(where it had previously
to your MAVEN_OPTS env variable)
I would also suggest looking into sbt as the continuous compilation is
much more robust than scala:cc (it keeps track of dependencies and
will recompile the entire tree). The only downside is there's no yui
compressor plugin, yet.
- Jon
On Oct 8, 2:16 pm
from source.
Thanks,
Jon
--~--~-~--~~~---~--~~
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
liftweb+unsubscr
Woo! Updating now...
On Oct 8, 8:25 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Charles,
Thanks for spinning another build. I owe you a beverage or three.
The rest of you committers, it's time to dump all those pent-up,
review-board approved changes on master.
Thanks,
David
(MetaMapper.scala:228)
at net.liftweb.mapper.MetaMapper$class.findAll(MetaMapper.scala:267)
On Oct 8, 9:22 pm, jon jonhoff...@gmail.com wrote:
Woo! Updating now...
On Oct 8, 8:25 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Charles,
Thanks for spinning another build. I owe you
thanks: http://github.com/dpp/liftweb/issues/#issue/91
On Oct 8, 10:21 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Thu, Oct 8, 2009 at 7:01 PM, jon jonhoff...@gmail.com wrote:
Uh, oh,
Crud. Can you open a ticket with a repro case and I'll add it to the test
suite and make
-license/
- Jon
On Oct 8, 10:18 pm, Alex Black a...@alexblack.ca wrote:
Hi Jon,
I haven't narrowed it down to being after a context reload or not.
I'll try what you suggested and turn off jetty's reload and use
javaRebel instead.
Where would I set those JVM flags, should those go
this should work:
def post(url:URL, toPost:String):String = url.openConnection match {
case conn: HttpURLConnection = {
conn.setRequestMethod(POST)
conn.setDoOutput(true)
conn.connect
conn.getOutputStream.write(toPost.getBytes())
oh, if you want to parse directly into xml replace
Source.fromInputStream(conn.getInputStream).getLines.mkString
with
XML.load(conn.getInputStream)
On Oct 14, 2:32 pm, jon jonhoff...@gmail.com wrote:
this should work:
def post(url:URL, toPost:String):String = url.openConnection match
what version of Lift are you using? query was a string until fairly
recently on 1.1-SNAPSHOT
On Oct 14, 11:57 am, Marcin Jurczuk mjurc...@gmail.com wrote:
Hello,
I'm trying to dump SQL queries because I have weird error when using
SQLServer (syntax error near 'LIMIT') using following code in
M7? Sorry, I didn't notice until today.
Thanks,
Jon
--~--~-~--~~~---~--~~
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
That would be great. Would it also be published to the scala-tools
repo?
On Nov 4, 1:18 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
On Wed, Nov 4, 2009 at 10:02 AM, jon jonhoff...@gmail.com wrote:
Hi,
I just noticed OrderBy statements cause Inner selects to break in h2:
I
Wow, congrats!
On Nov 4, 1:46 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
On Wed, Nov 4, 2009 at 10:36 AM, jon jonhoff...@gmail.com wrote:
That would be great. Would it also be published to the scala-tools
repo?
Dunno. Got to figure out how to get it published. But we can
I just verified that the newer h2 fixes the problem. Thanks for
investigating!
On Nov 5, 6:33 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
On Wed, Nov 4, 2009 at 10:02 AM, jon jonhoff...@gmail.com wrote:
Hi,
I just noticed OrderBy statements cause Inner selects to break in h2
Hi,
I'm currently adding a uniqueness requirement to a field, but there
are duplicate entries (for empty string) in my database already.
Currently valUnique maps each match it found to a FieldError, but
should probably return one FieldError regardless of how many matches
it finds.
- Jon
http://github.com/dpp/liftweb/issues/#issue/179
On Nov 12, 6:16 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
Could you open a ticket for it?
On Wed, Nov 11, 2009 at 11:53 AM, jon jonhoff...@gmail.com wrote:
Hi,
I'm currently adding a uniqueness requirement to a field
project:
http://code.google.com/p/simple-build-tool/wiki/WebApplicationExample
get your free javarebel license here:
http://www.zeroturnaround.com/scala-license/
- Jon
On Nov 17, 10:53 pm, Chris Lewis burningodzi...@gmail.com wrote:
I can't say I enjoy eclipse for scala code, but did you make sure
I think you could do: User.findAllByInsecureSql(exec dbo.GET_USERS,
IHaveValidatedThisSQL(me, 19 Nov 2009)). That would return a List
[User]
On Nov 19, 6:23 am, Marcin Jurczuk mjurc...@gmail.com wrote:
Hi group,
Is there a way for nice support for stored procedures in Mapper
Framework.
Let
if this
would be interesting enough to add to Lift in a more comprehensive way
(so that it works for all JsCmds that render NodeSeqs)?
Here's what I got so far: http://gist.github.com/247425
- Jon
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group
: + path.mkString(/)))
Br's,
Marius
On Dec 2, 8:40 pm, jon jonhoff...@gmail.com wrote:
Hi,
It would be cool if when I did something like this:
SHtml.a(()= SetHtml(id, findAnyTemplate(List(foo)).open_!))
The script tags within the foo template were filtered out and the
the contained
Thanks for the warm welcome! Lift's been super productive for me and
I'm happy to have the oppurtunity to give back.
On Dec 2, 6:56 pm, Timothy Perrett timo...@getintheloop.eu wrote:
Welcome Jon!
Its new-committer-o-rama!! I need to get on top of the current team list to
revise the site
of the
JSON response?
I'll also try to get some feedback from the jQuery forum.
Thanks,
Jon
On Feb 3, 2010, at 2:21 PM, Jonathan Hoffman wrote:
Hi,
There is a problem with making jsonCalls which return JSON with anonymous
functions. I've created a very simple reproducible
That's a very simple example, but imagine a more complex situation
where you want to have polymorphic functions on a list of results. Or
where the functions are lift ajax calls.
Like this:
[{name:marius, poke:function(){liftAjax...}}, {name:dpp,
poke:function(){liftAjax...}}]
- Jon
On Feb 3, 3
comments and RB.
- Jon
On Feb 5, 2010, at 10:35 AM, Leo Lännenmäki wrote:
Hi,
I have only tried to do a couple of things with theFacebookmodule
(I'm using 2.0-M1) and I have gotten some of the stuff to actually
work :)
Photo upload would be something like this:
import
frameworks.
Hope this list doesn't mind me peppering it with noob questions as I
spend the next week or two seeing if I can quickly recode my app with
lift.
thanks, Jon
On Feb 28, 6:21 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Sat, Feb 28, 2009 at 2:37 PM, Ikai Lan ikai
if I can get a lift version of my app http://shellshadow.com done in a
few weeks, I could go for it.
I am very happy to release the source to the rails, merb, and lift
version so folks would have a real app to compare.
Jon
On Mar 1, 4:49 pm, David Pollak feeder.of.the.be...@gmail.com wrote
this and I have to
restart the server to test each change?
thanks, Jon
--~--~-~--~~~---~--~~
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
Does the eclipse plugin support the scala interactive shell?
I would like to be able to develop my lift app in eclipse and
interactively test model and controller behavior with the shell.
How do others do this with lift??
thanks, Jon
--~--~-~--~~~---~--~~
You
I see what you mean. Just tried it and the shell cranks up but
doesn't seem to work at all.
I'm on OS X 10.5.6
typing :help doesn't work
typing 1 + 2 also doesn't do anything.
any idea when you might have a new release?
Jon
On Mar 1, 5:36 pm, Josh Suereth joshua.suer...@gmail.com wrote
?
Jon
On Mar 2, 11:36 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On Mon, Mar 2, 2009 at 7:54 AM, Jon Hancock shellsha...@gmail.com wrote:
David,
I'm happy to contribute. I have a beginner's mind at the moment which
may help.
Either I'm missing huge sections of the wiki
will do. first need someone, David?, to set it up for me as I don't
have page create rights (at least I can't see that my new account
does).
Jon
On Mar 2, 5:50 pm, Charles F. Munat c...@munat.com wrote:
Jon,
Can you post a link to this page when you have it set up?
Thanks,
Chas.
Jon
(QueuedThreadPool.java:520)
--
What can that Invalid column type be indicating?
I'm using Lift 1.0.
/Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to liftweb
jars are? (I may want to switch back to standard Lift 1.0 soon
afterwards.)
/Jon
--~--~-~--~~~---~--~~
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
82 matches
Mail list logo