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
}
thanks!
--~--~-~--~~~---~--~~
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
liftweb+unsubscr...@googlegroups.com