This may be a dumb question from a lift novice, but here goes...
I want to post a form to an external url for processing. Specifically,
I have in mind inserting a node into an Apache Sling instance (JCR).
I have a form like so:
lift:Sling.add form=POST action=http://admin:admin@ localhost:/
http://www.slideshare.net/mdesjardins/demystifying-maven - Could someone
add this link in MAVEN wiki?
It helped me to begin with Lift yesterday.
-Original Message-
From: liftweb@googlegroups.com [mailto:lift...@googlegroups.com] On
Behalf Of Axel Rose
Sent: 04 May 2009 03:55
To:
Wow, very nice David!
On May 4, 11:29 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
Folks,
Based on feedback, I've made some enhancements to Lift:
- Template caching is on by default when in Production mode
- Method lookup caching is on by default in Production mode for
Dave, if you need any help with optimizations just let me know.
Br's,
Marius
On May 5, 1:29 am, David Pollak feeder.of.the.be...@gmail.com wrote:
Folks,
Based on feedback, I've made some enhancements to Lift:
- Template caching is on by default when in Production mode
- Method
Um, wow. Very cool.
Chas.
Meredith Gregory wrote:
Lifted, Scalad and lasses,
Recently Martin passed along a little code challenge regarding scalable
abstractions for building a little lambda calculus evaluator. i've
finally put together a 1st draft response. i've still got a lot of
Any reason why not using Scala's combinator parsers? ... or this is
beyond the point of the exercise?
Br's
Marius
On May 5, 4:55 am, Meredith Gregory lgreg.mered...@gmail.com wrote:
Lifted, Scalad and lasses,
Recently Martin passed along a little code challenge regarding scalable
It looks right to me. What's not working? Does the button not get emitted or
is the function not being called?
Derek
On Mon, May 4, 2009 at 9:00 PM, Bryan germ...@gmail.com wrote:
How can I create a widget to render a customized button. This is
probably trivial, but I failed on my first
Marius,
Thanks for the query. Yes, there is a not so subtle point. Take a look at
the
grammarhttp://code.google.com/p/rlambda/source/browse/trunk/src/main/bnfc/rlambda.cf.
To my way of thinking, these are it's advantages.
- Readable (and therefore maintainable)
- Targets the following
Thanks for the reply, Marius.
I just saw your reply and am not sure I fully grasp how this is safe.
What if request A comes in and sets com.bryan.myproject.locationQuery
and starts working on processing the rest of the request. In the
meantime, request B comes in and sets
On Tue, May 5, 2009 at 7:20 AM, Bryan. germ...@gmail.com wrote:
Thanks for the reply, Marius.
I just saw your reply and am not sure I fully grasp how this is safe.
What if request A comes in and sets com.bryan.myproject.locationQuery
and starts working on processing the rest of the request.
Right ... I always found combinator parsers a very nice fit for BNF. I
agree these parser are not trivial but I still like them a lot :)
Br's,
Marius
On May 5, 5:48 pm, Meredith Gregory lgreg.mered...@gmail.com wrote:
Marius,
Thanks for the query. Yes, there is a not so subtle point. Take a
On Mon, May 4, 2009 at 11:33 PM, pravin karne pravinka...@gmail.com wrote:
how th lift:Template.show template=_simple_template / tag works
This tag loads the net.liftweb.example.snippet.Template class. Because this
class is a DispatchSnippet, Lift looks at the PartialFunction returned by
the
On Mon, May 4, 2009 at 8:14 PM, Dan Greening green...@gmail.com wrote:
Thanks, it works! (It is not in Exploring Lift. Who do I lobby to get
it in?)
If we were to put everything in Lift plus where Lift touches the JEE
infrastructure into a book, the book would be about 3,000 pages.
This
On Sun, May 3, 2009 at 3:51 AM, Marius marius.dan...@gmail.com wrote:
Hi,
I'm asking this because SHtml.a is a bit a-typical in the sense of
producing lift:a that will render the ajax link eventually.
This is a legacy of very old Lift and very old CometActors.
I'm cool with deprecating
sweet ! .. I'll take care of that.
On May 5, 7:18 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
On Sun, May 3, 2009 at 3:51 AM, Marius marius.dan...@gmail.com wrote:
Hi,
I'm asking this because SHtml.a is a bit a-typical in the sense of
producing lift:a that will render the ajax
Tim,
I'm not sure what you mean by programatic POST or post to the 3rd
part...,
but it seems a simple, yet necessary use-case to be able to post to
any available
URL and receive a response within the lift framework. Particularly if
one is doing mashups, getting
and storing data, RSS and Atom
On Tue, May 5, 2009 at 9:43 AM, glenn gl...@exmbly.com wrote:
Tim,
I'm not sure what you mean by programatic POST or post to the 3rd
part...,
but it seems a simple, yet necessary use-case to be able to post to
any available
URL and receive a response within the lift framework.
If you're
As per David's remarks, no framework, Lift included, can grab something that
you post to a 3rd party server... Its just not going to your server to be
able to handle it; its going to the 3rd party! Is there a special reason you
thought that lift does this?
My suggestion about the programmatic
Tim,
Ahh...
I see what you mean. Just bypass lift altogether. Now you see why I'm
just a novice lifter.
I suppose the same applies to retrieving data from external sources
(other than a db connection)?
Thanks.
Glenn...
On May 5, 10:13 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
On
Hey Glenn,
Don't worry about being a novice - we've all been there!
What kind of external data did you want to get? If it's service based
e.g salesforce then you can do that with scala inside a lift app.
Describe what you want to do and we'll advise on the best course of
action :-)
Ubuntu 9.04. Maven 2.0.9. Java:
java version 1.6.0_13
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
Would upgrading to Maven 2.0.10 help?
Derek
On Tue, May 5, 2009 at 1:27 PM, Josh Suereth joshua.suer...@gmail.comwrote:
could you try :
cd liftweb
mvn install site-deploy -Prelease
the fully generated site should be generated into
$HOME/.m2/mvn-sites/liftweb
On Tue, May 5, 2009 at 21:17, Derek Chen-Becker dchenbec...@gmail.comwrote:
I'm working on updating the Scaladocs right now and I'm running into issues
Hello List,
I've some more questions about CRUDify! The sources aren't helping me so
much and I really miss some more comments! (sorry)
1.) I wanna change the behaviour for listing items, e.g. I only want
to list items that belong to the logged in user. Is there any method I
can override
Guys, got a very strange problem with lift serving a google map
page
I tore things back to the bear metal example from google, and with
working code in a static html page served by apache, it works fine. I
then paste it into a lift served page, and I get a JS error in the FF
console:
Sorry it is not currenlty supported by (v)scaladoc, but it should. I created
http://github.com/davidB/vscaladoc/issues/#issue/1
So use tag you need (existing, whish,...) and I'll try to add support in
vscaladoc (1.3+, 1.2 will be release next week-end).
On Tue, May 5, 2009 at 22:13, Derek
Tim,
You instincts are correct. Lift is serving the page as XHTML. The mime
type when Firefox is detected is application/xhtml+xml
If you want to disable service as XHTML, set:
LiftRules.useXhtmlMimeType = false
Thanks,
David
On Tue, May 5, 2009 at 1:04 PM, Timothy Perrett
LOL!! Thanks David, after 2 years of Lift its nice to know there is
still stuff to catch me out :-D
You rock.
Cheers, Tim
On May 5, 9:36 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
Tim,
You instincts are correct. Lift is serving the page as XHTML. The mime
type when Firefox is
Cool. The main ones I would use are @return, @param and @see, and it appears
that you support the first two just fine.
Thanks!
Derek
On Tue, May 5, 2009 at 2:31 PM, David Bernard david.bernard...@gmail.comwrote:
Sorry it is not currenlty supported by (v)scaladoc, but it should. I
created
On Tue, May 5, 2009 at 12:35 PM, Tobias Daub hannes.flo...@gmx.li wrote:
Hello List,
I've some more questions about CRUDify! The sources aren't helping me so
much and I really miss some more comments! (sorry)
1.) I wanna change the behaviour for listing items, e.g. I only want
to list
We just can't be half-assed about anything, can we? ;) Seriously, this is
really, really cool. I'm looking forward to seeing how this grows.
Derek
On Mon, May 4, 2009 at 7:55 PM, Meredith Gregory
lgreg.mered...@gmail.comwrote:
Lifted, Scalad and lasses,
Recently Martin passed along a little
Are there tools that let you compare rendered output in a test setting? I
mean, something other than a diff style comparison, since what we're
aiming for is render equivalence as opposed to output equivalence. I mean,
hypothetically speaking, if an optimization changes, say, a color from
#ff
Just to complete the discussion, the error you got (
NS_ERROR_DOM_NOT_SUPPORTED_ERR) indicates that the page is in XHTML
compliance mode in FireFox, but is trying to use the Document.write(...)
JavaScript function, which only exists in HTML. I'm really looking forward
to the day when Google maps
Derek, et al,
Thanks for all the kind feedback. i could use a little help with one thing.
In addition to this project, i've also got
- A project exploring how a relational query language is generated from a
DSL describing typed sets of tuples http://code.google.com/p/relatrope/
- A
Thank you for your benchmarking description.
I have just tested it too.
My results are something around 330 req/s which is superior to previous
results. Great !
The only problem I have encountered is that after something around 2000
requests the whole application stalls and locks and do not
I just checked in my first 0.25% of work on the API. I'm beginning by
tackling the S object, and I got down to the high level session dispatch
functions. The functions aren't in alphabetical order, so let me just list a
few of the functions that I embellished docs on in case anyone wants to
Yeah for sure I knew this was the error but as when I was doing curl I
the text/html response did not corrolate with the error... Lift was a bit
too clever for me then! Haha.
Cheers, Tim
On 05/05/2009 23:30, Derek Chen-Becker dchenbec...@gmail.com wrote:
Just to complete the discussion,
On Tue, May 5, 2009 at 3:23 PM, Daniel Guryca dun...@gmail.com wrote:
Thank you for your benchmarking description.
I have just tested it too.
My results are something around 330 req/s which is superior to previous
results. Great !
The only problem I have encountered is that after
On Tue, May 5, 2009 at 3:07 PM, Derek Chen-Becker dchenbec...@gmail.comwrote:
Are there tools that let you compare rendered output in a test setting? I
mean, something other than a diff style comparison, since what we're
aiming for is render equivalence as opposed to output equivalence. I
38 matches
Mail list logo