package main.scala.com.liftworkshop.snippet
import scala.xml.{NodeSeq}
import com.liftworkshop._
import model._
class Util {
def in(html: NodeSeq) =
if (User.loggedIn_?) html else NodeSeq.Empty
def out(html: NodeSeq) =
if (!User.loggedIn_?) html else NodeSeq.Empty
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---