You can add my Lift app -
http://nofouls.com
On Dec 17, 11:05 pm, Daniel Cer daniel@gmail.com wrote:
Does anyone here have any public Lift powered webapps? If so, would
you mind sharing the URL and what other support components you are
using (e.g. which servlet container Tomcat, Jetty;
Dano (or David),
Care to share what your changes were? I'm facing the same problem
right now with ESME - lots of LiftRules.append* and LiftRules.prepend*
in Boot.scala which will not compile any more - even Googling
LiftRules RulesSeq returns no results at all... :-(
Cheers,
Darren
On Dec 15,
Hey Darren,
Something like this:
// Old and busted
LiftRules.prependDispatch(RestAPI.dispatch)
// New hotness
LiftRules.dispatch.prepend(RestAPI.dispatch)
Lather, rinse and repeat for dispatch, rewrite, etc
Better, or worse?
Ty
On Dec 18, 4:47 pm, Darren Hague dha...@fortybeans.com wrote:
I was redirecting to an error page using
LiftRules.logAndReturnExceptionToBrowser, but when I use a LoanWrapper
to close a EntityManager and an error occurs when closing the entity
manager, LiftRules.logAndReturnExceptionToBrowser doesn't appear to
redirect to my error page. Can anyone think of a
A bit better, thanks - that fixed the *Dispatch calls. Now it's just
the following lines causing a problem:
LiftRules.prependTemplate(User.templates)
LiftRules.appendStatelessDispatch {
case r @ Req(api :: send_msg :: Nil, , PostRequest)
if r.param(token).isDefined =
Darren,
Any LiftRules.append* or LiftRules.prepend* becomes LiftRules.*.append or
LiftRules.*.prepend
e.g.: LiftRules.prependTemplate(User.templates) -
LiftRules.template.prepend(User.templates)
On Thu, Dec 18, 2008 at 2:39 PM, Darren Hague dha...@fortybeans.com wrote:
A bit better, thanks
Caught the rewrite one too, leaving:
LiftRules.prependTemplate(User.templates)
LiftRules.appendStatelessDispatch {
case r @ Req(api :: send_msg :: Nil, , PostRequest)
if r.param(token).isDefined =
() = RestAPI.sendMsgWithToken(r)
}
http://github.com/blog/272-github-pages
--j
--~--~-~--~~~---~--~~
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
David,
error: value template is not a member of object
net.liftweb.http.LiftRules
I removed net/liftweb from my Maven repo about an hour ago, so I'm
pretty sure I'm up to date with the latest build.
Cheers,
Darren
On Dec 18, 10:42 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
Darren,
Very interesting
On Thu, Dec 18, 2008 at 4:45 PM, Jorge Ortiz jorge.or...@gmail.com wrote:
http://github.com/blog/272-github-pages
--j
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to
Apache ESME source is now fixed building cleanly again - thanks to
David for this.
Cheers,
Darren
On Dec 18, 10:48 pm, Darren Hague dha...@fortybeans.com wrote:
David,
error: value template is not a member of object
net.liftweb.http.LiftRules
I removed net/liftweb from my Maven repo
I'd put a try/finally around the EM.closeEM call so that it does not impact
the stuff that's being rendered to the browser. Don't let the exception in
the finally block propogate.
On Thu, Dec 18, 2008 at 1:58 PM, Oliver ola...@gmail.com wrote:
I was redirecting to an error page using
Matt,
Do you mind if I list your name next to nofouls.com? It would just be your
name, Matt Hopkins, and not your e-mail address or anything like that.
-Dan
On Thu, Dec 18, 2008 at 6:53 AM, Matt Hopkins jomyfriendatw...@gmail.comwrote:
You can add my Lift app -
http://nofouls.com
On Dec
I started on that path, and thought I could redirect with something like
Full(span some html that redirects to the error page...
/span).asInstanceOf[T]
It feels like a big hack, even if I could get it working and I was a
little worried about creating
a redirection loop.
I've created a static
14 matches
Mail list logo