If you want to alter the Reason-Phrase, you can already do that - objects like
NotFoundResponse are just helpers on InMemoryResponse... nothing stopping you
adding your own helpers that set headers with customised reason codes; this
should give you what you what. I haven't managed to find an
We also need to change the liftweb.net site... dont forget that.
Cheers, Tim
On 6 Feb 2010, at 21:17, Indrajit Raychaudhuri wrote:
Folks,
Following David's announcement about moving our ticketing system to
Assembla [1], the migration is complete and we have now completely
moved from
How odd - why dont you just match on the req unapply rather that this awkward
sub match?
You need to do something like:
LiftRules.httpAuthProtectedResource.prepend {
case Req(restricted :: _,_,_) = Full(AuthRole(admin))
}
LiftRules.authentication =
Actually, the reason phrase is not a normal HTTP header, but part of
the status line:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1
Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
Examples:
HTTP/1.1 200 OK
HTTP/1.1 404 The user with id 8 does not exist
The only
Timothy Perrett timo...@getintheloop.eu writes:
We also need to change the liftweb.net site... dont forget that.
It's changed already (at least the frontpage link)I think David
wrote that earlier.
/Jeppe
--
You received this message because you are subscribed to the Google Groups
Lift
Hi,
I'm trying out Lift openid and created a very simple app with just a
login form:
def renderForm(xhtml: NodeSeq) : NodeSeq = {
SimpleOpenIdVendor.loginForm
}
This works if I use google or yahoo OpenId endpoints, but if I enter a
myopenid url such as nejsum.myopenid.com, after
Posting here even though it's not really a support issue:
I've just begun reading the getting started guide and
tripped over this minor(?) inconsistency: I like the principle of
having sane defaults and quoteyou don’t need to write anything that
isn’t explicitly necessary for the task at
Of course we thought of that already. You can do:
mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/
That sound help you out. Moreover, SBT is not so ugly...
Cheers, Tim
On 7 Feb 2010, at 14:10, mjy wrote:
Posting here even though it's not really a support issue:
I've just
Hello guys,
A common pattern to avoid duplicate form submission is to redirect after
POST to a view of the result (
http://en.wikipedia.org/wiki/Post/Redirect/Get )
Does Lift as something built-in for that, and if not, what would be the
best way to build it ?
Thanks,
--
Francois ARMAND
--
Heiko Seeberger
Work: weiglewilczek.com
Blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net
--
You received this message because you are subscribed to the Google Groups
Lift group.
To post to
Would be nice if you could have written an email body - subject only
emails bug the ass out of me ;-)
You mean like: http://scala-tools.org/repo-snapshots/net/liftweb/ or
the hudson builds into nexus?
Otherwise, you'll have to clarify exactly what your asking (herewith
the problem with
Of course its possible.
def myMethod = {
def submitHandler(){
// after post, redirect
S.redirectTo(/my/page)
}
bind(., submit - SHtml.submit(submitHandler))
}
Cheers, Tim
On Feb 7, 2:53 pm, Francois fan...@gmail.com wrote:
Hello guys,
A common pattern to avoid duplicate
Hey Justin,
That sounds like a very cool idea. Do you know what the organization
has to do?
On Feb 6, 7:23 pm, Justin Reardon justin.rear...@gmail.com wrote:
Hi folks,
I'm a Computer Science student at the University of Waterloo, looking to
participate in Google Summer of Code program this
It would require one of the committers to essentially act as a mentor - someone
who knows Lift very well would need to mentor the candidate and dedicate a fair
amount of time to the program. We looked at doing it last year if memory
serves...
Cheers, Tim
On 7 Feb 2010, at 17:29, Peter
The archetypes' Boot use List(index), hence my guess (since I though you
tried Jeppe's suggestion).
Then again they use an actual index.html. In any case / maps to index, I
believe.
-
Jonathan Fergusonj...@spiralarm.com wrote:
Is there are reason one or
Are there Maven *archetypes* for snapshot or milestone releases?
Heiko
On Sunday, February 7, 2010, Timothy Perrett timo...@getintheloop.eu wrote:
Would be nice if you could have written an email body - subject only
emails bug the ass out of me ;-)
You mean like:
Thank you for a great web framework!
Thanks tons Indrajit for getting this done!
-
David Pollakfeeder.of.the.be...@gmail.com wrote:
On Sat, Feb 6, 2010 at 12:12 PM, Indrajit Raychaudhuri
indraj...@gmail.comwrote:
Go ahead! create tickets in Assembla.
The blank archetype uses retrotranslator? Why?
-
Luke Nezdalne...@gmail.com wrote:
Hello -
I am just getting started with Lift and used the Hello, World
archetype lift-archetype-blank (tried 1.1-M8 2.0-M1) and both fail
to build successfully from the
Since Map implements Seq you can probably remove the '.toSeq'.
-
Ross Mellgrendri...@gmail.com wrote:
JsObj(map.toSeq: _*) ?
-Ross
On Feb 5, 2010, at 3:53 PM, Peter Robinett wrote:
I thought it would be something that already exists but I can't for
the
If you are using a StatefulSnippet call redirectTo(S.uri) on in to load the
same page with the same snippet instance.
-
Francoisfan...@gmail.com wrote:
Hello guys,
A common pattern to avoid duplicate form submission is to redirect after
POST to a view of
In reverse order:
Re #2, (a) that would create a two-way dependency between TimeHelpers and
ConversionRules--is that desirable; (b) and thus call into question the
decision to put ConversionRules in webkit not util. (c) Still, it would be an
indirect branch from MappedDate etc. to
Thank you for responding, and I can use your advice to make my code a
little less verbose and concise. Alas, it did not address my core
issue of forcing authentication. The behavior is exactly the same.
If I go to a protected resource with a Role requirement, then
authentication and an
Yes, there were posts mentioning the possibility the last two years even, but
no one appeared to follow up on them.
Google hasn't got the documentation up for 2010 yet (shortly they say), but
it's supposed to be pretty much the same as last year. A some point in early
March interested
OK, I think I found the source code that is the culprit. From
LiftServlet.scala:
http://github.com/dpp/liftweb/blob/master/framework/lift-base/lift-webkit/src/main/scala/net/liftweb/http/LiftServlet.scala
private def authPassed_?(req: Req): Boolean = {
val checkRoles: (Role, List[Role])
Hello. Why do Mapper's toForm implementations use S.fmapFunc directly rather
than using SHtml? Is it not duplicate code?
Thanks.
--
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
Yeah you're very correct. It's unfortunate, but I think since it's deprecated
in the container we should probably not add support for it. I can't believe
they deprecated it for the reason they did, but there it is.
-Ross
On Feb 7, 2010, at 8:16 AM, Erkki Lindpere wrote:
Actually, the reason
So if I get around to it would it indeed be preferable to point it to SHtml?
-
David Pollakfeeder.of.the.be...@gmail.com wrote:
On Sun, Feb 7, 2010 at 12:47 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Hello. Why do Mapper's toForm implementations use
I mentored Greggory Brown (Ruport now Ruby Reports) for GSoC in 2006. It
was an excellent experience for me.
I would be willing to mentor a single student doing Lift work if I could
time-box it to 3 hours/week and if there was the right chemistry between me
and the student.
I do not have the
On Sun, Feb 7, 2010 at 2:30 PM, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
Hi,
I'm trying out Lift openid and created a very simple app with just a
login form:
def renderForm(xhtml: NodeSeq) : NodeSeq = {
SimpleOpenIdVendor.loginForm
}
This works if I use google or yahoo
On Sun, Feb 7, 2010 at 1:01 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
So if I get around to it would it indeed be preferable to point it to
SHtml?
Changing the code is one of the lowest priorities I could imagine. I would
say that closing the stuff you've had on review board for 1
On Sun, Feb 7, 2010 at 10:43 AM, Heiko Seeberger
heiko.seeber...@googlemail.com wrote:
Are there Maven *archetypes* for snapshot or milestone releases?
There are archetypes generated for both snapshot and milestone releases.
See
I agree Ross... I would be very reluctant to have Lift rely on some deprecated
method in the servlet spec - even if it is in servlet 3.0.
Cheers, Tim
On 7 Feb 2010, at 20:48, Ross Mellgren wrote:
Yeah you're very correct. It's unfortunate, but I think since it's deprecated
in the container
Sorry guys, tonight I seem unable to ask precise questions.
What I would like to know: Is it possible to get snapshot or milestone
archetypes from an archetype catalog? I tried scala-tools.org, but found
only version 1.0 of archetype-basic. Is there another catalog containing 2.0
milestones or
Sure. It came up as part of those.
The RB about TableEditor has been waiting for a Ship it for a while, and the
one about ConversionRules is pretty much done locally -- some questions on
Mapper's usage of it are on the list waiting for a good answer.
-
David
Ok. The feature is not really that important for me, just something
that would be nice to have. I think some hack could be made with
sendError(int, String) and web.xml config, but that would be worse
than using the deprecated method.
Erkki L
On Feb 7, 11:20 pm, Timothy Perrett
Please open a defect here http://www.assembla.com/spaces/liftweb/tickets
Br's,
Marius
On Feb 7, 10:44 pm, aw anth...@whitford.com wrote:
OK, I think I found the source code that is the culprit. From
LiftServlet.scala:
http://github.com/dpp/liftweb/blob/master/framework/lift-base/lift-we...
36 matches
Mail list logo