I'll let Tim provide you a concrete code example but AFAIK there is a
lift-authetication example in examples?
A few points:
1. We support both BASIC and DIGEST HTTP authentication
2. First, to apply authentication you need to specify which resource
(by URI) is a protected resource. Here we say
Yes, that makes sense. Apart from the usual configuration and filtering
activities, downloading and merging the Cappuccino stuff during
archetype:generate could be interesting addition.
Cheers, Indrajit
On 05/09/09 1:31 AM, Timothy Perrett wrote:
Right now there is *a lot* of deep changes
On Sep 4, 3:53 pm, Peter Robinett pe...@bubblefoundry.com wrote:
Thanks, Charles. I had totally forgotten about the book and only
looked at it after I wrote the post only to discover that they cover
all these topics quite well.
:)
Peter
On Sep 4, 11:29 am, Charles F. Munat c...@munat.com
I think we'll have to do the archetype outside of the main Lift
repository/distribution (although it would still be available on Maven).
Cappuccino has a ton of LGPL code in it and itself is LGPL. I'd rather not
mix licensing models in the stuff we keep in the main Lift repository.
On Sat, Sep
Marius,
I appreciate your reply, but the question I asked regards useage of
the Role trait in what Charles
refers to as a Role-Based Access Control (RBAC) system. I could not
find this addressed in the
Lift Book and, no, there is no illuminating code in the lift-
authentication example. It's
Glenn, its simply not designed to do what your asking - however, the
most lift way of doing access control is with SiteMap, so
potentially look into that as a solution. You don't detail your needs,
but we've had this conversation several times on-list so just look
through the archives and that
Fair do's lets certainly make it a wiki article however because im
sure many people will be interested in this.
Cheers, Tim
On Sep 5, 2:58 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
I think we'll have to do the archetype outside of the main Lift
repository/distribution
This is very simple question: Is there a way to delete many Mapper
entries at once given a List of ids? I'd rather not have to do
something like the following if I don't have to:
List(... some ids ...).foreach(id = {
MyModel.find(By(MyModel.id, id)).map(myModel = {
myModel.delete_!
})
})
Hello,
In an effort to help move from wiki.liftweb.net to the github wiki
(http://wiki.github.com/dpp/liftweb), I've combed through the
wiki.liftweb.net site and found a handful of articles that might be
worth migrating to the github wiki:
http://wiki.liftweb.net/index.php/FAQ
I'd use ActorPing also. Here's a quick example of the code I'd write:
import net.liftweb._
import http._
import util._
import Helpers._
import scala.actors._
import scala.actors.Actor._
case class UpdateUsers()
object UserManager extends Actor {
this.start
Indeed. it's important for Lift archetypes to be able to 'pull' the
prerequisites from 'known places' (great if available in a maven repo,
explicitly fetch otherwise).
This Cappuccino archetype presents a scenario where we would certainly
have to do this.
Licensing being one strong reason, the
Thanks Xavi
--~--~-~--~~~---~--~~
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
MetaMapper.bulkDelete_!! and the ByList query parameter should do what
you want.
On 5-Sep-09, at 13:31 , Peter Robinett wrote:
This is very simple question: Is there a way to delete many Mapper
entries at once given a List of ids? I'd rather not have to do
something like the following if
David,
Thanks, that's very helpfully pulled me back from the abyss :-)
Stuart
On Sep 4, 11:28 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
Lift does not yet compile under 2.8.
I just had lunch with PaulP and will be working on a Lift branch that does
work under 2.8, but it's going
Perfect, thanks!
Peter
On Sep 5, 11:18 am, Justin Reardon justin.rear...@gmail.com wrote:
MetaMapper.bulkDelete_!! and the ByList query parameter should do what
you want.
On 5-Sep-09, at 13:31 , Peter Robinett wrote:
This is very simple question: Is there a way to delete many Mapper
Hello,
Would it be possible to add the following findComet override to LiftSession?
def findComet(theType: String, name: String): Option[CometActor] =
synchronized { asyncComponents get (theType, name) } // I'm not sure
if this is the correct implementation, but you get the idea
I'd like to
Stack overflow
trait X[T:LongKeyedMapper[T]] {this: T = }
def f[T: Mapper[T]](table: T with X[T]) = table match {
case t: X[T] =
var l: List[T] = Nil
l ::= t.create
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
17 matches
Mail list logo