In the Loc I can do:

If( () => true, "" )

So I can do:

def isLoggedIn_?() = true

If(isLoggedIn_?, "")

But what if I want to pass in a list of roles?

def isInRole_?(List[String]) = true

Now If complains because it expects a parameterless function.

There is probably some easy way around this, but I'm not seeing it...

Chas.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to